Deprecate $wgEnableAPI and $wgEnableWriteAPI
authorTim Starling <tstarling@wikimedia.org>
Wed, 11 Oct 2017 23:02:05 +0000 (10:02 +1100)
committerTim Starling <tstarling@wikimedia.org>
Wed, 11 Oct 2017 23:02:05 +0000 (10:02 +1100)
$wgEnableAPI and $wgEnableWriteAPI are now deprecated and will be removed in
a future version. The API is now considered to be stable, secure and
essential.

Bug: T115414
Change-Id: I8c98ce63afd82677ecf662f8159e58be1759bde0

RELEASE-NOTES-1.31
includes/DefaultSettings.php

index 3fd1fc8..57cbec4 100644 (file)
@@ -6,7 +6,9 @@ MediaWiki 1.31 is an alpha-quality branch and is not recommended for use in
 production.
 
 === Configuration changes in 1.31 ===
-* …
+* $wgEnableAPI and $wgEnableWriteAPI are now deprecated and will be removed in
+  a future version. The API is now considered to be stable, secure and
+  essential.
 
 === New features in 1.31 ===
 * …
index 780976a..bd944d2 100644 (file)
@@ -7953,6 +7953,8 @@ $wgExemptFromUserRobotsControl = null;
  * machine-readable data via api.php
  *
  * See https://www.mediawiki.org/wiki/API
+ *
+ * @deprecated since 1.31
  */
 $wgEnableAPI = true;
 
@@ -7960,6 +7962,8 @@ $wgEnableAPI = true;
  * Allow the API to be used to perform write operations
  * (page edits, rollback, etc.) when an authorised user
  * accesses it
+ *
+ * @deprecated since 1.31
  */
 $wgEnableWriteAPI = true;