php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #68157 Editor does not work as expected when going into it from the PHP manual pages
Submitted: 2014-10-05 12:02 UTC Modified: 2020-02-03 18:12 UTC
From: ktretyak@php.net Assigned: yannick (profile)
Status: Closed Package: Online Doc Editor problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2014-10-05 12:02 UTC] ktretyak@php.net
Description:
------------
Currently Php Docbook Online Editor is a convenient feature, through which I can go into it from pages PHP manual. For example, when I click Edit link on the page http://php.net/manual/fr/function.phpinfo.php me redirected to the page https://edit.php.net/?project=PHP&perm=fr/function.phpinfo.php and immediately opens the corresponding XML file (with id = "function.phpinfo") in the tree list "All files" (if I, in this case, chose the french language module). 

This is a very handy feature, but it does not always work as expected. For example, if I'm on page http://php.net/manual/fr/install.pecl.static.php and try to open it with the appropriate XML file in an editor, the editor does not open this XML file, as in the corresponding XML file ID not "install.pecl.static", and is "install.pecl". That XML file with id="install.pecl" is divided into several pages presented on http://php.net/manual/, therefore, can consider this fact? In other words, for all pages at http://php.net/manual/fr/install.pecl.* open their corresponding XML file with id="install.pecl". (This is my first query functionality, which also affects the second request and that below)

There is no possibility to open an XML file in an editor from PHP manual, unless the page is missing in language module, to be exact - in the list editor "All files". It would be nice if the editor was looking for a file in the list of "All files" and if it's not there, then open the corresponding XML file from the "Files need translate". Can this be done? (This is my second query functionality)



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-02-03 17:54 UTC] yannick@php.net
I'm on this bug.

Actually, id are in varchar(255) fields into database.
For example, for install.pecl, there is a lot of id into this page and... all ids is over than 255 !

I just past this field into "text" type, it will do the job.

Best,

Yannick
 [2020-02-03 18:11 UTC] yannick@php.net
Automatic comment on behalf of yannick.torres@gmail.com
Revision: http://git.php.net/?p=web/doc-editor.git;a=commit;h=b035d42fe23f68dbffcd3fec6e42453b9d60aa65
Log: Fix bug #68157
 [2020-02-03 18:11 UTC] yannick@php.net
-Status: Open +Status: Closed
 [2020-02-03 18:12 UTC] yannick@php.net
-Assigned To: +Assigned To: yannick
 [2020-02-03 18:12 UTC] yannick@php.net
This bug has been fixed and the fix has been committed. It should show up online in an
hour or three.

Thank you for the report, and for helping us make PHP.net better.

Just tested and it's ok ;)

Best,
Yannick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 20:01:32 2024 UTC