Bug #77348 [Opn->Csd]: Misleading Edit button (edition not immediate and conditional to application)

From: Date: Sun, 25 Jul 2021 14:43:21 +0000
Subject: Bug #77348 [Opn->Csd]: Misleading Edit button (edition not immediate and conditional to application)
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18989@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77348&edit=1 ID: 77348 User updated by: chealer at gmail dot com Reported by: chealer at gmail dot com Summary: Misleading Edit button (edition not immediate and conditional to application) -Status: Open +Status: Closed Type: Bug Package: Online Doc Editor problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Per last comment Previous Comments: ------------------------------------------------------------------------ [2021-07-25 14:41:58] chealer at gmail dot com I am happy to report that PHP documentation no longer relies on "Php Docbook Online Editor". It was replaced by the GitHub "pull requests" system Christoph mentioned. Unfortunately, the integration with that system remains problematic, but the situation is now different enough that I filed bug #81290, which starts from scratch to replace this ticket. ------------------------------------------------------------------------ [2019-01-02 17:18:50] chealer at gmail dot com Thank you cmb In that case, I suppose there is an issue causing patch creators to get no notification when their patch is rejected, and to have no way to understand the rejection even if they access Php Docbook Online Editor again. ------------------------------------------------------------------------ [2019-01-02 13:59:31] cmb@php.net > After, I completed each step to submit a patch against > PDO::prepare(). I can now see that my changes are reflected in the > actual documentation: In practise, it is not really relevant whether a patch is listed as work in progress, or whether it has been submitted as patch for review. In both cases somebody with sufficient karma will have to review the patch, and commit or reject it. ------------------------------------------------------------------------ [2019-01-02 06:13:55] chealer at gmail dot com Thanks to much luck, just after reporting this I was pointed to a tutorial about using Php Docbook Online Editor, which explains the step I must have been missing: https://www.youtube.com/watch?v=HLAuzZh2GVo This tutorial is in French. After, I completed each step to submit a patch against PDO::prepare(). I can now see that my changes are reflected in the actual documentation: http://svn.php.net/viewvc/phpdoc/en/trunk/reference/pdo/pdo/prepare.xml?r1=337261&r2=346459 This process still appears to be limited as the submitter's name and change description appear to be lost, but given that it works and is quite straightforward, I apologize for describing the tool as experimental. I would rather argue that offering a save button (with the floppy disk icon) combined with the label "Edit" and without instructions when a contributor saves is likely to mislead, but that's a much less severe issue. I recommend to: 1. Relabel "Edit" to "Propose a change / Edit" 2. Make Php Docbook Online Editor's behavior or interface reflect that the edition process has 2 phases. This could be done by either warning each user on their first use, or by requiring users to perform a "Start a patch" action before editing files, so they realize what they are editing are temporary files only meant to generate a patch. ------------------------------------------------------------------------ [2018-12-27 14:10:00] cmb@php.net Back to the issue at hand: the relevant line that would have to be changed or removed is <https://github.com/php/web-php/blob/bda2d837724d59efe8580b9232d6d60fa545cf5b/include/shared-manual.inc#L448> ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=77348 -- Edit this bug report at https://bugs.php.net/bug.php?id=77348&edit=1

« previous php.doc.bugs (#18989) next »