mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
d885a0c6b5
The message cite_references_link_many_format_backlink_labels contains e.g. "a b c …" and so on, to be used as alternative backlink labels when a single reference is re-used multiple times. The default numeric rendering is "1.1 1.2 …" and so on. The two labels end in the message cite_references_link_many_format as parameters $2 and $3. But only one of the two parameters is ever used. By default the alternative label in $3 is unused. This implies that everything about these alternative backlink labels including the error message is effectively dead code most of the time, never to be seen on the majority of wikis. This change makes it possible to disable the message without breaking anything. Instead the code will silently fallback to the default behavior of showing the numeric label. This is much more efficient than rendering possibly hundreds of error messages that never show up anyhere. The same optimization is already done for the extremely similar cite_link_label_group-… messages, see FootnoteMarkFormatter::fetchCustomizedLinkLabel. This is also partly motivated by T335129 as well as T321217. Change-Id: Iab818d7db7eddaf7091234f6a22a18cdff70f8e8
89 lines
12 KiB
JSON
89 lines
12 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Amire80",
|
|
"Dani",
|
|
"Jon Harald Søby",
|
|
"Kimberli Mäkäräinen (WMNO)",
|
|
"LPfi",
|
|
"Lejonel",
|
|
"Mar(c)",
|
|
"Mormegil",
|
|
"Nike",
|
|
"Purodha",
|
|
"Raimond Spekking",
|
|
"Raymond",
|
|
"Shirayuki",
|
|
"Siebrand",
|
|
"The Evil IP address",
|
|
"Umherirrender",
|
|
"Xiplus"
|
|
]
|
|
},
|
|
"cite-desc": "{{desc|name=Cite|url=https://www.mediawiki.org/wiki/Extension:Cite}}",
|
|
"cite_error": "Used when there are errors in ref or references tags.\n\nParameters:\n* $1 - an error message",
|
|
"cite_error_ref_invalid_dir": "Error message shown when ref tag contain dir attribute with invalid value.\n\nParameters:\n* $1 - invalid dir value",
|
|
"cite_error_ref_conflicting_dir": "Error message shown when ref tags with the same name contain conflicting dir attributes.\n\nParameters:\n* $1 - name of the reference",
|
|
"cite_error_ref_numeric_key": "Error message shown if the name of a ref tag only contains digits. Examples that cause this error are <code><ref name=\"123\"/></code> or <code><ref name=\"456\">input</ref></code>",
|
|
"cite_error_ref_no_key": "Error message shown when ref tags without any content (that is <code><ref/></code>) are used without a name.",
|
|
"cite_error_ref_too_many_keys": "Generic error message shown when unknown, unsupported parameters are used in a <code><ref></code> tag. This can happen when there is a mistake in a parameter name, or a parameter exclusive to the <code><references></code> tag is used in a <code><ref></code> tag. This and [[MediaWiki:Cite error references invalid parameters]] form a pair and should be worded similarly.",
|
|
"cite_error_ref_follow_conflicts": "Error message shown when a ref tag with the <code>follow=\"...\"</code> feature, which is intended for sites like Wikisource, also tries to use a <code>name=\"...\"</code> or <code>extends=\"...\"</code> parameter.",
|
|
"cite_error_ref_nested_extends": "\"Extending\" refers to using the <code>extends</code> attribute on a <code><ref></code> tag. Error message shown when a ref tag tries to extend another ref tag that's already extended, i.e. nesting sub-refs is not allowed.\n\nParameters:\n* $1 - Name of the invalid ref\n* $2 - Name of the previous, conflicting ref",
|
|
"cite_error_ref_no_input": "Error message shown when ref tags without names have no content. An example that cause this error is <code><ref></ref></code>",
|
|
"cite_error_references_duplicate_key": "Error message shown when multiple refs with same name exist but with different content",
|
|
"cite_error_references_invalid_parameters": "Generic error message shown when unknown, unsupported parameters are used in a <code><references></code> tag. This can happen when there is a mistake in a parameter name, or a parameter exclusive to the <code><ref></code> tag is used in a <code><references></code> tag. This and [[MediaWiki:Cite error ref too many keys]] form a pair and should be worded similarly.",
|
|
"cite_error_references_no_backlink_label": "Error message shown in the references tag when the same name is used for too many ref tags. Too many in this case is more than there are backlink labels defined in [[MediaWiki:Cite references link many format backlink labels]].\n\nIt is not possible to make a clickable link to this message. \"nowiki\" is mandatory around [[MediaWiki:Cite references link many format backlink labels]].",
|
|
"cite_error_no_link_label_group": "Error message shown when there are more references than custom link markers for a group. Gives an actionable remedy.\n\nParameters:\n* $1 - reference group name\n* $2 - System message name, <code>cite_link_label_group-<i>groupname</i></code>",
|
|
"cite_error_references_no_text": "This error occurs when the tag <code><ref name=\"something\"/></code> is used with the name-option specified and no other tag specifies a cite-text for this name.\n\nParameters:\n* $1 - key of the ref",
|
|
"cite_error_included_ref": "Error message shown if the <code><ref></code> tag is unbalanced, that means a <code><ref></code> is not followed by a <code></ref></code>",
|
|
"cite_error_included_references": "Error message shown if a <code><references></code> tag is found inside another.",
|
|
"cite_error_group_refs_without_references": "Error message shown when a ref group has no <code><references></code> tag.\n\nParameters:\n* $1 - the group name",
|
|
"cite_error_references_group_mismatch": "Error message shown when a <code><ref></code> has a different group than its enclosing <code><references></code>.\n\nParameters:\n* $1 - the value of the <code>group</code> attribute on the inner <code><ref></code>",
|
|
"cite_error_references_missing_key": "Error message shown when using something like\n<pre>\n<references>\n<ref name=\"refname\">...</ref>\n</references>\n</pre>\nand the reference <code><ref name=\"refname\"/></code> is not used anywhere in the page text.\n\nParameters:\n* $1 - the name of the unused reference (in the example above, “refname”)",
|
|
"cite_error_references_no_key": "Error message shown when a <code><ref></code> inside <code><references></code> does not have a <code>name</code> attribute.",
|
|
"cite_error_empty_references_define": "Error message shown when there is a <code><ref></code> inside <code><references></code>, but it does not have any content, e.g.\n<pre>\n<references>\n<ref name=\"foo\" />\n</references>\n</pre>\nParameters:\n* $1 - the <code><nowiki>name</nowiki></code> of the erroneous <code><ref></code> (in the above example, “foo”)",
|
|
"cite-tracking-category-cite-error": "{{tracking category name}}\nTracking category name.",
|
|
"cite-tracking-category-cite-error-desc": "Tracking category description.",
|
|
"cite-tracking-category-ref-extends": "{{tracking category name}}\nThe [[:mw:Special:MyLanguage/Help:Tracking categories|tracking category]] to add to the article if it uses <code><ref></code> tags with an <code>extends</code> attribute.",
|
|
"cite-tracking-category-ref-extends-desc": "Description of the <code>extends</code> feature tracking category. (See {{msg-mw|Cite-tracking-category-ref-extends}}.)",
|
|
"cite-reference-previews-reference": "Default heading for popups that show previews of references as provided by the Cite extension's <ref> tags (also known as footnotes).\n{{Identical|Reference}}",
|
|
"cite-reference-previews-book": "Heading for a popup previewing a citation from a book.\n{{Identical|Book}}",
|
|
"cite-reference-previews-journal": "Heading for a popup previewing a citation from a journal.\n{{Identical|Journal}}",
|
|
"cite-reference-previews-news": "Heading for a popup previewing a citation from the news.\n{{Identical|News}}",
|
|
"cite-reference-previews-note": "Heading for a popup previewing a footnote.\n{{Identical|Note}}",
|
|
"cite-reference-previews-web": "Heading for a popup previewing a citation from a website.\n{{Identical|Website}}",
|
|
"cite-reference-previews-collapsible-placeholder": "Placeholder text for collapsible tables, templates, or other large elements inside of a reference.",
|
|
"cite_reference_backlink_symbol": "{{optional}}\nSymbol used for the reference section, used to link back to where the reference is used.",
|
|
"cite_reference_link": "{{notranslate}}\n\nParameters:\n* $1 - ref key\n* $2 - references key\n* $3 - link label",
|
|
"cite_references_link_one": "{{notranslate}}\n\nParameters:\n* $1 - references key\n* $2 - ref key\n* $3 - reference text\n* $4 - optional CSS class for direction",
|
|
"cite_references_link_many": "{{notranslate}}\n\nParameters:\n* $1 - references key\n* $2 - list of links\n* $3 - reference text\n* $4 - optional CSS class for direction",
|
|
"cite_references_link_many_format": "{{notranslate}}\n\nParameters:\n* $1 - Reference key\n* $2 - Canonical numerical label for the backlink, always in the form \"1.1\", \"1.2\", and so on.\n* $3 - Alternative alphabetic label for the backlink as defined via [[MediaWiki:cite_references_link_many_format_backlink_labels]], typically \"a\", \"b\", and so on.",
|
|
"cite_references_link_many_format_backlink_labels": "{{optional}}\nAlternative alphabetic backlink labels for use in the [[MediaWiki:cite_references_link_many_format]] message as parameter $3. Should only be customized when the alphabet is not identical to the 26 basic Latin characters \"a\" to \"z\". Make sure to include at least as many labels as in the default sequence \"a\" to \"zz\" (702 labels), possibly even more. E.g. adding \"aaa\" to \"azz\" gives 1378 total. This message can be disabled if not needed.",
|
|
"cite_references_link_many_sep": "{{notranslate}}",
|
|
"cite_references_link_many_and": "{{optional}}",
|
|
"cite_references_link_accessibility_label": "Text for screen readers to describe the jump to citation link (\"↑\").\n\nSee also:\n* {{msg-mw|Cite references link many accessibility label}} - if the citation is used multiple times",
|
|
"cite_references_link_many_accessibility_label": "Text for screen readers to describe the jump to citation links (a b c ...) for citations which are used in multiple places.\n\nThis is going to be prepended to the first link, the following ones will just be read by screen readers as they are visible.\n\nSee also:\n* {{msg-mw|Cite references link accessibility label}} - if the citation is used one time",
|
|
"cite_references_link_accessibility_back_label": "Text for screen readers to describe the jump back to the last citation clicked for citations used in multiple places.",
|
|
"cite_section_preview_references": "Header for the section providing a preview of references in section preview",
|
|
"cite_warning": "Used when there are warnings about ref or references tags (less severe than errors).\n\nParameters:\n* $1 - a warning message",
|
|
"cite_warning_sectionpreview_no_text": "This warning occurs when the tag <code><ref name=\"something\"/></code> is used with the name-option specified but the definition for this named ref is outside of the currently being previewed section, or not defined at all.\n\nParameters:\n* $1 - key of the ref",
|
|
"cite-wikieditor-tool-reference": "Tooltip for the insert reference button in the WikiEditor tool bar.\n\n{{doc-jqueryMsg}}",
|
|
"cite-wikieditor-help-page-references": "Header for the reference section in WikiEditor's help menu.\n\n{{doc-jqueryMsg}}",
|
|
"cite-wikieditor-help-content-reference-description": "Row header in WikiEditor's reference help section.\n\n{{doc-jqueryMsg}}",
|
|
"cite-wikieditor-help-content-named-reference-description": "Row header in WikiEditor's reference help section.\n\n{{doc-jqueryMsg}}",
|
|
"cite-wikieditor-help-content-rereference-description": "Row header in WikiEditor's reference help section.\n\n{{doc-jqueryMsg}}",
|
|
"cite-wikieditor-help-content-extended-reference-description": "Row header in WikiEditor's reference help section.\n\n{{doc-jqueryMsg}}",
|
|
"cite-wikieditor-help-content-showreferences-description": "Row header in WikiEditor's reference help section.\n\n{{doc-jqueryMsg}}",
|
|
"cite-wikieditor-help-content-reference-example-text1": "Short sample text with a reference.\n\nParameters:\n* $1 - a <ref> tag\n\n{{doc-jqueryMsg}}",
|
|
"cite-wikieditor-help-content-reference-example-text2": "Short sample of something that can be put between <ref> tags.\n\nParameters:\n* $1 - a URL\n\n{{doc-jqueryMsg}}",
|
|
"cite-wikieditor-help-content-reference-example-text3": "Short sample of external link syntax.\n\nParameters:\n* $1 - a URL\n\n{{doc-jqueryMsg}}",
|
|
"cite-wikieditor-help-content-reference-example-ref-id": "{{optional}}\nUsed as an example of a name for a reference.",
|
|
"cite-wikieditor-help-content-reference-example-extra-details": "Used as an example for additional footnote content within a <ref> tag",
|
|
"cite-wikieditor-help-content-reference-example-ref-normal": "{{ignored}}",
|
|
"cite-wikieditor-help-content-reference-example-ref-named": "{{ignored}}",
|
|
"cite-wikieditor-help-content-reference-example-ref-reuse": "{{ignored}}",
|
|
"cite-wikieditor-help-content-reference-example-ref-extends": "{{ignored}}",
|
|
"cite-wikieditor-help-content-reference-example-ref-result": "{{ignored}}",
|
|
"cite-wikieditor-help-content-reference-example-reflist": "{{ignored}}"
|
|
}
|