Last modified: 2012-10-30 06:43:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43243, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41243 - Additional p-elements injected in refs
Additional p-elements injected in refs
Status: RESOLVED DUPLICATE of bug 13073
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: parser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-20 13:54 UTC by jeblad
Modified: 2012-10-30 06:43 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description jeblad 2012-10-20 13:54:15 UTC
If the <references/> is enclosed in a <div> the text content of the first <ref> has an additional <p> wrapped.
Comment 1 jeblad 2012-10-20 13:56:12 UTC
The following wikitext

<ref group="lower-roman">
Østlund 1992 
</ref><ref group="lower-roman">
Østlund 1992 
</ref><ref group="lower-roman">
Østlund 1992 
</ref><ref group="lower-roman">
Østlund 1992 
</ref><div><references group="lower-roman" /></div>

Will produce the following html code

<p><sup id="cite_ref-8" class="reference"><a href="#cite_note-8">[lower-roman 1]</a></sup><sup id="cite_ref-9" class="reference"><a href="#cite_note-9">[lower-roman 2]</a></sup><sup id="cite_ref-10" class="reference"><a href="#cite_note-10">[lower-roman 3]</a></sup><sup id="cite_ref-11" class="reference"><a href="#cite_note-11">[lower-roman 4]</a></sup></p>
<div>
<ol class="references">
<li id="cite_note-8"><span class="mw-cite-backlink"><a href="#cite_ref-8">↑</a></span>
<p><span class="reference-text">Østlund 1992</span></p>
</li>
<li id="cite_note-9"><span class="mw-cite-backlink"><a href="#cite_ref-9">↑</a></span> <span class="reference-text">Østlund 1992</span></li>
<li id="cite_note-10"><span class="mw-cite-backlink"><a href="#cite_ref-10">↑</a></span> <span class="reference-text">Østlund 1992</span></li>
<li id="cite_note-11"><span class="mw-cite-backlink"><a href="#cite_ref-11">↑</a></span> <span class="reference-text">Østlund 1992</span></li>
</ol>
</div>

The full example is at

http://www.mediawiki.org/wiki/User:Jeblad/example_of_format_problem_in_references
Comment 2 jeblad 2012-10-30 06:43:56 UTC

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links