Page MenuHomePhabricator

Edit conflict with section=new
Open, Needs TriagePublic

Description

Currently submitting an edit after an intervening new section (&section=new) in many cases results in edit conflict. Even for a section edit where two chunks have zero overlap. IMHO when the current edit form is section=something, then it is safe enough to proceed with the edit without conflicting with the new section. The only necessary precaution results from the possibility that the thing added with section=new does not necessarily begin from a valid =…= heading.

Opinions?

If anybody is interested, Ī̲ can formulate a more stringent criterion for saving the section=something edit, which avoids some of remaining loopholes for unintended effects.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 5 2019, 1:57 PM

This sounds like a duplicate of T43338? Which code areas did you investigate?
Also see https://phabricator.wikimedia.org/T49438 or https://phabricator.wikimedia.org/T55446.

@Incnis_Mrsi: Could you please answer the last comment? Thanks!