On 16/07/07, Benct Philip Jonsson bpj@melroch.se wrote:
By default the text of the leftmost of the action tabs at the top of the content area show the name of the namespace in all lower case. Is it possible to change this text for custom namespaces? I'd preferably have it say "{{ucfirst:{{NAMESPACE}}}} article", but "article" as in the Main namespace would be an improvement too. Since the names of custom namespaces in our project are language names and the site language is English the all-lowercasing is particularly unfortunate!
This is due to the following CSS rule, at least for Monobook:
#p-cactions li a { text-transform: lowercase; }
You could set this to "text-transform: none" in MediaWiki:Monobook.css, but this would affect all content action tabs. The following might work to override it just for the namespace tabs, depending upon the browser:
div#p-cactions li[id|="ca-nstab"] a { text-transform: none; }
...however, this will affect the main namespace and other tabs, which I'm not sure is what's desired. I suppose you could always go back and un-override the value for those namespaces you don't want it for, or you could specifically only override those namespaces you *do* want it for.
---
Having spent five minutes checking all that, I re-read the question and realised that all you want is to be able to change the text of the tab, which is a much easier issue; just change the "MediaWiki:Nstab-<namespace>" message, where <namespace> is the lowercase namespace prefix, i.e. the value of the tab as it is now.
Rob Church