mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-15 10:59:56 +00:00
ddda536792
Same as Icfa8215 where we removed the …_suffix messages. This patch is not blocked on anything according to CodeSearch: https://codesearch.wmcloud.org/search/?q=cite_references%3F_link_prefix According to GlobalSearch there are 2 usages we need to talk about: https://global-search.toolforge.org/?q=.®ex=1&namespaces=8&title=Cite.references%3F.link.prefix.* zh.wiktionary replaces "cite_ref-" with "_ref-", and "cite_note-" with "_note-", i.e. they did nothing but remove the word "cite". This happened in 2006, with no explanation. ka.wikibooks and ka.wikiquote replace "cite_note-" with "_შენიშვნა-", which translates back to "_note-". One user did this in 2007, 16 seconds apart. It appears like both are attempts to localize what can be localized, no matter if it's really necessary or not. https://zh.wiktionary.org/wiki/Special:Contributions/Shibo77?offset=20060510 https://ka.wikiquote.org/wiki/Special:Contributions/Trulala?offset=20070219 Note how one user experimented with an "a" in some of the edits to see what effect the change might have, to imediatelly revert it. The modifications don't really have an effect on anything, except on the anchors in the resulting <a href="#_ref-5"> and <sup id="_ref-5"> HTML. It might also be briefly visible in the browser's address bar when such a link is clicked. We can only assume the two users did this to make the URL appear shorter (?). A discussion apparently never happened. Bot users are inactive. Both pieces of HTML are generated in the Cite code. Removing the messages will change all places the same time. All links will continue to work. The only possible effect is that hard-coded weblinks to an individual reference will link to the top of the article instead. But: a) This is extremely unlikely to happen. There is no reason to link to a reference from outside of the article. b) Such links are not guaranteed to work anyway as they can break for a multitude of other reasons, e.g. the <ref> being renamed, removed, or replaced. c) Even if such a link breaks, it still links to the correct article. There is also no on-wiki code on zh.wiktionary that would do anything with the shortened prefix: https://zh.wiktionary.org/w/index.php?search=insource%3A%2F_%28ref%7Cnote%29-%2F&title=Special%3A%E6%90%9C%E7%B4%A2&profile=advanced&fulltext=1&ns2=1&ns4=1&ns8=1&ns10=1&ns12=1&ns828=1&ns2300=1 I argue this is safe to remove, even without contacting the mentioned communities first. Bug: T321217 Change-Id: I160a119710dc35679dbdc2f39ddf453dbd5a5dfa
77 lines
10 KiB
JSON
77 lines
10 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Amire80",
|
|
"Dani",
|
|
"Jon Harald Søby",
|
|
"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 Wikisource-specific <code>follow=\"…\"</code> feature also tries to use a <code>name=\"…\"</code> and/or <code>extends=\"…\"</code> parameter.",
|
|
"cite_error_ref_nested_extends": "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_group": "Error message shown when doing something like\n<pre>\n<references group=\"foo\">\n<ref>...</ref>\n</references>\n</pre>\nand there are no <code><ref></code> tags in the page text which would use <code>group=\"foo\"</code>.\n\nParameters:\n* $1 - the name of the unused <code>group</code> (in the example above, “foo”)",
|
|
"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_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 numeric backlink label for the link, always in the form \"1.2\"\n* $3 - optional alternate backlink label as defined via [[MediaWiki:cite_references_link_many_format_backlink_labels]]",
|
|
"cite_references_link_many_format_backlink_labels": "{{Optional}}",
|
|
"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-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-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-result": "{{ignored}}",
|
|
"cite-wikieditor-help-content-reference-example-reflist": "{{ignored}}"
|
|
}
|