Many wikis include now-deprecated rules which are hidden behind thisan override. This task is to clean up all deprecated, on-wiki rules.
The override:e looks like this:
```
.mw-ref > a[ style~='mw-Ref' ]::after {
content: none !important;
}
```
ForAn example, see these 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 February, 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 browser, it should be possible to see that the rules to be deleted are disabled and not part of the rendered page.
Do not change rules related to backlink markers, theswhich are matching on `mw:referencedBy` and— they will be addressed in later work.
See https://www.mediawiki.org/wiki/Parsoid/Parser_Unification/Cite_CSS for an overview of the migration.
[[ 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.