Manual:Maintenance scripts
From Linux Web Expert
- File:Community Noun project 2280.svg <translate> Users</translate>
- File:Octicons-terminal.svg <translate> System Administrators</translate>
- File:Source code project 1171.svg <translate> Developers</translate>
- File:OOjs UI icon language-ltr.svg <translate> Translators</translate>
Maintenance scripts are used to perform various administrative, import, maintenance, reporting and upgrade tasks.
The scripts are written in PHP and live in the maintenance
subdirectory of MediaWiki installs.
There are dozens of scripts with varying degrees of general utility and quality. You should carefully read the documentation on a script before using it; if a script isn't documented, take additional care running it.
As of MediaWiki 1.38 , there are more than 200 maintenance scripts.
Since MediaWiki 1.40, maintenance scripts should be invoked directly through
maintenance/run.php
. Invoking maintenance scripts directly will trigger a warning.