<pre id="comment_text_0">Currently xml:lang is set by $wgContentLang only. It&#39;s not good to search<br>engines to determine the real content language of a specific page. The worse<br>thing is, Wikimania 2007 site set xml:lang incorrectly to &quot;wikimania2007&quot;.
<br><br>By helps from Ping Yeh &lt;<a href="mailto:ping.nsr.yeh@gmail.com">ping.nsr.yeh@gmail.com</a>&gt;, the patch checks available<br>language codes of Template:Languages to set xml:lang dynamically. It&#39;s<br>particularly important to 
<a href="http://wikimania2007.wikimedia.org/" rel="nofollow">http://wikimania2007.wikimedia.org</a> or other sites<br>used Template:Language to retain the impact of search engine optimizations.<br><br>Please refer to <a href="http://bugzilla.wikimedia.org/show_bug.cgi?id=10736">
http://bugzilla.wikimedia.org/show_bug.cgi?id=10736</a> for the<br>patch. Thank you!<br><br>    Cheers,<br>/Mike Tian-Jian &quot;b6s&quot; Jiang/<br></pre>