Cite.php is the software extension for the footnotes system. Cite.php includes error checking and generates error messages using MediaWiki interface messages. When Cite.php encounters an error, it generates a message pulled from a MediaWiki interface page. The MediaWiki pages are customized to use {{Broken ref}} to control the display of the error message and to add a category. {{Broken ref}} uses namespace detection to choose whether pages are categorized or not and if error messages show or not.

This template causes error messages to show only in certain namespaces. Category sorting is set by a sortkey in the template.


Namespace Sortkey Uppercase
main (article) alphabetic
category γ Γ
template τ Τ
file ι Ι
help ω Ω
portal ρ Ρ
wikipedia ψ Ψ
draft δ Δ


Errors on talk and other pages do not show by default but can be enabled by adding a rule to සැකිල්ල:Yourcss:

.mw-parser-output span.brokenref {
  display: inline;
}

The template causes pages that show and error to be placed in a maintenance category. Pages in these categories are then repaired by editors. Errors on talk and other pages do not add the category. Category management is done through {{broken ref/cat}}.

Error messages use:

  • |msg= text of the error message
  • |lang= language using ISO code
  • |help= subpagename of help page. This parameter is also used to determine the category by Template:Broken ref/cat.
  • |nocat= set to 'true' to suppress the category and the brokenref class; 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

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

Transcluding 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 and the class that hides the error in some namespaces. The message transclusion always adds a hard line break at the end.

Markup Renders as
{{int:Cite error ref too many keys|nocat=true}} 

අනීතික <ref> ටැගය;

අනීතික නාමයන්, නිද. පමණට වැඩි

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

Markup Renders as
{{red|{{int:Cite error ref too many keys|nocat=true}}}} 

අනීතික <ref> ටැගය;

අනීතික නාමයන්, නිද. පමණට වැඩි

To style the text to exactly simulate the message, use the {{error}} template.

Markup Renders as
{{error|{{int:Cite error ref too many keys|nocat=true}}}} 

අනීතික <ref> ටැගය;

අනීතික නාමයන්, නිද. පමණට වැඩි

These languages are supported. The list of languages is selected from the top uses at Wikipedia:Database reports/User preferences. Language management is done through {{broken ref/lang}}.

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

Complete list of interface pages by language:

Extended content

en: English

  • edit: උපුටාදැක්වීම් දෝෂය: $1
  • edit: අනීතික <ref> ටැගය;

අනීතික නාමයන්, නිද. පමණට වැඩි

  • edit: <ref> ටැගය සොයාගත නොහැකි බැවින් </ref> වසා දමමින්
  • edit: අනීතික <ref> ටැගය;

නාමයක් නොමැති ආශ්‍රේය සඳහා පෙළක් තිබිය යුතුය

  • edit: අනීතික <ref> ටැගය;

පෙළ විරහිත ආශ්‍රේය සඳහා නමක් තිබිය යුතුය

  • edit: අනීතික <ref> ටැගය;

$1 නමැති ආශ්‍රේයන් සඳහා කිසිදු පෙළක් සපයා නොතිබුණි

  • edit: අනීතික <ref> ටැගය;

නම සරල පූර්ණාංකයක් විය නොහැක. විස්තරශීලි ශිර්ෂයක් භාවිතා කරන්න

  • edit: "$1" නම් කණ්ඩායම සඳහා <ref> ටැග පැවතුණත්, ඊට අදාළ <references group="$1"/> ටැග සොයාගත නොහැකි විය.
  • edit: අනීතික <references> ටැගය;

කිසිම පරාමිතිකයකට ඉඩ නොදෙයි. <references /> භාවිත කරන්න

  • edit: <references> හි "$1" නමැති <ref> ටැගයට අන්තර්ගතයක් නැත.
  • edit: <references> හි <ref> නම් ටැගය "$1" යන පරස්පර සමූහ ගුණාංග දරයි.
  • edit: <references> හි "$1" නමැති <ref> ටැගය පෙර පෙළෙහි භාවිතා වූයේ නැත.
  • edit: <references> හි <ref> ටැගයට නමක් ආදේශකොට නැත.
  • edit: මාධ්‍යවිකි:Cite error no link label group
  • edit: උපයෝග්‍ය පසුසබැඳුම් ලේබල අවසාන විය. MediaWiki:Cite references link many format backlink labels පණිවුඩයෙහි තවත් ඒවා අර්ථදක්වන්න


