Usage uredi

Cite.php is the software extension for the footnotes system. Cite.php includes error checking for <ref>...</ref> tags and generates error messages using MediaWiki messages. This template is used to control the namespaces and categories where those messages show.

This template causes error messages to show only on main (article), template, category, help and file pages; the page that triggers the error is placed into a category.

It is possible to extend this template so that each namespace has a custom version of the message that may include a different or no category.

See Help:Cite errors for a full list of the MediaWiki messages.

Parameters uredi

Error messages use:

  • |msg=text of the error message
  • |lang=language using ISO code
  • |help=name of help page, main title only
  • |cat=category
  • |nocat=set to 'true' to suppress the category; use when transcluding the WikiMedia interface page for documentation purposes

Prefix interface pages use:

  • |prefix=text that precedes the message
  • |lang=language using ISO code

Showing cite errors on other pages uredi

Errors on talk and other pages do not show by default but can be enabled by adding a rule to your CSS:

span.brokenref {
  display: inline;

This does not add the page to a maintenance category.

Categories uredi