https://bugzilla.wikimedia.org/show_bug.cgi?id=1553


[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #5757 is|0                           |1
           obsolete|                            |




--- Comment #49 from [email protected]  2009-02-01 02:31:54 UTC ---
Created an attachment (id=5764)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=5764)
Proposed patch v3

:lang() would be best, but it doesn't work on IE7. [lang|=de] seems most
reasonable option to me, the other methods are hackish. IE6 users that can't be
bothered to upgrade will just have to suffer with the status quo of no
capitalization.

Don't we already use getCode() for <html lang="xx" xml:lang="xx">? If I
understand the specifications correctly, MediaWiki's non-deprecated language
codes are standards-compliant, even the more unusual ones.
http://www.w3.org/TR/html4/struct/dirlang.html#h-8.1.1 even includes the
example "en-cockney" as a valid language code.

I haven't asked for commit access; I figured that if the developers thought I
should have access, they'd offer it ;-). It would be useful for trivial
changes, but even if I had commit access, I'd still have to run stuff like this
patch by the other developers to catch problems like the one you mentioned. And
I'm still a bit unsure if accessing $wgLang directly is the best idea - maybe
the call to getLang() would be more elegant if it were integrated into
OutputPage or something.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to