http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89850
Revision: 89850
Author: preilly
Date: 2011-06-10 20:36:57 +0000 (Fri, 10 Jun 2011)
Log Message:
-----------
fix xml:lang code
Modified Paths:
--------------
trunk/extensions/MobileFrontend/views/layout/application.html.php
Modified: trunk/extensions/MobileFrontend/views/layout/application.html.php
===================================================================
--- trunk/extensions/MobileFrontend/views/layout/application.html.php
2011-06-10 20:16:42 UTC (rev 89849)
+++ trunk/extensions/MobileFrontend/views/layout/application.html.php
2011-06-10 20:36:57 UTC (rev 89850)
@@ -1,7 +1,7 @@
<?php
$applicationHtml = <<<EOT
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang='{$code}' dir='{$dir}' xml:lang='en'
xmlns='http://www.w3.org/1999/xhtml'>
+<html lang='{$code}' dir='{$dir}' xml:lang='{$code}'
xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>{$title}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs