Page MenuHomePhabricator

TOC loosing level indent
Closed, ResolvedPublic

Description

A user of pl.wiki (Mareklug) reported a bug with indenting in long tocs. The
problem seems to occur when the level goes up, down a bit, down some more and
then back up. See test cases linked below for examples (you may play with those
pages as they are in user space and I'll delete them after this is fixed).

Test case 1
bad (see test19)
http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/pomys%C5%82y/toc_test&oldid=7671231
still bad
http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/pomys%C5%82y/toc_test&oldid=7671278
good
http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/pomys%C5%82y/toc_test&oldid=7671285

Test case 2
bad
http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/pomys%C5%82y/toc_test2&oldid=7671526
good
http://pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/pomys%C5%82y/toc_test2&oldid=7671543


Version: unspecified
Severity: normal
OS: other
Platform: PC

Details

Reference
bz9779

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:39 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz9779.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

*** This bug has been marked as a duplicate of 9764 ***