Last modified: 2013-04-20 11:32:59 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 T48986, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46986 - Display warning when closing references tag is missing
Display warning when closing references tag is missing
Status: RESOLVED DUPLICATE of bug 26145
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
master
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-07 11:30 UTC by Matthäus Wander
Modified: 2013-04-20 11:32 UTC (History)
1 user (show)

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


Attachments

Description Matthäus Wander 2013-04-07 11:30:34 UTC
When there is an opening <references> tag but the corresponding closing </references> tag is missing, all further content is not rendered.

Feature request:
MediaWiki should display a warning to the user, similar to a missing <references> tag when there are existing <ref> entries.

Severity:
This happens regularly when users mistakenly attempt to close section with <references/>. I fixed a couple of hundred of these errors on dewiki (1.21wmf12).

Example wiki code:
Text.<ref name="namedref"/>

<references>
<ref name="namedref">some reference</ref>
<references/>

== Ignored content ==
This section is now ignored.
{{Ignored|template}}
Comment 1 Matthäus Wander 2013-04-08 21:47:53 UTC
Another common type of error is to mistakenly use a single <references> tag instead of <references/>.
Comment 2 db [inactive,noenotif] 2013-04-20 08:05:11 UTC
Sounds like bug 26145
Comment 3 Matthäus Wander 2013-04-20 11:01:19 UTC
Yep, sorry for the dup.
Comment 4 db [inactive,noenotif] 2013-04-20 11:32:59 UTC

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

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


Navigation
Links