dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0601364
)
Remove a use of xml:lang that I missed in r62312
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Sun, 28 Mar 2010 01:37:49 +0000
(
01:37
+0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Sun, 28 Mar 2010 01:37:49 +0000
(
01:37
+0000)
If this is required for some reason for RDFa, it should be allowed only
when RDFa is enabled, like xmlns:.
includes/Sanitizer.php
patch
|
blob
|
history
diff --git
a/includes/Sanitizer.php
b/includes/Sanitizer.php
index
fd51b92
..
45b2cf6
100644
(file)
--- a/
includes/Sanitizer.php
+++ b/
includes/Sanitizer.php
@@
-1253,7
+1253,7
@@
class Sanitizer {
static function setupAttributeWhitelist() {
global $wgAllowRdfaAttributes, $wgHtml5, $wgAllowMicrodataAttributes;
- $common = array( 'id', 'class', 'lang', 'dir', 'title', 'style'
, 'xml:lang'
);
+ $common = array( 'id', 'class', 'lang', 'dir', 'title', 'style' );
if ( $wgAllowRdfaAttributes ) {
#RDFa attributes as specified in section 9 of http://www.w3.org/TR/2008/REC-rdfa-syntax-20081014