Merge "Remove support for $wgWellFormedXml=false"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 13 May 2016 21:52:23 +0000 (21:52 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 13 May 2016 21:52:23 +0000 (21:52 +0000)
1  2 
includes/DefaultSettings.php

@@@ -3130,24 -3130,6 +3130,6 @@@ $wgHTMLFormAllowTableFormat = true
   */
  $wgUseMediaWikiUIEverywhere = false;
  
- /**
-  * Should we try to make our HTML output well-formed XML?  If set to false,
-  * output will be a few bytes shorter, and the HTML will arguably be more
-  * readable.  If set to true, life will be much easier for the authors of
-  * screen-scraping bots, and the HTML will arguably be more readable.
-  *
-  * Setting this to false may omit quotation marks on some attributes, omit
-  * slashes from some self-closing tags, omit some ending tags, etc., where
-  * permitted by HTML5.  Setting it to true will not guarantee that all pages
-  * will be well-formed, although non-well-formed pages should be rare and it's
-  * a bug if you find one.  Conversely, setting it to false doesn't mean that
-  * all XML-y constructs will be omitted, just that they might be.
-  *
-  * Because of compatibility with screen-scraping bots, and because it's
-  * controversial, this is currently left to true by default.
-  */
- $wgWellFormedXml = true;
  /**
   * Permit other namespaces in addition to the w3.org default.
   *
@@@ -4882,6 -4864,7 +4864,6 @@@ $wgGroupPermissions['sysop']['move-cate
  $wgGroupPermissions['sysop']['patrol'] = true;
  $wgGroupPermissions['sysop']['autopatrol'] = true;
  $wgGroupPermissions['sysop']['protect'] = true;
 -$wgGroupPermissions['sysop']['editcascadeprotected'] = true;
  $wgGroupPermissions['sysop']['editprotected'] = true;
  $wgGroupPermissions['sysop']['rollback'] = true;
  $wgGroupPermissions['sysop']['upload'] = true;
@@@ -4903,7 -4886,6 +4885,7 @@@ $wgGroupPermissions['sysop']['suppressr
  # $wgGroupPermissions['sysop']['upload_by_url'] = true;
  $wgGroupPermissions['sysop']['mergehistory'] = true;
  $wgGroupPermissions['sysop']['managechangetags'] = true;
 +$wgGroupPermissions['sysop']['deletechangetags'] = true;
  
  // Permission to change users' group assignments
  $wgGroupPermissions['bureaucrat']['userrights'] = true;
@@@ -5479,6 -5461,7 +5461,6 @@@ $wgGrantPermissions['delete']['undelete
  
  $wgGrantPermissions['protect'] = $wgGrantPermissions['editprotected'];
  $wgGrantPermissions['protect']['protect'] = true;
 -$wgGrantPermissions['protect']['editcascadeprotected'] = true;
  
  $wgGrantPermissions['viewmywatchlist']['viewmywatchlist'] = true;