Manual:$wgEnableAPI

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