mediawiki-skins-MinervaNeue/skinStyles/mediawiki.skinning.content.parsoid/minerva.less
Umherirrender 5bd834e0c7 build: Updating npm dependencies
* stylelint-config-wikimedia: 0.13.0 → 0.14.0

Run stylelint fix to fix the new stylelint rule

Change-Id: I7738ae421e84dd3171355391ebc82dd812b39ca4
2023-03-31 21:50:36 +02:00

19 lines
426 B
Plaintext

/**
* Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser.
*/
@import '../../minerva.less/minerva.variables.less';
/*
* Auto-numbered external links
* (copied from MediaWiki's content.parsoid.less)
*/
.mw-parser-output {
counter-reset: mw-numbered-ext-link;
a[ rel~='mw:ExtLink' ]:empty::after {
content: '[' counter( mw-numbered-ext-link ) ']';
counter-increment: mw-numbered-ext-link;
}
}