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





--- Comment #1 from Brad Jorsch <[email protected]>  2009-01-01 
21:23:38 UTC ---
Created an attachment (id=5640)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=5640)
A patch against r45293 to implement an error message when references are not
displayed

The normal thing to do seems to be to generate an error message for the error,
and then override the default error message on enwiki to include {{broken
ref}}. So I've made a patch to do just that.

This patch implements two new error messages,
cite_error_refs_without_references (for missing <references/>) and
cite_error_group_refs_without_references (for missing <references
group="..."/>). In the ParserBeforeTidy hook, Cite.php now appends the
appropriate error messages for each missing references tag.

I've also taken the opportunity to fix the "Erroneous refs" parser test that
was failing.


-- 
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