https://bugzilla.wikimedia.org/show_bug.cgi?id=34580

Wikid77 <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Wikid77 <[email protected]> ---
This bug is easy to reproduce, by running "section=new" when another user is
editing under the bottom section "==Header==". So, UserA begins editing bottom
section, UserB runs "section=new" and saves to append, then UserA gets
edit-conflict because the prior bottom section has new section appended.

The general fix for all these edit conflicts is to write a variation of the GNU
diff3 file-merge program to allow multiple inserts (or multiple replies) at the
same line number, such as the final line of a page, and to stack the multiple
new entries in LIFO order ("list-in, first-out") so that insertions or replies
in the prior bottom section get stacked above (LIFO order) the newly appended
"section=new". At the top of a page, the 2nd editor's insertion would get
stacked above any prior insertions, as the new top text in the page. By always
using LIFO order (to stack multiple insertions after the same line), then any
new text which contains a new section "==Topic==" would appear after the text
inserted by the next editor, unaware that a new "Topic" had been created below
the current line of the insertion (or reply). That ensures that the second
editor's insertion is never appended into a different section, but always
immediately after the line which the 2nd editor had viewed. -Wikid77

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to