en-gb: British English

  • edit: Cite error: $1
  • edit: Invalid parameter in <ref> tag
  • edit: Closing </ref> missing for <ref> tag
  • edit: Invalid <ref> tag; refs with no name must have content
  • edit: The opening <ref> tag is malformed or has a bad name
  • edit: Invalid <ref> tag; no text was provided for refs named $1
  • edit: Invalid <ref> tag; name cannot be a simple integer. Use a descriptive title
  • edit: <ref> tags exist for a group named "$1", but no corresponding <references group="$1"/> tag was found
  • edit: Invalid parameter in <references> tag
  • edit: <ref> tag with name "$1" defined in <references> group "$2" has no content.
  • edit: <ref> tag in <references> has conflicting group attribute "$1".
  • edit: <ref> tag with name "$1" defined in <references> is not used in prior text.
  • edit: <ref> tag defined in <references> has no name attribute.
  • edit: මාධ්‍යවිකි:Cite error no link label group/en-gb
  • edit: Ran out of custom backlink labels. Define more in the MediaWiki:Cite references link many format backlink labels message.


en-ca: Canadian English

  • edit: Cite error: $1
  • edit: Invalid parameter in <ref> tag
  • edit: Closing </ref> missing for <ref> tag
  • edit: Invalid <ref> tag; refs with no name must have content
  • edit: The opening <ref> tag is malformed or has a bad name
  • edit: Invalid <ref> tag; no text was provided for refs named $1
  • edit: Invalid <ref> tag; name cannot be a simple integer. Use a descriptive title
  • edit: <ref> tags exist for a group named "$1", but no corresponding <references group="$1"/> tag was found
  • edit: Invalid parameter in <references> tag
  • edit: <ref> tag with name "$1" defined in <references> group "$2" has no content.
  • edit: <ref> tag in <references> has conflicting group attribute "$1".
  • edit: <ref> tag with name "$1" defined in <references> is not used in prior text.
  • edit: <ref> tag defined in <references> has no name attribute.
  • edit: මාධ්‍යවිකි:Cite error no link label group/en-ca
  • edit: Ran out of custom backlink labels. Define more in the MediaWiki:Cite references link many format backlink labels message.


es: Spanish

  • edit: Error en la cita: $1
  • edit: Parámetro inválido en la etiqueta <ref>
  • edit: Etiqueta de apertura <ref> sin su correspondiente cierre </ref>
  • edit: Etiqueta <ref> no válida; las referencias sin nombre deben tener contenido
  • edit: La etiqueta de apertura <ref> es incorrecta o tiene el nombre mal
  • edit: Etiqueta <ref> no válida; no se ha definido el contenido de las referencias llamadas $1
  • edit: Etiqueta <ref> no válida; el nombre no puede ser un número entero. Usa un título descriptivo
  • edit: Existen etiquetas <ref> para un grupo llamado «$1», pero no se encontró la etiqueta <references group="$1"/> correspondiente.
  • edit: Parámetro no válido en la etiqueta de <references>
  • edit: La etiqueta <ref> con nombre «$1» definida en el grupo «$2» para <references> no tiene contenido.
  • edit: La etiqueta <ref> en las <references> tiene un conflicto con el grupo «$1».
  • edit: La etiqueta <ref> definida en las <references> con nombre «$1» no se utiliza en el texto anterior.
  • edit: La etiqueta <ref> definida en las <references> no tiene atributo de nombre.
  • edit: මාධ්‍යවිකි:Cite error no link label group/es
  • edit: Se han acabado las etiquetas personalizadas de vínculos de retroceso. Define más en MediaWiki:Cite references link many format backlink labels.


