Page MenuHomePhabricator

Section editing links missing, and existing sections not found for editing.
Open, LowPublic

Description

Some section editing links are not shown on the page, but section counts
continue for those not having links shown. You cannot edit the sections
without links on their own, not even with handwritten URLs. Thus:
http://www.mediawiki.org/w/index.php?title=Localisation&action=edit&section=25
does not work ("You tried to edit a section that does not exist...") but
editing a later section:
http://www.mediawiki.org/w/index.php?title=Localisation&action=edit&section=30
works fine. Also, the last section having its section editing link shown,
"eats" all the following sections without an editing link:
http://www.mediawiki.org/w/index.php?title=Localisation&action=edit&section=8


Version: 1.18.x
Severity: normal
URL: http://www.mediawiki.org/w/index.php?title=Localisation&oldid=398101

Details

Reference
bz28549

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:27 PM
bzimport set Reference to bz28549.
bzimport added a subscriber: Unknown Object (MLST).

The problem described above could be avoided with these edits to the page:
http://www.mediawiki.org/w/index.php?title=Localisation&action=historysubmit&diff=398107&oldid=398101

That shows, it was caused by unescaped unmatched "{{"s in the page text,
which are treated differently in text parsing and when finding sections.

The URLs given above are now invalid, please use a copy of
http://www.mediawiki.org/w/index.php?title=Localisation&oldid=398101
to reproduce the problem.

nothing about the parser should be considered easy.