Translations:API:Restricting API usage/7/en

You can disable all write modules by setting $EnableWriteAPI in LocalSettings.php.