Page MenuHomePhabricator

Parser doesn't close OL and LI before a DIV
Closed, ResolvedPublic

Description

Author: wikt.3.connelm

Description:
http://en.wiktionary.org/w/index.php?title=Template_talk%3Aen-noun&diff=2009519&oldid=2009131

Funky template allows Wiktionary the ability to split user preferences for
"boxy" vs "normal" (my apologies for my part in that evil template.)

If Template is used anywhere after something indented or bulleted, the <DIV>
starts before the OL or LI (or both) are closed. This then causes the "display:
none" of the DIV to get ignore, so that the "boxy" style appears when it should not.


Version: unspecified
Severity: minor
URL: http://en.wiktionary.org/w/index.php?title=Template_talk%3Aen-noun&diff=2009519&oldid=2009131

Details

Reference
bz8827

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:35 PM
bzimport set Reference to bz8827.
bzimport added a subscriber: Unknown Object (MLST).

wikt.3.connelm wrote:

Note that while this does seem to be a "real" problem, the en.wiktionary example
is poor; procedurally that evil template is not supposed to be used that way,
anyhow.

Offhand, I can't think of any case where this couldn't be worked-around
trivially, once recognized. Please change this request priority to "trivial
enhancement" or somesuch, as fixing it would very likely break numerous other
things.