fr: French

  • edit: Erreur de référence : $1
  • edit: Paramètre invalide dans la balise <ref>
  • edit: Balise fermante </ref> manquante pour la balise <ref>
  • edit: Balise <ref> incorrecte : les références sans nom doivent avoir un contenu.
  • edit: La balise ouvrante <ref> est mal formée ou a un mauvais nom.
  • edit: Balise <ref> incorrecte : aucun texte n’a été fourni pour les références nommées $1
  • edit: Balise <ref> incorrecte : la valeur de l’attribut name ne peut être un simple entier. Utilisez un titre descriptif.
  • edit: Des balises <ref> existent pour un groupe nommé « $1 », mais aucune balise <references group="$1"/> correspondante n’a été trouvée
  • edit: Paramètre incorrect dans la balise <references>
  • edit: La balise <ref> avec le nom « $1 » définie dans le groupe <references> « $2 » n’a aucun contenu.
  • edit: La balise <ref> dans <references> a un attribut de groupe « $1 » en conflit.
  • edit: La balise <ref> nommée « $1 » définie dans <references> n’est pas utilisée dans le texte précédent.
  • edit: La balise <ref> définie dans <references> n’a pas d’attribut de nom.
  • edit: මාධ්‍යවිකි:Cite error no link label group/fr
  • edit: Pas assez d’étiquettes de liens personnalisées. Définissez-en un plus grand nombre dans le message MediaWiki:Cite references link many format backlink labels.


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

  • edit: Existem marcas <ref> para um grupo chamado "$1", mas nenhuma marca <references group="$1"/> correspondente foi encontrada
  • edit: Parâmetro inválido na marca <references>
  • edit: marca <ref> com o nome "$1", definida no grupo <references> "$2", não tem nenhum conteúdo.
  • edit: marca <ref> em <references> está com o atributo de grupo "$1" conflitante.
  • edit: marca <ref> com nome "$1", definida em <references>, não foi utilizada no texto anterior.
  • edit: marca <ref>, definida em <references>, não tem atributo de nome.
  • edit: මාධ්‍යවිකි:Cite error no link label group/pt-br
  • edit: Etiquetas de backlink esgotadas.

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

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

  • edit: Для существующих тегов <ref> группы «$1» не найдено соответствующего тега <references group="$1"/>
  • edit: Недопустимый параметр в теге <references>
  • edit: Тег <ref> с именем «$1», определённый в <references> в группе «$2», не имеет содержания.
  • edit: Тег <ref> в <references> имеет конфликтующие группы атрибутов «$1».
  • edit: Тег <ref> с именем «$1», определённый в <references>, не используется в предшествующем тексте.
  • edit: Тег <ref>, определённый в <references>, не имеет атрибута имени.
  • edit: මාධ්‍යවිකි:Cite error no link label group/ru
  • edit: Не хватает символов для возвратных гиперссылок. Следует расширить системное сообщение MediaWiki:Cite references link many format backlink labels


de: German

  • edit: Referenzfehler: $1
  • edit: Ungültiger Parameter in <ref>.
  • edit: Für ein <ref>-Tag fehlt ein schließendes </ref>-Tag.
  • edit: Ungültige Verwendung von <ref>: Der Parameter „ref“ ohne Namen muss einen Inhalt haben.
  • edit: Das öffnende <ref>-Tag ist beschädigt oder hat einen ungültigen Namen
  • edit: Es ist ein ungültiger <ref>-Tag vorhanden: Für die Referenz namens $1 wurde kein Text angegeben.
  • edit: Ungültige Verwendung von <ref>: Der Parameter „name“ darf kein reiner Zahlenwert sein. Benutze einen beschreibenden Namen.
  • edit: Es sind <ref>-Tags für die Gruppe „$1“ vorhanden, jedoch wurde kein dazugehöriges <references group="$1" />-Tag gefunden.
  • edit: Ungültiger Parameter im <references>-Tag
  • edit: Das in <references> Gruppe „$2“ definierte <ref>-Tag mit dem Namen „$1“ weist keinen Inhalt auf.
  • edit: Das <ref>-Tag in <references> enthält das kollidierende Attribut „$1“.
  • edit: Das in <references> definierte <ref>-Tag mit dem Namen „$1“ wird im vorausgehenden Text nicht verwendet.
  • edit: Das in <references> definierte <ref>-Tag hat kein Namensattribut.
  • edit: මාධ්‍යවිකි:Cite error no link label group/de
  • edit: Die Rücksprungmarken sind ausgegangen. Es können weitere in der Systemnachricht MediaWiki:Cite references link many format backlink labels definiert werden.


