Usage ಬದಲಾಯಿಸಿ

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 ಬದಲಾಯಿಸಿ

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

Examples ಬದಲಾಯಿಸಿ

Use the following example when editing MediaWiki error message pages:

{{broken ref
|msg=The <code><ref></code> tag has too many names
|lang=en
|help=Cite error ref too many keys
|nocat={{{nocat|}}}
}}

By including |nocat={{{nocat|}}}, the |nocat= parameter can be passed to {{Broken ref}}.

Transluding error messages ಬದಲಾಯಿಸಿ

When creating documentation, the error messages can be transcluded so that the messages are automatically updated. Add |nocat=true to suppress the error category.

Markup Renders as
{{MediaWiki:Cite error refs without references|nocat=true}}

To style the text in red to more closely simulate the message, use the {{Font}} template.

Markup Renders as
{{font|color=red|{{MediaWiki:Cite error refs without references|nocat=true}}}}

Showing cite errors on other pages ಬದಲಾಯಿಸಿ

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.

Languages ಬದಲಾಯಿಸಿ

These languages are supported. The list of languages is selected from the top uses at Wikipedia:Database reports/User preferences.

  • en: English
  • es: español
  • fr: français
  • pt-br: português do Brasil
  • ru: русский
  • de: Deutsch
  • id: Bahasa Indonesia
  • ar: العربية
  • nl: Nederlands
  • zh-cn: 中文(中国大陆)
  • ro: română
  • it: italiano
  • tr: Türkçe

Plus the English variants:

  • en-gb: British English
  • en-ca: Canadian English
Originally these were transcluded, but not all MediaWiki pages support such transclusion.

Categories ಬದಲಾಯಿಸಿ

MediaWiki:Cite error references no text
MediaWiki: Cite error refs without references
MediaWiki: Cite error group refs without references
MediaWiki: Cite error references invalid parameters group

Interface pages ಬದಲಾಯಿಸಿ

Complete list of interface pages by language:

Extended content

en: English


en-gb: British English


en-ca: Canadian English


es: Spanish


fr: French


pt-br: Brazilian Portuguese

  • edit: Erro de citação: $1
  • edit: Marca <ref> inválida;

nomes inválidos, por exemplo, muito extenso

  • edit: </ref> de fechamento ausente para a marca <ref>
  • edit: Marca <ref> inválida;

refs sem nome devem possuir conteúdo

  • edit: A tag de abertura <ref> está mal formada ou tem um nome ruim
  • edit: Marca <ref> inválida;

não foi fornecido texto para as refs chamadas $1

  • edit: Marca <ref> inválida;

o nome não pode ser um número inteiro. Utilize um título descritivo

Defina mais na mensagem MediaWiki:Cite references link many format backlink labels.


ru: Russian

  • edit: Ошибка цитирования $1
  • edit: Неверный параметр в теге <ref>
  • edit: Отсутствует закрывающий тег </ref>
  • edit: Неправильный тег <ref>;

элемент без имени должен иметь содержание

  • edit: Открывающий тег <ref> — неправильный или содержит некорректное имя.
  • edit: Неверный тег <ref>; для сносок $1 не указан текст
  • edit: Неправильный тег <ref>;

имя не может быть целым числом. Используйте описательное название


de: German


id: Indonesian

  • edit: Kesalahan pengutipan: $1
  • edit: Tag <ref> tidak sah;

nama tidak sah; misalnya, terlalu banyak

  • edit: Tag <ref> harus ditutup oleh </ref>
  • edit: Tag <ref> tidak sah;

referensi tanpa nama harus memiliki isi

  • edit: Tag <ref> tidak sah atau memiliki nama yang salah.
  • edit: Tag <ref> tidak sah;

tidak ditemukan teks untuk ref bernama $1

  • edit: Tag <ref> tidak sah;

nama tidak boleh integer sederhana. Gunakan nama deskriptif


ar: Arabic

  • edit: خطأ استشهاد: $1
  • edit: وسم <ref> غير صحيح؛ أسماء غير صحيحة، على سبيل المثال كثيرة جدا
  • edit: إغلاق </ref> مفقود لوسم <ref>
  • edit: وسم <ref> غير صحيح؛ المراجع غير ذات الاسم يجب أن تمتلك محتوى
  • edit: وسم الفتح <ref> غير صحيح أو له اسم سييء.
  • edit: وسم <ref> غير صحيح؛ لا نص تم توفيره للمراجع المسماة $1
  • edit: وسم <ref> غير صحيح؛ الاسم لا يمكن أن يكون عددا صحيحا بسيطا. استخدم عنوانا وصفيا
  • edit: وسوم <ref> موجودة لمجموعة اسمها "$1"، ولكن لم يتم العثور على وسم <references group="$1"/>
  • edit: ಮೀಡಿಯವಿಕಿ:Cite error refs without references/ar
  • edit: ಮೀಡಿಯವಿಕಿ:Cite error references invalid parameters group/ar
  • edit: محدد غير صحيح في وسم <references>
  • edit: علامة <ref> بالاسم " $1 " المحددة في مجموعة <references> " $2 " لا تحتوي على محتوى.
  • edit: ಮೀಡಿಯವಿಕಿ:Cite error references missing group/ar
  • edit: الوسم <ref> في <references> فيه خاصية group متضاربة "$1".
  • edit: الوسم <ref> ذو الاسم "$1" المُعرّف في <references> غير مستخدم في النص السابق.
  • edit: الوسم <ref> المعرف في <references> ليس له خاصة اسم.
  • edit: تم الانتهاء من تسمية الارتباطات المخصصة لمجموعة "$1".

للحصول على تعريف أكثر انظر هذه MediaWiki:$2 الرسالة.


nl: Dutch


zh-cn: Chinese (China)


ro: Romanian

Definiți mai multe etichete în cadrul mesajului MediaWiki:$2.


it: Italian


tr: Turkish