Page MenuHomePhabricator

Invalid HTML markup standalone LI element when using references on main page
Closed, ResolvedPublic

Description

  • Visit main page in edit mode (append action=edit at the end)
  • Enter text <ref>boo</ref>
  • Save

With the Cite extension enabled this renders a standalone <li> tag without a parent <ol class="references"> tag.


Version: unspecified
Severity: normal

Details

Reference
bz71023

Related Objects

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:55 AM
bzimport added a project: Cite.
bzimport set Reference to bz71023.
bzimport added a subscriber: Unknown Object (MLST).

Actually this appears to be a problem with the Cite extension.

The same problem happens on desktop.

Output is:
<li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1"><span class="cite-accessibility-label">Jump up </span>↑</a></span> <span class="reference-text">boo</span>
</li>
without parent ol or ul tag.

I can't reproduce this locally. I'm using MediaWiki-Vagrant (634ca6a) and mediawiki-extensions-Cite (d4b435a).

@Jdlrobson: Can you confirm that you're still seeing this bug?

Jdlrobson claimed this task.

Seems fixed to me.