Last modified: 2014-09-24 09:33:13 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 T19495, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17495 - Parser bugs with error message: MediaWiki:Cite error refs without references
Parser bugs with error message: MediaWiki:Cite error refs without references
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
unspecified
All All
: Low normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-14 15:31 UTC by Purodha Blissenbach
Modified: 2014-09-24 09:33 UTC (History)
3 users (show)

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


Attachments

Description Purodha Blissenbach 2009-02-14 15:31:08 UTC
When there is no <references /> tag in a page having 
<ref> ... </ref>, we wanted to use the new error message
so as to output the missing data.


1st try: Setting [[MediaWiki:Cite error refs without references]]
to these two lines:
  ----
  <references />
yields:
  Fähler in cite met Referenze:----
  1↑ uncalled reference
  ....
Although usually the beginnig of an included template is beginning on a new line, i.e. the "----" should have rendered a horizontal line.


2nd try: Setting [[MediaWiki:Cite error refs without references]]
to these three lines:
  <nowiki />
  ----
  <references />
Result:
  Fähler in cite met Referenze: UNIQ48ee0a826943f094-nowiki-00000006-QINU
  -------------------------------------------------------------
  1↑ uncalled reference
  ....
There must be something wrong with the stacking of parser steps.
At least the line apears as intended.


3rd try: Setting [[MediaWiki:Cite error refs without references]]
to these three lines:
  <!-- -->
  ----
  <references />
Result:
  Fähler in cite met Referenze:
  -------------------------------------------------------------
  1↑ uncalled reference
  ....
Now, we still get an unwanted, somewhat generic, error message, and the entire output is red.
Possibly, this might be intentional. The other two rather do not appear to be correct.

Btw. I suggest, to append 
  <references />
to the standard error message, so as to not let collected references
slip into the unused bits bucket, even if people do forget to include
them in their pages.
Comment 1 Gadget850 2010-05-10 17:37:31 UTC
See Bug 17865—  MediaWiki:Cite error refs without references does not properly support wikimarkup.

See Bug 16854— A proposal to automatically add the reference list if it is missing.
Comment 2 Gadget850 2014-09-24 09:33:00 UTC
With the resolution of Bug 16854, I am closing this.

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


Navigation
Links