Would it be possible to make MediaWiki expose the intended user interface language via CSS? Being able to do something like
html.uselang-de #p-navigation h5 { text-transform: none; }
would make it easy to solve bug 1553, "Navigation headings should not be lower-cased in German": https://bugzilla.wikimedia.org/show_bug.cgi?id=1553
Remember the dot wrote:
Would it be possible to make MediaWiki expose the intended user interface language via CSS? Being able to do something like
html.uselang-de #p-navigation h5 { text-transform: none; }
would make it easy to solve bug 1553, "Navigation headings should not be lower-cased in German": https://bugzilla.wikimedia.org/show_bug.cgi?id=1553
I haven't tested it, but you should be able to do it with lang pseudo-class:
html:lang(de) #p-navigation h5 { text-transform: none; }
On Fri, Jan 9, 2009 at 6:08 AM, Nikola Smolenski smolensk@eunet.yu wrote:
I haven't tested it, but you should be able to do it with lang pseudo-class:
html:lang(de) #p-navigation h5 { text-transform: none; }
Won't work in IE6 for sure. I can't recall for IE7.
On Fri, Jan 9, 2009 at 5:31 AM, Aryeh Gregor <Simetrical+wikilist@gmail.comSimetrical%2Bwikilist@gmail.com
wrote:
On Fri, Jan 9, 2009 at 6:08 AM, Nikola Smolenski smolensk@eunet.yu wrote:
I haven't tested it, but you should be able to do it with lang
pseudo-class:
html:lang(de) #p-navigation h5 { text-transform: none; }
Won't work in IE6 for sure. I can't recall for IE7.
And it wouldn't work in multilingual wikis like Meta and Commons either. We need to be able to target the intended language of the user interface, not the language of the wiki's content.
By the way, although it doesn't solve our problem html[lang=de] does work in IE7.
wikitech-l@lists.wikimedia.org