Page MenuHomePhabricator

Wiki markup not forming bulleted lists regularly in places
Closed, ResolvedPublic

Description

Author: muke

Description:
At the bottom of several pages on the Latin Wiktionary there is supposed to be a
bulleted list after a disambiguation template. However the bulleted lists are not
forming regularly. On [[wikt:la:U]] for example, the code shows:

  • {{en}}: {{cito-d|en|u}}
  • {{nl}}: {{cito-d|nl|u}}
  • {{es}}: {{cito-d|es|u}}

But only the line with {{nl}} ("Batave") receives a bullet, even though it (sometimes)
displays correctly on preview.

I thought it might perhaps be because of the disambiguation template, but this problem
was around before the template even came into existence, e.g. here:

http://la.wiktionary.org/w/index.php?title=De&oldid=3394

...where there is also a three-item bulleted list, though in this case only the *first*
item received a bullet. (In later versions of this latter page I was able to 'fix'
display only by using raw UL and LI tags.)


Version: unspecified
Severity: normal
URL: http://la.wiktionary.org/wiki/U

Details

Reference
bz2116

Event Timeline

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

avarab wrote:

Please supply a simplified testcase, preferrably one that does not use templates.

Michael.Keppler wrote:

This bug may be related to bug 2094 (but I'm not sure). In both bugs the output
for some templates is not as expected and in both cases the wrongly rendered
parts contain additional <p>-tags.

muke wrote:

I am sorry, I do not know (yet) how to reliably reproduce the bug. I copied and pasted the offending
section of [[wikt:la:U]] to its own page, [[wikt:la:Victionarium:Harenarium/lists]] and it displays
perfectly normally. (I will keep trying though.)

Other pages that do not produce the lists normally: [[wikt:la:Lector]], [[wikt:la:Tantalum]],
[[wikt:la:Technetium]]...

muke wrote:

I took the smallest subset of the [[wikt:la:U]] that exhibited any
characteristics of this bug, and did subst: on the templates to see what was
going on. (Result: [[wikt:la:Victionarium:Harenarium/U]].) It turns out that
somewhere a line that is straightforwardly

  • {{es}}: ...

somehow expanded to:

[[Project:Lingua Hispanica|Hispanice]]: ...

with a linebreak thrown in, which explains why the bullet isn't created.

What I don't know is where the line break comes from. (Perhaps it is related to
the extra linebreaks in bug 2094 ...)

Michael.Keppler wrote:

Resolving as duplicate of bug 2094. The bug occurs on second inclusion of the
{{es}} template in this case but has the same reason as 2094.

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