2 * Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser.
6 * Auto-numbered external links
7 * Parsoid renders those as link without content, and lets CSS do the
8 * counting. This way the counting style can be customized, and counts update
9 * automatically when content is modified.
12 counter-reset: mw-numbered-ext-link;
14 a[ rel~='mw:ExtLink' ]:empty::after {
15 content: '[' counter( mw-numbered-ext-link ) ']';
16 counter-increment: mw-numbered-ext-link;