@import 'ext.cite.parsoid.rtl.less'; @counter-style nqo-counter { system: numeric; symbols: '߀' '߁' '߂' '߃' '߄' '߅' '߆' '߇' '߈' '߉'; } .mw-ref > a[ style~='mw-Ref' ]::after { content: '[' counter( mw-Ref, nqo-counter ) ']'; } .mw-ref > a[ style~='mw-Ref' ][ data-mw-group ]::after { content: '[' attr( data-mw-group ) ' ' counter( mw-Ref, nqo-counter ) ']'; } span[ rel='mw:referencedBy' ] > a::before { content: counter( mw-references, nqo-counter ) '.' counter( mw-ref-linkback, nqo-counter ); }