Jump to content

Category:CS1 maint: unrecognized language

From Simple English Wikipedia, the free encyclopedia


This is a tracking category for CS1 citations that use |language= where the assigned value is not recognized by MediaWiki. MediaWiki recognizes all of the ISO 639-1 two-character codes and some of the ISO 639-2 three-character codes, along with the full official names of the languages corresponding to those codes. See the list of supported codes / names.

MediaWiki is particular about language name spelling. For example, Northern Sámi should be spelled Northern Sami. MediaWiki does not recognize three-character codes when there is an equivalent two-character code: for Northern Sami, use code se instead of code sme. For recognized ISO 639-2 languages with multiple official names, MediaWiki recognizes only one. For example, code crh can refer to Crimean Tatar or Crimean Turkish; MediaWiki recognizes the latter.

MediaWiki does not recognize dialects and character sets (e.g. Simplified Chinese (a character set), British English (a dialect)).

Text that is not a recognized language code or name (the 'and' in |language=German and French) will add the article to this category because the citation module is looking for a single language name or code, or a comma-separated list of language names and/or codes; |language=German and French should be changed to: |language=German, French.

Pages in this category should only be added by Module:Citation/CS1.


By default, Citation Style 1 and Citation Style 2 error messages are visible to all readers and maintenance category messages are hidden from all readers.

To display maintenance messages, include the following text in your common CSS page or your specific skin's CSS page (common.css and skin.css respectively):

.mw-parser-output span.cs1-maint {display: inline;} /* display Citation Style 1 maintenance messages */

To display hidden-by-default error messages:

.mw-parser-output span.cs1-hidden-error {display: inline;} /* display hidden Citation Style 1 error messages */

Even with this CSS installed, older pages in Wikipedia's cache may not have been updated to show these error messages even though the page is listed in one of the tracking categories. A null edit will resolve that issue.

To hide normally-displayed error messages:

.mw-parser-output span.cs1-visible-error {display: none;} /* hide Citation Style 1 error messages */

You can personalize the display of these messages (such as changing the color), but you will need to ask someone who knows CSS or at WP:Simple talk if you do not understand how.