mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-15 02:55:04 +00:00
Parsoid CSS: Don't make enwiki's default the default for all languages
* The default formatting for linkbacks for multiple named refs is determined by the "cite_references_link_many_format" message. It is only defined in en.json as "<sup>[[$1|$2]]</sup>". $2 is the output of referencesFormatEntryNumericBacklinkLabel. So, change the default Parsoid CSS rule to match that. * But, since we have shipped Parsoid CSS all this while with the enwiki default, temporarily add "ext.cite.style.en.json" with that enwiki default so that on deploy, enwiki citations in VE continue to display as before. Change-Id: I6f4b0e25189284ad0950977752739e7dc2951fec
This commit is contained in:
parent
731b162d4e
commit
8cfad38705
|
@ -83,7 +83,7 @@ span[ rel~='mw:referencedBy' ] {
|
|||
|
||||
span[ rel~='mw:referencedBy' ] a:before {
|
||||
counter-increment: mw-ref-linkback;
|
||||
content: counter( mw-ref-linkback, lower-alpha );
|
||||
content: counter( mw-references, decimal ) '.' counter( mw-ref-linkback, decimal );
|
||||
line-height: 1;
|
||||
vertical-align: super; /* <sup> use in Cite */
|
||||
font-size: smaller; /* <sup> use in Cite */
|
||||
|
|
6
modules/ext.cite.style.en.css
Normal file
6
modules/ext.cite.style.en.css
Normal file
|
@ -0,0 +1,6 @@
|
|||
/* Temporary: This is enwiki specific.
|
||||
* Need this for b/c till we add this to enwiki's Mediawiki:Common.css */
|
||||
|
||||
span[ rel~='mw:referencedBy' ] a:before {
|
||||
content: counter( mw-ref-linkback, lower-alpha );
|
||||
}
|
Loading…
Reference in a new issue