Drop $wgEnableRestAPI, deprecated in and ignored since 1.35
Change-Id: I2cfffb02d5ece67b3ddbbf4cb50e10e60d7ac7a1
This commit is contained in:
parent
973f733b5e
commit
d0e5057f37
2 changed files with 1 additions and 8 deletions
|
|
@ -58,6 +58,7 @@ this is no longer recommended and the option has been removed.
|
|||
They became obsolete after 1.17 overhauled the database updater, but were kept
|
||||
for backwards compatibility. The LoadExtensionSchemaUpdates hook should be
|
||||
used instead.
|
||||
* $wgEnableRestAPI - This setting, ignored since 1.35, has been removed.
|
||||
* …
|
||||
|
||||
=== New user-facing features in 1.36 ===
|
||||
|
|
|
|||
|
|
@ -8831,14 +8831,6 @@ $wgAllowedCorsHeaders = [
|
|||
'Access-Control-Max-Age',
|
||||
];
|
||||
|
||||
/**
|
||||
* Enable the experimental REST API.
|
||||
*
|
||||
* @deprecated Since 1.35, defaults to true and is ignored by MediaWiki core itself.
|
||||
* No longer functions as a setting. Will be removed in 1.36.
|
||||
*/
|
||||
$wgEnableRestAPI = true;
|
||||
|
||||
/**
|
||||
* Additional REST API Route files.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue