mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-13 17:53:09 +00:00
b9400d1bf0
* This has always been a bug but was hidden because enwiki uses lower-alpha custom rendering and so we never noticed it when we tested this on enwiki. * Fixing the default gets rid of the need to override this for every single language that defined a non-decimal counter. * This also eliminates the need for some rules where the overrides were identical to the baseline definitions (counter-type is decimal and separator is '.'). Bug: T86782 Bug: T156350 Change-Id: I51f8a06c80bb897b66a0978b117fbc5560efd6cb
12 lines
332 B
CSS
12 lines
332 B
CSS
.mw-ref > a:after {
|
||
content: '[' counter( mw-Ref, arabic-indic ) ']';
|
||
}
|
||
|
||
.mw-ref > a[ data-mw-group ]:after {
|
||
content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, arabic-indic ) ']';
|
||
}
|
||
|
||
span[ rel='mw:referencedBy' ] > a:before {
|
||
content: counter( mw-references, arabic-indic ) '٫' counter( mw-ref-linkback, arabic-indic );
|
||
}
|