There are a couple of ways to configure references to display differently:
http://www.mediawiki.org/wiki/Extension:Cite/Cite.php#Set_references_to_use_.5E_and_letters_like_Wikipedia
we should access these so the rendering in edit mode is consistent with the that in read mode.
Description
Details
- Reference
- bz49346
Event Timeline
I think that this is the same problem:
Footnotes created with the ref group <ref group=lower-alpha> are displayed in the saved page as [a], [b], etc. If you open them in VisualEditor, they display (while editing) as [lower-alpha 1], [lower-alpha 2], etc. instead of [a], [b], etc.
Got a feedback about it during a workshop: on fr.wp, footnotes are labelled as "a, b, c"... in reading mode and "3.0, 3.1, 3.2"... on edit mode. Plus, notes on the text don't have brackets on reading mode and have them on editing mode.
This requires changes to Common.css (or some other site-level styling script) to change the rendering. However, I'd invite wikis to seriously consider whether they really want to vary from every other wiki's rendering.
The change for frwiki to make it look like their current local customisation is roughly:
/* French Wikipedia over-ride of styling for <ref>s */ span.mw-ref a::after { content: counter(mw-Ref,decimal); }
On the reverse order, what prevents you to use the Common.css as it is? I mean, on a WYSIWYG system, you expect to have the same rendering both on reading and editing, which is what has been defined in the Common.css or in website settings.
Thank you for the fix, by the way.
Because Cite doesn't yet use these styles in read mode (that's T104927: Use ext.cite.style to style output, rather than wikitext styling, which is in fact blocked by doing this). :-)