[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wikitech-l
Subject:    [Wikitech-l] Set xml:lang dynamically by each translated subpage of
From:       "Tian-Jian \"Barabbas\" Jiang" <barabbas () gmail ! com>
Date:       2007-07-29 11:34:56
Message-ID: 9aa00e110707290434w4474749ek2191be843b350cfa () mail ! gmail ! com
[Download RAW message or body]

Currently xml:lang is set by $wgContentLang only. It's not good to search
engines to determine the real content language of a specific page. The worse
thing is, Wikimania 2007 site set xml:lang incorrectly to "wikimania2007".

By helps from Ping Yeh <ping.nsr.yeh@gmail.com>, the patch checks available
language codes of Template:Languages to set xml:lang dynamically. It's
particularly important to http://wikimania2007.wikimedia.org or other sites
used Template:Language to retain the impact of search engine optimizations.

Please refer to http://bugzilla.wikimedia.org/show_bug.cgi?id=10736 for the
patch. Thank you!

    Cheers,
/Mike Tian-Jian "b6s" Jiang/
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/wikitech-l
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic