Manual:$wgEnableWriteAPI

API: $wgEnableWriteAPI
Allow the API to be used to perform write operations (page edits, rollback, etc.) when an authorized user accesses it.
Introduced in version:1.8.0 (r16742)
Deprecated in version:1.31.0 (Gerrit change 383726; git #I8c98ce6)
Removed in version:1.32.0 (Gerrit change 392542; git #I54ff942)
Allowed values:(boolean)
Default value:true (1.14-1.31)
false (1.8-1.13)

Details

Allow the API to be used to perform write operations (page edits, rollback, etc.) when an authorized user accesses it.

Use the writeapi right instead to enable or disable API writes to specfic or all user groups.

Starting with MediaWiki 1.32.0 the API cannot be disabled completely since it is now required for running MediaWiki.

See also