Disable RDFa/microdata by default
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 4 Feb 2010 19:01:34 +0000 (19:01 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 4 Feb 2010 19:01:34 +0000 (19:01 +0000)
It's not clear we want these as an input format, per wikitech-l
discussion.  We don't want to allow them if we're not sure, because once
we allow them we can't disable them without breaking things.

includes/DefaultSettings.php

index aa4acb7..3b419c0 100644 (file)
@@ -951,12 +951,12 @@ $wgHtml5Version = null;
  * Enabled RDFa attributes for use in wikitext.
  * NOTE: Interaction with HTML5 is somewhat underspecified.
  */
-$wgAllowRdfaAttributes = true;
+$wgAllowRdfaAttributes = false;
 
 /**
  * Enabled HTML5 microdata attributes for use in wikitext, if $wgHtml5 is also true.
  */
-$wgAllowMicrodataAttributes = true;
+$wgAllowMicrodataAttributes = false;
 
 /**
  * Should we try to make our HTML output well-formed XML?  If set to false,