Last modified: 2008-10-06 07:43:35 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 T13814, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11814 - Empty named <ref> tag doesn't work.
Empty named <ref> tag doesn't work.
Status: RESOLVED DUPLICATE of bug 15770
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-30 15:18 UTC by Alan A. Jorgensen, Ph.D.
Modified: 2008-10-06 07:43 UTC (History)
2 users (show)

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


Attachments

Description Alan A. Jorgensen, Ph.D. 2007-10-30 15:18:14 UTC
I put this here because I think it is a related symptom.

If I use an empty named <ref> tag, while editing Wikipedia, as follows:

<ref name=Test>Test Case</ref>
<ref name=Test></ref>
<references/>

I get an error message: Cite error 4; Invalid <ref> tag; refs with no name must have content

However, if I insert a space in the "empty" named reference as follows:

<ref name=Test>Test Case</ref>
<ref name=Test> </ref>
<references/>

I get no error message and both <ref> tags work correctly.

Therefore the statement, "We may as well just use an empty tag." in Extension:Cite/Cite.php#Multiple uses of the same footnote is incorrect.
Comment 1 Niklas Laxström 2008-10-06 07:43:35 UTC

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

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


Navigation
Links