Last modified: 2009-06-15 21:18:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T21209, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19209 - Capitalisation of tabs
Capitalisation of tabs
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://nds-nl.wikipedia.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-15 13:25 UTC by Servien
Modified: 2009-06-15 21:18 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Servien 2009-06-15 13:25:08 UTC
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
Comment 1 Gurch 2009-06-15 17:57:25 UTC
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
Comment 2 Gurch 2009-06-15 18:02:21 UTC
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:

r1=49159&r2=49331">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').
Comment 3 Siebrand Mazeland 2009-06-15 18:07:56 UTC
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;
}
Comment 4 Siebrand Mazeland 2009-06-15 18:19:30 UTC
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;
}

Comment 5 Servien 2009-06-15 20:18:28 UTC
I added the code to monobook.css but not much is happening (emptied cache and deleted browsing history...)
Comment 6 Servien 2009-06-15 20:25:04 UTC
Never mind, it's fine now ;-). Thanks for all the help!
Comment 7 Servien 2009-06-15 20:26:52 UTC
...except for the side bar menu, that is still capitalised. :(
Comment 8 Siebrand Mazeland 2009-06-15 20:30:04 UTC
Closing per comment 7.
Comment 9 Siebrand Mazeland 2009-06-15 20:38:47 UTC
I committed the css changes in r51924. Will go live after the next Wikimedia update.
Comment 10 Gurch 2009-06-15 21:18:11 UTC
(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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links