(Redirected from Maintenance directory)
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, a maintenance script should be invoked directly through
maintenance/run.php. Invoking maintenance scripts directly will trigger a warning.