Disable magic links by default
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 3 Nov 2016 18:16:00 +0000 (11:16 -0700)
committerLegoktm <legoktm.wikipedia@gmail.com>
Fri, 4 Nov 2016 02:27:30 +0000 (02:27 +0000)
And add release notes for all the magic links changes in 1.28.

Bug: T147536
Change-Id: I66b2c4424b17cc86bbd7339de588f1c00cd2f18d

RELEASE-NOTES-1.28
includes/DefaultSettings.php

index a2a986f..b70074b 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 }