Page MenuHomePhabricator

Capitalisation of tabs
Closed, ResolvedPublic

Description

Author: servien

Description:
Since today the tabs as well as the side bar heading on the nds-nl Wikipedia all start with a capital letter, can someone change this to small letters?

Thanks in advance.

Servien


Version: unspecified
Severity: enhancement
URL: http://nds-nl.wikipedia.org

Details

Reference
bz19209

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:37 PM
bzimport set Reference to bz19209.
bzimport added a subscriber: Unknown Object (MLST).

matthew.britton wrote:

Adding:

#p-cactions li a, .portlet h6 { text-transform: lowercase; }

to [[MediaWiki:Monobook.css]] on the affected wiki(s) should fix this.

Though it's probably worth finding out what caused it to change; I'm seeing the appropriate lines in http://nds-nl.wikipedia.org/w/skins-1.5/monobook/main.css and nothing overriding it in http://nds-nl.wikipedia.org/wiki/MediaWiki:Monobook.css or http://nds-nl.wikipedia.org/wiki/MediaWiki:Common.css

matthew.britton wrote:

Sorry, forget that last bit. I overlooked the lines

#p-personal ul[lang|=nds],
#p-cactions ul[lang|=nds] li a,

...

{

text-transform: none;

}

that were added here:

http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/monobook/main.css?r1=49159&r2=49331

Since the CSS '|=' operator treats hyphens as separators, those two lines are matching "nds-nl" as well as "nds". The override I mentioned above should work anyway (might need to use '!important').

Is there a way to change main.css (or another file) other than adding the following AFTER the nds definitions to resolve this for nds-nl?

.portlet h5[lang|=nds],
.portlet h6[lang|=nds],
#p-personal ul[lang|=nds],
#p-cactions ul[lang|=nds] li a {
text-transform: lowercase;
}

Code piece should of course be:
.portlet h5[lang|=nds-nl],
.portlet h6[lang|=nds-nl],
#p-personal ul[lang|=nds-nl],
#p-cactions ul[lang|=nds-nl] li a {

text-transform: lowercase;

}

servien wrote:

I added the code to monobook.css but not much is happening (emptied cache and deleted browsing history...)

servien wrote:

Never mind, it's fine now ;-). Thanks for all the help!

servien wrote:

...except for the side bar menu, that is still capitalised. :(

I committed the css changes in r51924. Will go live after the next Wikimedia update.

matthew.britton wrote:

(In reply to comment #7)

...except for the side bar menu, that is still capitalised. :(

Yeah, missed a few, I think it actually needs all four of the selectors in Siebrand's snippets:

.portlet h5, .portlet h6, #p-personal ul, #p-cactions