id: Indonesian

  • edit: Kesalahan pengutipan: $1
  • edit: Parameter dalam tag <ref> tidak sah;
  • 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: محدد غير صحيح في وسم <references>
  • edit: علامة <ref> بالاسم " $1 " المحددة في مجموعة <references> " $2 " لا تحتوي على محتوى.
  • edit: الوسم <ref> في <references> فيه خاصية group متضاربة "$1".
  • edit: الوسم <ref> ذو الاسم "$1" المُعرّف في <references> غير مستخدم في النص السابق.
  • edit: الوسم <ref> المعرف في <references> ليس له خاصة اسم.
  • edit: මාධ්‍යවිකි:Cite error no link label group/ar
  • edit: نفدت علامات الوصلات الراجعة المخصصة. عرف المزيد في رسالة MediaWiki:Cite references link many format backlink labels


nl: Dutch

  • edit: Citefout: $1
  • edit: Onjuiste parameter in de tag <ref>
  • edit: Na het label <ref> ontbreekt het afsluitende label </ref>
  • edit: Onjuist label <ref>; refs zonder naam moeten inhoud hebben
  • edit: Het openingslabel <ref> is onjuist opgemaakt of heeft een verkeerde naam.
  • edit: Onjuist label <ref>; er is geen tekst opgegeven voor referenties met de naam $1
  • edit: Onjuist label <ref>; de naam mag niet slechts een geheel getal zijn. Gebruik een beschrijvende titel
  • edit: Er bestaat een label <ref> voor de groep "$1", maar er is geen bijbehorend label <references group="$1"/> aangetroffen
  • edit: Onjuiste parameter in <references>-tag
  • edit: Het label <ref> met de naam "$1", dat is gedefinieerd in de <references>-groep "$2", heeft geen inhoud.
  • edit: De tag <ref> in <references> conflicteert met groepseigenschap "$1".
  • edit: Het label <ref> met de naam "$1" gedefinieerd in <references> wordt niet eerder in de tekst gebruikt.
  • edit: Het label <ref> die is gedefinieerd in <references> heeft geen eigenschapsnaam.
  • edit: මාධ්‍යවිකි:Cite error no link label group/nl
  • edit: Het aantal beschikbare backlinklabels is opgebruikt. Geef meer labels op in het bericht MediaWiki:Cite references link many format backlink labels


zh-cn: Chinese (China)

  • edit: 引用错误:$1
  • edit: <ref>标签内有无效参数
  • edit: <ref>标签缺少关闭标签</ref>
  • edit: <ref>标签无效;没有name(名称)的ref(参考)必须有内容
  • edit: 开放式<ref>标签格式错误或有错误的name(名称)
  • edit: <ref>标签无效;未给name(名称)为$1的ref(参考)提供文本
  • edit: <ref>标签无效;name(名称)不能是单纯整数,请使用描述性标题
  • edit: 名称为“$1”的group(分组)存在<ref>标签,但未找到对应的<references group="$1"/>标签
  • edit: <references>标签内有无效参数
  • edit: group(分组)为“$2”的<references>内定义的name(名称)为“$1”的<ref>标签没有内容。
  • edit: <references>内的<ref>标签有冲突的group(分组)属性“$1”。
  • edit: <references>内定义的name(名称)为“$1”的<ref>标签未在前文内使用。
  • edit: <references>内定义的<ref>标签没有设置name(名称)属性。
  • edit: මාධ්‍යවිකි:Cite error no link label group/zh-cn
  • edit: 自定义反向链接标签用尽。请在MediaWiki:Cite references link many format backlink labels消息内定义更多标签。


