Merge "Remove $wgAllowMicroDataAttributes and $wgAllowRdfaAttributes"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 18 Mar 2016 18:03:04 +0000 (18:03 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 18 Mar 2016 18:03:04 +0000 (18:03 +0000)
1  2 
RELEASE-NOTES-1.27
includes/DefaultSettings.php

diff --combined RELEASE-NOTES-1.27
@@@ -10,6 -10,9 +10,9 @@@ As of 1.27, MediaWiki now requires PHP 
  HHVM 3.1.
  
  === Configuration changes in 1.27 ===
+ * $wgAllowMicrodataAttributes and $wgAllowRdfaAttributes were removed,
+   now always enabled. If you use RDFa on your wiki, you now have to explicitly
+   set $wgHtml5Version to 'HTML+RDFa 1.0' or 'XHTML+RDFa 1.0'.
  * $wgUseLinkNamespaceDBFields was removed.
  * Deprecated $wgResourceLoaderMinifierStatementsOnOwnLine and
    $wgResourceLoaderMinifierMaxLineLength, because there was little value in
  * $wgEnotifUseJobQ was removed and the job queue is always used.
  * The functionality of the ApiSandbox extension has been merged into core. The
    extension should no longer be used.
 +* $wgPreloadJavaScriptMwUtil was removed (deprecated in 1.26).
 +  Extensions, skins, gadgets and scripts that use the mediawiki.util module must
 +  express a dependency on it.
  
  === New features in 1.27 ===
  * $wgDataCenterUpdateStickTTL was also added. This decides how long a user
@@@ -364,7 -364,6 +367,7 @@@ changes to languages because of Phabric
  ** User::getWatchedItem was removed.
  * Unit tests don't work with external PHPUnit anymore, Composer is now the only supported
    way. Run `composer install` to install it and other dev dependencies to run unit tests.
 +* wl_id field added to the watchlist table.
  
  == Compatibility ==
  
@@@ -3081,10 -3081,11 +3081,11 @@@ $wgHtml5 = true
  
  /**
   * Defines the value of the version attribute in the &lt;html&gt; tag, if any.
-  * If $wgAllowRdfaAttributes is true, and this evaluates to boolean false
-  * (like if it's left at the default null value), it will be auto-initialized
-  * to the correct value for RDFa+HTML5.  As such, you should have no reason to
-  * ever actually set this to anything.
+  *
+  * If your wiki uses RDFa, set it to the correct value for RDFa+HTML5.
+  * Correct current values are 'HTML+RDFa 1.0' or 'XHTML+RDFa 1.0'.
+  * See also http://www.w3.org/TR/rdfa-in-html/#document-conformance
+  * @since 1.16
   */
  $wgHtml5Version = null;
  
@@@ -3105,17 -3106,6 +3106,6 @@@ $wgHTMLFormAllowTableFormat = true
   */
  $wgUseMediaWikiUIEverywhere = false;
  
- /**
-  * Enabled RDFa attributes for use in wikitext.
-  * NOTE: Interaction with HTML5 is somewhat underspecified.
-  */
- $wgAllowRdfaAttributes = false;
- /**
-  * Enabled HTML5 microdata attributes for use in wikitext.
-  */
- $wgAllowMicrodataAttributes = 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
@@@ -3574,6 -3564,24 +3564,6 @@@ $wgResourceLoaderMinifierMaxLineLength 
   */
  $wgIncludeLegacyJavaScript = true;
  
 -/**
 - * Whether to ensure the mediawiki.util is loaded before other modules.
 - *
 - * Before MediaWiki 1.19, modules used to load less asynchronous which allowed
 - * modules to lack dependencies on 'popular' modules that were likely loaded already.
 - *
 - * This setting is to aid scripts during migration by providing mediawiki.util
 - * unconditionally (which was the most commonly missed dependency). It doesn't
 - * cover all missing dependencies obviously but should fix most of them.
 - *
 - * This should be removed at some point after site/user scripts have been fixed.
 - * Enable this if your wiki has a large amount of user/site scripts that are
 - * lacking dependencies.
 - *
 - * @deprecated since 1.26: Always declare dependencies.
 - */
 -$wgPreloadJavaScriptMwUtil = false;
 -
  /**
   * Whether or not to assign configuration variables to the global window object.
   *
@@@ -5955,7 -5963,7 +5945,7 @@@ $wgCachePrefix = false
  /**
   * Display the new debugging toolbar. This also enables profiling on database
   * queries and other useful output.
 - * Will disable file cache.
 + * Will be ignored if $wgUseFileCache or $wgUseSquid is enabled.
   *
   * @since 1.19
   */