Parsoid/Parser Unification/Cite CSS/Technical details

From mediawiki.org

Is my wiki impacted?[edit]

Pretty much any wiki that uses localized numbering schemes is impacted.

Sources of localization[edit]

There are three sources that impact Cite localization:

  1. Language-specific counters in MediaWiki core
  2. Language-specific localization messages in the Cite extension repository
  3. Message overrides defined in the MediaWiki namespace on the wiki.

Any wiki that uses localized numbers on wiki might be impacted. Additionally, any wiki using a language that provides a localized message for one of these Cite extension messages may need CSS rules for Parsoid HTML

  • cite_reference_link
  • cite_references_link_many_format
  • cite_references_link_many_format_backlink_labels
  • cite_references_link_one
  • cite_references_link_many
  • cite_references_link_many_sep
  • cite_references_link_many_and
  • messages with "Cite_link_label_group-" prefix.

Example: For language br and message cite_references_link_many_format in order to determine if your language is affected, you should check to see if https://<your wiki>/wiki/MediaWiki:Cite_references_link_many_format has non-default content; this should include both wiki-specific overrides as well as any defaults set in i18n/<language code>.json in the Cite extension repository.

Localized language counters in MediaWiki core[edit]

The Content Transform Team has addressed this via T156350 and these rules will be available for all these language wikis on all projects. We have defined language-specific counters that had localized counters defined in MediaWiki and deployed them (E.g. arabic, bengali).

Localized Cite messages on a wiki[edit]

Some wikis further localize citation formatting by using message overrides in the MediaWiki namespace on that wiki.

Here is the list of 157 wikis that have some site message defined for Cite.

Project List of wikis
Wikipedia acewiki, amwiki, arywiki, arzwiki, azbwiki, azwiki, be-taraskwiki, bgwiki, bjnwiki, bnwiki, bswiki, cewiki, ckbwiki, cswiki, cvwiki, dawiki, dewiki, eowiki, eswiki, euwiki, fawiki, frpwiki, frwiki, glwiki, guwiki, hewiki, hiwiki, hrwiki, idwiki, ilowiki, iuwiki, jvwiki, kawiki, kkwiki, kowiki, kuwiki, kvwiki, ladwiki, lnwiki, minwiki, mrwiki, mswiki, mtwiki, ndswiki, nowiki, nvwiki, ocwiki, pagwiki, rowiki, scnwiki, scowiki, shwiki, skwiki, slwiki, sqwiki, srwiki, suwiki, svwiki, testwiki, tgwiki, tiwiki, trwiki, urwiki, yiwiki, zhwiki, arwiki, fiwiki, huwiki, itwiki, jawiki, nlwiki, plwiki, ptwiki, ruwiki, ukwiki, viwiki, enwiki, bewiki, cawiki, cywiki, elwiki, etwiki, fowiki, hywiki, iswiki, ltwiki, lvwiki, mlwiki, mnwiki, newiki, nnwiki, orwiki, simplewiki, tawiki, thwiki, tlwiki, zh-yuewiki
Wikiquote afwikiquote, enwikiquote, eswikiquote, glwikiquote, hewikiquote, hrwikiquote, itwikiquote, kawikiquote, ruwikiquote, sqwikiquote, ukwikiquote, viwikiquote
Wikisource cswikisource, dewikisource, fiwikisource, frwikisource, glwikisource, hewikisource, hrwikisource, itwikisource, ruwikisource, vecwikisource, viwikisource, zhwikisource, eswikisource, plwikisource, wikisource, srwikisource
Wikitionary bswiktionary, dewiktionary, enwiktionary, eswiktionary, frwiktionary, hrwiktionary, kuwiktionary, ocwiktionary, svwiktionary, trwiktionary, viwiktionary, zhwiktionary, gdwiktionary
Wikibooks enwikibooks, glwikibooks, hewikibooks, jawikibooks, kawikibooks, nowikibooks, ruwikibooks, slwikibooks, viwikibooks
Wikinews hewikinews, ukwikinews
Wikivoyage ruwikivoyage, eswikivoyage, trwikivoyage
Affiliate wikis ruwikimedia, uawikimedia
Other metawiki, commons