Last modified: 2008-10-06 07:43:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  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: ---


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>

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>

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.