ro: Romanian

  • edit: Eroare la citare: $1
  • edit: Etichetă <ref> invalidă; nume invalid, e.g. prea multe nume
  • edit: Eticheta de închidere </ref> lipsește pentru eticheta <ref>
  • edit: Etichetă <ref> invalidă; referințele fără nume trebuie să aibă conținut
  • edit: Eticheta de început <ref> este malformată sau are un nume greșit
  • edit: Etichetă <ref> invalidă; niciun text nu a fost furnizat pentru referințele numite $1
  • edit: Etichetă <ref> invalidă; numele nu poate fi un număr. Folosește un titlu descriptiv
  • edit: Există etichete <ref> pentru un grup numit „$1”, dar nu și o etichetă <references group="$1"/>
  • edit: Parametru invalid în eticheta <references>
  • edit: Eticheta <ref> definită în <references> cu numele „$1” nu are conținut.
  • edit: Eticheta <ref> din <references> are atributul de grup „$1” care a intrat în conflict.
  • edit: Eticheta <ref> cu numele „$1” definită în <references> nu este utilizată în textul anterior.
  • edit: Eticheta <ref> definită în <references> nu are atributul nume.
  • edit: මාධ්‍යවිකි:Cite error no link label group/ro
  • edit: S-au epuizat etichetele pentru legături personalizate. Definiți mai multe etichete în cadrul mesajului MediaWiki:Cite references link many format backlink labels.


it: Italian

  • edit: Errore nelle note: $1
  • edit: Parametro non valido nel tag <ref>
  • edit: </ref> di chiusura mancante per il marcatore <ref>
  • edit: Errore nell'uso del marcatore <ref>: i ref privi di nome non possono essere vuoti
  • edit: L'apertura dell'etichetta <ref> non è corretta o ha un nome errato.
  • edit: Errore nell'uso del marcatore <ref>: non è stato indicato alcun testo per il marcatore $1
  • edit: Errore nell'uso del marcatore <ref>: il nome non può essere un numero intero. Usare un titolo esteso
  • edit: Sono presenti dei marcatori <ref> per un gruppo chiamato "$1" ma non è stato trovato alcun marcatore <references group="$1"/> corrispondente
  • edit: Parametro non valido nel tag <references>
  • edit: Il tag <ref> con nome "$1" definito nel <references> gruppo "$2" non ha alcun contenuto.
  • edit: Il tag <ref> in <references> ha attributo gruppo "$1" in conflitto.
  • edit: Il tag <ref> con nome "$1" definito in <references> non è usato nel testo precedente.
  • edit: Il tag <ref> definito in <references> non ha un attributo nome.
  • edit: මාධ්‍යවිකි:Cite error no link label group/it
  • edit: Etichette di rimando personalizzate esaurite, aumentarne il numero nel messaggio MediaWiki:Cite references link many format backlink labels


tr: Turkish

  • edit: Kaynak hatası: $1
  • edit: <ref> etiketinde geçersiz değişken
  • edit: <ref> etiketi için </ref> kapanışı eksik
  • edit: Geçersiz <ref> etiketi; isimsiz ref içeriği olmalı
  • edit: Açılış <ref> etiketi hatalı biçimlendirilmiş veya hatalı bir ada sahip
  • edit: Geçersiz <ref> etiketi; $1 isimli refler için metin sağlanmadı
  • edit: Geçersiz <ref> etiketi; isim basit bir tamsayı olamaz. Açıklayıcı bir başlık kullanın
  • edit: <ref> "$1" adında grup ana etiketi bulunuyor, ancak <references group="$1"/> etiketinin karşılığı bulunamadı
  • edit: <references> etiketinde geçersiz parametre
  • edit: <references> grubunda "$2" içinde tanımlanan "$1" adlı <ref> etiketinin içeriği yok.
  • edit: <references> içinde <ref> etiketinin çelişen "$1" grup özniteliği var.
  • edit: <references> üzerinde tanımlanan "$1" adındaki <ref> etiketi önceki metinde kullanılmıyor.
  • edit: <references> içinde tanımlanan <ref> etiketinin hiçbir ad özniteliği yok.
  • edit: මාධ්‍යවිකි:Cite error no link label group/tr
  • edit: Özel geri bağlantı etiketleri kalmadı. MediaWiki:Cite references link many format backlink labels mesajında daha fazla tanımlayın.



"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Broken_ref/doc&oldid=688384" වෙතින් සම්ප්‍රවේශනය කෙරිණි