Many wikis include now-deprecated rules which arewere already hidden behind an override. This task is to clean up all deprecated, on-wiki rules.
TheFor an override looks like this:
```
.mw-ref > a[ style~='mw-Ref' ]::after {
content: none !important;
}
```view of the migration, see https://www.mediawiki.org/wiki/Parsoid/Parser_Unification/Cite_CSS .
An example of the deprecated rules to remove can be found on [[ https://ar.wikipedia.org/wiki/%D9%85%D9%8A%D8%AF%D9%8A%D8%A7%D9%88%D9%8A%D9%83%D9%8A:Common.css | arwiki ]]:
```
.mw-ref > a[data-mw-group=decimal]::after {
content: '[' counter( mw-Ref, decimal ) ']';
}
.mw-ref > a[data-mw-group=lower-roman]::after {
content: '[' counter( mw-Ref, lower-roman ) ']';
}
....
```
The original intention of these rules is to style Parsoid footnote markers to look the same as legacy parser output, but this has been redundant since {T382310}. The ultimate test of whether the cleanup is successful is to go to a page where the footnote markers for each group are present, purge the output using `?action=purge`, then request the page from Parsoid using `?useparsoid=1` .
Beginning 20 FebruaryVerify changes by opening a page where the footnote markers for each group are present, we want to remove all rules affecting the footnote markers. This should be safe since the visible HTML is already suppressing these rules using the `!important` directive above. When inspecting the HTML DOM in a browserfor example the [[ https://en.wikipedia.org/w/index.php?title=Palestine&oldid=1281290583 | top line of this article ]] , purge both parser caches with `?action=purge`, it should be possible to see that the rules to be deleted are disabled and not part of the rendered pagethen request [[ https://en.wikipedia.org/w/index.php?title=Palestine&oldid=1281290583&useparsoid=1 | the same page from Parsoid ]] with query `?useparsoid=1` and compare that against the footnote markers in legacy parser output.
Beginning 20 March,The changes should be a no-op because at the moment, all CSS styling of the marker is suppressed by an override coming from Cite (introduced in patch e0bed522dc):
```
.mw-ref > a[ style~='mw-Ref' ]::after {
content: none !important;
}
```
== Out of scope
* No change to backlink markers (matching on `mw:referencedBy`)
* No change to ref list numbering (matching on eg. staff will make the remaining on-wiki changes`typeof="mw:Extension/references"` or `.mw-references`)
* No change in visual editor or legacy parser output.
Do not change rules related to backlink markers, which are matching on `mw:referencedBy`— they will be addressed in later work== Timeline
* [x] 2025-02-20 - Disable and override all footnote marker styling for Cite Parsoid. Wait one month for bug reports.
See https://www.mediawiki.org/wiki/Parsoid/Parser_Unification/Cite_CSS for an overview of the migration* [ ] 2025-03-20 - Staff will make the remaining on-wiki changes to remove deprecated footnote marker styling.
[[ https://global-search.toolforge.org/?q=mw-ref%5B%5E-a-z%5D®ex=1&namespaces=8&title=.*css | This search ]] finds 114 occurrences of this sort of rule.