The issue has been mentioned at http://mail.wikipedia.org/pipermail/wikitech- l/2006-March/034397.html in wikitecl-l, and also in BugZilla:5790 http://bugzilla.wikimedia.org/show_bug.cgi?id=5790.
Hi all,
As I've mention that pages above, some Wiki sites has the incorrect lang tags which neither assiciated with ISO-693 nor IANA language tags. So I've examined this issue, and have a patch sibmitted to BugZilla. However the patch I've made cannot be accepted as Brian said that this would break up the caching system.
Is there any workaround/suggestions how to resolve this issue without breaks the current caching system? (As my limited knowledge in PHP5 classes, so I need some help who is familar with PHP5 classes).
This patch would solve the issues that the lang tag cannot associated to any of valid language tags, such as there's no "simple" tag which assiciated neither ISO-693 nor IANA language tags. And also the patch fixes the incorrect language tag which depends on the user interface language. There's some sample patch explaining how the language tag to be determined, such as a Traditional Chinese user which supposes to using Traditional Chinese fonts (zh-hant/zh-TW) to see the contexts, rather than using Simplified Chinese fonts (zh/zh-hans/zh- CN).
regards, :) Shinjiman
-- http://meta.wikimedia.org/User:Shinjiman http://en.wikipedia.org/User:Shinjiman