Index: trunk/phase3/includes/OutputHandler.php |
— | — | @@ -130,7 +130,7 @@ |
131 | 131 | |
132 | 132 | $out = <<<EOT |
133 | 133 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
134 | | -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> |
| 134 | +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" dir="ltr"> |
135 | 135 | <head> |
136 | 136 | <title>HTML validation error</title> |
137 | 137 | <style> |
Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -2113,7 +2113,7 @@ |
2114 | 2114 | foreach($wgXhtmlNamespaces as $tag => $ns) { |
2115 | 2115 | $ret .= "xmlns:{$tag}=\"{$ns}\" "; |
2116 | 2116 | } |
2117 | | - $ret .= "xml:lang=\"$wgContLanguageCode\" lang=\"$wgContLanguageCode\" dir=\"$dir\">\n"; |
| 2117 | + $ret .= "lang=\"$wgContLanguageCode\" dir=\"$dir\">\n"; |
2118 | 2118 | } |
2119 | 2119 | |
2120 | 2120 | $ret .= "<head>\n"; |
Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -314,7 +314,7 @@ |
315 | 315 | $lang = $wgLang->getCode(); |
316 | 316 | $dir = $wgLang->getDir(); |
317 | 317 | if ( $lang !== $wgContLang->getCode() || $dir !== $wgContLang->getDir() ) { |
318 | | - $attrs = " lang='$lang' xml:lang='$lang' dir='$dir'"; |
| 318 | + $attrs = " lang='$lang' dir='$dir'"; |
319 | 319 | |
320 | 320 | $tpl->set( 'userlangattributes', $attrs ); |
321 | 321 | |
Index: trunk/phase3/includes/templates/PHP4.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | |
29 | 29 | ?> |
30 | 30 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
31 | | -<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> |
| 31 | +<html xmlns='http://www.w3.org/1999/xhtml' lang='en'> |
32 | 32 | <head> |
33 | 33 | <title>MediaWiki <?php echo htmlspecialchars( $wgVersion ); ?></title> |
34 | 34 | <meta http-equiv='Content-Type' content='text/html; charset=utf-8' /> |
Index: trunk/phase3/includes/templates/NoLocalSettings.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | } |
37 | 37 | ?> |
38 | 38 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
39 | | -<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> |
| 39 | +<html xmlns='http://www.w3.org/1999/xhtml' lang='en'> |
40 | 40 | <head> |
41 | 41 | <title>MediaWiki <?php echo htmlspecialchars( $wgVersion ) ?></title> |
42 | 42 | <meta http-equiv='Content-Type' content='text/html; charset=utf-8' /> |
Index: trunk/phase3/config/Installer.php |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | |
114 | 114 | ?> |
115 | 115 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
116 | | -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> |
| 116 | +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" dir="ltr"> |
117 | 117 | <head> |
118 | 118 | <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
119 | 119 | <meta name="robots" content="noindex,nofollow"/> |