https://bugzilla.wikimedia.org/show_bug.cgi?id=17495

           Summary: Parser bugs with error message: MediaWiki:Cite error
                    refs without references
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Cite
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to