There are a number of i18n messages in the Cite extension that don't seem to be actually localized. See below. It seems it is better to eliminate these messages - I especially don't see a reason to let HTML structures be localized. In Parsoid land, we are relying on CSS to get different formatting and localization of citations.is epic addresses only the backlink messages, Eliminating unused customizations could simplify the CSS rulindependently of {T383763} which addresses that need to be written and maintained in some casese footnote markers in article content.
== cite_reference_link ==
Default message: `<sup id=\"$1\" class=\"reference\">[[#$2|<span class=\"cite-bracket\">[</span>$3<span class=\"cite-bracket\">]</span>]]</sup>`
Purpose: renders the superscript footnote marker with square brackets and a link.
Known customizations: [[ https://global-search.toolforge.org/?q=.*®ex=1&namespaces=8&title=Cite+reference+link | 15 sites ]] customize this message to achieve,
* Removing square brackets
* Smaller font size
Recommendation: can be deprecated after {T376717} is fully deployed. Bracket styling should be applied to `.cite-bracket`All changes recommended in this epic must be coordinated with work in {T383036} and {T383041}.
There are a number of i18n messages in the Cite extension that don't seem to be actually localized. See below. It seems it is better to eliminate these messages - I especially don't see a reason to let HTML structures be localized. In Parsoid land, marker styling should be applied to `.reference` we are relying on CSS to get different formatting and localization of citations. Eliminating unused customizations could simplify the CSS rules that need to be written and maintained in some cases.
== cite_references_link_one ==
Default message: `<li id=\"$1\"$4><span class=\"mw-cite-backlink\">[[#$2|↑]]</span> $3</li>`
Purpose: renders a single backlink marker in the reference list. Also includes the footnote body text.
Known customizations: [[ https://global-search.toolforge.org/?q=.*®ex=1&namespaces=8&title=Cite+references+link+one | 54 sites ]] customize this message to achieve,
* Change the "↑" character to "^" or "▲"
* Apply bold
* Add horizontal whitespace
* Suppress in print media.
* Remove backlink markers entirely.
* Optional direction parameter `$4` is sometimes omitted, probably mistakenly.
Recommendation: styling can already be applied to `.mw-cite-backlink` . Should suppress in print media by default. Arrow character replacement is not easy at the moment and could be supported with an additional span or shifting the existing span to only apply to the arrow. Footnote body should be independent. But any changes need to be coordinated with work in {T383036}.
== cite_references_link_many ==
Default message: `<li id=\"$1\"$4><span class=\"mw-cite-backlink\">↑ $2</span> $3</li>`
Purpose: renders a list of more than one backlink marker. Includes footnote body.
Known customizations: [[ https://global-search.toolforge.org/?q=.*®ex=1&namespaces=8&title=Cite+references+link+many | 52 sites ]] customize this message to achieve,
* Same customizations as `cite_references_link_one` above
* Sometimes the list of backlinks is surrounded in square brackets, eg. "[a b c]".
Recommendation: directly reuse any customization mechanisms for `cite_references_link_one`, so that the arrow is customized the same way in both cases.
== cite_references_link_many_format ==
Default message: `<sup>[[#$1|$2]]</sup>`
Purpose: renders individual backlink markers when more than one appears on a reference.
Known customizations: [[ https://global-search.toolforge.org/?q=.*®ex=1&namespaces=8&title=Cite+references+link+many+format | 99 sites ]] customize this message to achieve,
* Switch to the "alternate" alphabetical backlink labels
* Style with bold and italics
* Style horizontal whitespace
Recommendation: Coordinate with {T383036}. Make it easier to select individual backlink elements semantically, eg. by adding a span around each one.
== cite_references_link_many_format_backlink_labels ==
This is the focus of {T383036}.
== cite_references_link_many_sep and cite_references_link_many_and ==
Default message: ` `
Known customizations: [[ https://global-search.toolforge.org/?q=.*®ex=1&namespaces=8&title=Cite+references+link+many+sep | 4 sites ]] and [[ https://global-search.toolforge.org/?q=.*®ex=1&namespaces=8&title=Cite+references+link+many+and | 3 sites ]], respectively
* Replace with whitespace or comma list elements ("," plus "and")
Recommendation: boolean configuration to use existing l10n [[ https://doc.wikimedia.org/mediawiki-core/master/php/classMediaWiki_1_1Language_1_1Language.html#ac1a78d8834747ae658013ca244ae5a20 | commaList ]] . Coordinate with {T383041}.