Hello. I saw now the new mediawiki:Cite section preview references message. It's very good thought to create it, but it looks exactly as page topic, and it's extremally confusing. I changed the code, using span, or '' italic, but it does not work, because the message is not wiki code parsed. Could you pleace make the text colored green, so the user will see it's not a regular topic? Thank you.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Use div for references in section preview | mediawiki/extensions/Cite | master | +9 -5 |
Event Timeline
Already possible, you can use MediaWiki:Common.css to apply styling to the class of this particular header.
Thank's for the tip, @TheDJ, but .mw-ext-cite-cite_section_preview_references css style is not exclusive for this mediawiki message. For example, it's inherited to the first reference (???).
ehm. that would seem more likely to be because Tidy is screwing with the generated output. Ah, this is because span was used instead of div... I warned about this....
Pinging @Cenarium because this was not the intent.
Change 270596 had a related patch set uploaded (by Cenarium):
Use div for references in section preview
Indeed I had noticed this, see comments in https://gerrit.wikimedia.org/r/#/c/268870/.
The patch https://gerrit.wikimedia.org/r/270596 from a few days ago addresses this issue.
Right, no, I mean whenever it's deployed. Which will probably be next week (see https://www.mediawiki.org/wiki/MediaWiki_1.27/Roadmap), but it might turn out differently because the current version's deployment is delayed.
We're still on wmf.14 :( (https://en.wikipedia.org/wiki/Special:Version). 1.27.0-wmf.15 should actually happen this week.
Thursday has barely started in the US :) The deployment which should bring this change to Wikipedias should begin in a few minutes: https://wikitech.wikimedia.org/wiki/Deployments#deploycal-item-20160303T2000
No difference, @matmarex. Why are you asking? There wasn't any new release from Wednesday.
There was, on Thursday, as usual. The following works for me now on the English Wikipedia:
#mw-ext-cite-cite_section_preview_references_header { color: green; }
I checked now that our css code, is exactly as yours. And opened a preview now.
This is what I see, @matmarex
And our wiki has updates every Wednesday, a day before yours.
Works for me, on https://he.wikipedia.org/w/index.php?title=מלון_אורכידאה&action=submit§ion=0 (random article).