Merge "Disable magic links by default"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 4 Nov 2016 02:38:28 +0000 (02:38 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 4 Nov 2016 02:38:28 +0000 (02:38 +0000)
RELEASE-NOTES-1.28
includes/DefaultSettings.php

index 4e445a5..e04bb17 100644 (file)
@@ -34,6 +34,12 @@ production.
   instead of just administrators ('sysop'). Documentation for this feature is
   available at <https://www.mediawiki.org/wiki/Help:ChangeContentModel>.
 * $wgRevisionCacheExpiry is now set to one week by default instead of being disabled.
+* Magic links are now disabled by default, and can be re-enabled by modifying the value
+  of $wgEnableMagicLinks. Their usage is discouraged, but if they are manually enabled,
+  a tracking category will be added to help identify usage and make it easier to migrate
+  away from. If you depend upon magic link functionality, it is requested that you comment
+  on <https://www.mediawiki.org/wiki/Requests_for_comment/Future_of_magic_links> and
+  explain your use case(s).
 
 === New features in 1.28 ===
 * User::isBot() method for checking if an account is a bot role account.
index 0b0016c..68e4f5d 100644 (file)
@@ -4363,9 +4363,9 @@ $wgTranscludeCacheExpiry = 3600;
  * @since 1.28
  */
 $wgEnableMagicLinks = [
-       'ISBN' => true,
-       'PMID' => true,
-       'RFC' => true
+       'ISBN' => false,
+       'PMID' => false,
+       'RFC' => false
 ];
 
 /** @} */ # end of parser settings }