Manual:$wgEnableAPI

API: $wgEnableAPI
Enable direct access to the data API through api.php .
Introduced in version:1.8.0 (r16442)
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.9-1.31)
false (1.8)

Details

Enable direct access to the data API through api.php .

See also