Cite CSS should be adjusted by wikis to set a non-standard rendering style (e.g. 1.0, 1.1 / a,b,c, removing brackets, etc.)
Open, NormalPublic

Description

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.

bzimport set Reference to bz49346.
Esanders created this task.Jun 8 2013, 9:58 PM
  • Bug 51453 has been marked as a duplicate of this bug. ***

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.

I74d4878 will let us fix this.

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.

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSun, Apr 3, 6:53 AM
Jdforrester-WMF changed the title from "VisualEditor: Reference should use system messages to work out their rendering style (e.g. 1.0, 1.1 / a,b,c)" to "Cite CSS should be adjusted by wikis to set a rendering style (e.g. 1.0, 1.1 / a,b,c)".
Jdforrester-WMF edited the task description. (Show Details)
Jdforrester-WMF set Security to None.

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.

Jdforrester-WMF changed the title from "Cite CSS should be adjusted by wikis to set a rendering style (e.g. 1.0, 1.1 / a,b,c)" to "Cite CSS should be adjusted by wikis to set a non-standard rendering style (e.g. 1.0, 1.1 / a,b,c, removing brackets, etc.)".Sun, Apr 3, 7:09 AM

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);
}

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.

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.

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.

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.

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). :-)

Krinkle removed a subscriber: Krinkle.Sun, Apr 3, 9:49 PM

Add Comment