Many wikis include now-deprecated rules which were already hidden behind an override. This task is to clean up all deprecated, on-wiki rules.
For an overview of the migration, see https://www.mediawiki.org/wiki/Parsoid/Parser_Unification/Cite_CSS .
Examples of deprecated rules to remove:
```
.mw-ref > a::after {
content: '[' counter( mw-Ref, decimal ) ']';
}
.mw-ref > a[data-mw-group]::after {
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, decimal ) ']';
}
.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 ) ']';
}
.mw-ref > a[style~="mw-Ref"][data-mw-group=lower-alpha]::after {
content: '[' counter( mw-Ref, lower-alpha ) ']';
}
```
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}.
Verify changes by opening a page where the footnote markers for each group are present, for 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`, then 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.
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. `typeof="mw:Extension/references"` or `.mw-references`)
* No change in visual editor or legacy parser output.
== Timeline
* [x] 2025-02-20 - Disable and override all footnote marker styling for Cite Parsoid. Wait one month for bug reports.
* [ ] 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.