Template:Broken ref/doc

From The Right Wiki
Jump to navigationJump to search

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

Namespaces

This template causes error messages to show only in certain namespaces. Category sorting is set by a sortkey in the template. <section begin=sortkeys />

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

<section end=sortkeys />

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

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

Categories

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

Parameters

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

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

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

Invalid parameter in <ref> tag

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

Invalid parameter in <ref> tag

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

Invalid parameter in <ref> tag

Languages

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.

Interface pages

Complete list of interface pages by language:

Extended content

en: 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: Ran out of custom link labels for group "$1". Define more in the MediaWiki:$2 message.
  • edit: Ran out of custom backlink labels. Define more in the MediaWiki:Cite references link many format backlink labels message.


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: Ran out of custom link labels for group "$1". Define more in the MediaWiki:$2 message.
  • 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: Ran out of custom link labels for group "$1". Define more in the MediaWiki:$2 message.
  • edit: Ran out of custom backlink labels. Define more in the MediaWiki:Cite references link many format backlink labels message.


es: español

  • 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: Se han acabado las etiquetas personalizadas para vínculos del grupo "$1". Define más en el mensaje MediaWiki:$2.
  • 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: français

  • 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: Pas assez d’étiquettes de liens personnalisées pour le groupe « $1 ». Définissez-en plus dans le message MediaWiki:$2.
  • 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: português do Brasil

  • 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: Etiquetas personalizadas para links, no grupo "$1", esgotadas. Defina mais na mensagem MediaWiki:$2.
  • edit: Etiquetas de backlink esgotadas.

Defina mais na mensagem MediaWiki:Cite references link many format backlink labels.
ru: русский

  • 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: Закончились отметки пользовательских ссылок для группы «$1». Определите дополнительные в сообщении MediaWiki:$2.
  • edit: Не хватает символов для возвратных гиперссылок. Следует расширить системное сообщение MediaWiki:Cite references link many format backlink labels


de: Deutsch

  • 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: Für die Gruppe „$1“ sind keine benutzerdefinierten Rücksprungmarken mehr verfügbar. Es können weitere in der Systemnachricht MediaWiki:$2 definiert werden.
  • edit: Die Rücksprungmarken sind ausgegangen. Es können weitere in der Systemnachricht MediaWiki:Cite references link many format backlink labels definiert werden.


id: Bahasa Indonesia

  • 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

  • edit: Ditemukan tag <ref> untuk kelompok bernama "$1", tapi tidak ditemukan tag <references group="$1"/> yang berkaitan
  • edit: Parameter dalam tag <references> tidak sah;
  • edit: Tag <ref> dengan nama "$1" yang didefinisikan di kelompok <references> "$2" tidak memiliki konten.
  • edit: Tag <ref> di <references> ada atribut kelompok "$1" yang konflik.
  • edit: Tag <ref> dengan nama "$1" yang didefinisikan di <references> tidak digunakan pada teks sebelumnya.
  • edit: Tag <ref> yang didefinisikan di di <references> tidak memiliki nama atribut.
  • edit: Pranala kustom label untuk kelompok "$1" habis. Tambahkan ketentuan dalam pesan MediaWiki:$2.
  • edit: Kehabisan label pralana balik tersuai. Tambahkan lagi di pesan sistem MediaWiki:Cite references link many format backlink labels


ar: العربية

  • 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: تم الانتهاء من تسمية الارتباطات المخصصة لمجموعة "$1".

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


nl: Nederlands

  • 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: Het aantal aangepaste koppelinglabels voor de group "$1" is uitgeput. U kunt er meer instellen in het systeembericht MediaWiki:$2.
  • edit: Het aantal beschikbare backlinklabels is opgebruikt. Geef meer labels op in het bericht MediaWiki:Cite references link many format backlink labels


zh-cn: 中文(中国大陆)

  • 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: 分组“$1”的自定义链接标签用尽。请在MediaWiki:$2消息内定义更多标签。
  • edit: 自定义反向链接标签用尽。请在MediaWiki:Cite references link many format backlink labels消息内定义更多标签。


ro: română

  • 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: S-au epuizat etichetele pentru legături personalizate pentru grupul „$1”.

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


it: italiano

  • 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: Etichette esaurite per collegamenti personalizzati del gruppo "$1", aumentarne il numero nel messaggio MediaWiki:$2
  • edit: Etichette di rimando personalizzate esaurite, aumentarne il numero nel messaggio MediaWiki:Cite references link many format backlink labels


tr: Türkçe

  • 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: "$1" grubu için özel bağlantı etiketleri bitti. MediaWiki:$2 mesajında daha fazla tanımlayın.
  • edit: Özel geri bağlantı etiketleri kalmadı. MediaWiki:Cite references link many format backlink labels mesajında daha fazla tanımlayın.