Last modified: 2007-05-08 21:21:11 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 T11807, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9807 - Cite should not generate an empty reference list when no references are used on the page
Cite should not generate an empty reference list when no references are used ...
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: html
  Show dependency treegraph
Reported: 2007-05-06 10:21 UTC by Gnu1742
Modified: 2007-05-08 21:21 UTC (History)
0 users

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


Description Gnu1742 2007-05-06 10:21:45 UTC
If you put the <references /> somewhere in an article, but have no <ref>-s
defined in the article, an empty <ol class='references'></ol> is generated.
According to the xhtml-specs, an ol must not be empty. Cite should state whether
there are Listitems to add or not. In the latter case, it should simply not add
the ol to the rendered Page.
Comment 2 Rob Church 2007-05-06 10:26:33 UTC

*** This bug has been marked as a duplicate of 209 ***
Comment 3 Philippe Verdy 2007-05-07 20:26:23 UTC
Note that this bug and bug#209 are both marked as mutual duplicate of each other;
This bug was closed, and should not have been reopened because bug #209 is the tracking buglist related to all 
bugs linked to strict XHTML conformance including validation with schemas and avoidance of deprecated legacy 
elements and attributes.
please close again this one...
Comment 4 Rob Church 2007-05-07 21:21:27 UTC
No, this bug is not a duplicate of bug 209. Bug 209 is a tracking bug, used to
keep track of bugs regarding XHTML compliance. I entered the bug number in the
wrong box when adding a dependence, and later corrected the mistake.
Comment 5 Brion Vibber 2007-05-08 21:21:11 UTC
Fixed in r22012; just returning empty if there are no <ref>s seems most sensible.

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