Посібник:Скрипти обслуговування
Скрипти обслуговування використовуються для виконання різних адміністративних завдань, імпорту, обслуговування, звітування та оновлення. Скрипти написані на PHP і розміщені в підкаталозі maintenance під час встановлення MediaWiki.
The scripts are written in PHP and live in the maintenance subdirectory of MediaWiki installs.
Існують десятки сценаріїв із різним ступенем загальної корисності та якості. Перед використанням слід уважно прочитати документацію щодо сценарію; якщо скрипт не задокументований, додатково подбайте про це. You should carefully read the documentation on a script before using it; if a script isn't documented, take additional care running it.
php ./maintenance/run.php. Invoking maintenance scripts directly will trigger a warning.In order to run most scripts, you will need access to the command line of the server or shell access through an SSH client like ssh or PuTTY. For details, see our information about running scripts.
If a script needs to modify the structure of a database (as does Update.php, for example), special configuration variables may need to be set in LocalSettings.php to allow this. See the relevant configuration information for details.
For an extensive list of scripts that may be run, see our list of scripts broken down by type.