MediaWiki's maintenance scripts are PHP scripts that perform maintenance tasks, and are designed to be run from the command line. See also: https://www.mediawiki.org/wiki/Manual:Maintenance_scripts == Running Maintenance Scripts == Maintenance scripts are generally executed using the maintenance runner, calling ''php maintenance/run.php'' followed by the script's name. On most systems, the shorthand ''maintenance/run'' can also be used. For instance, to run the script that displays the MediaWiki version, use ''maintenance/run version''. Maintenance scripts can be called by their simple name, class name, or path. The simple name corresponds to a file in the maintenance directory: * ''maintenance/run version'' runs the file ''maintenance/version.php''. For the class name: * ''maintenance/run Version'' runs the Version class (using auto-loading from ''./maintenance/version.php''). For the path: * ''maintenance/run ./maintenance/version.php'' runs the file ''./maintenance/version.php''. Note that relative file paths must start with "./". Using this form allows for the use of tab-completion. Maintenance scripts defined by extensions may also be called by giving their full class name or full relative path, such as: * ''maintenance/run ./extension/AbuseFilter/maintenance/SearchFilters.php'' * ''maintenance/run MediaWiki.Extension.AbuseFilter.Maintenance.SearchFilters'' Note how the dot (".") can be used as a namespace separator instead of the backslash ("\"). If the extension follows the MediaWiki coding conventions for the location and namespacing of maintenance scripts, they can be invoked using the name of the extension, followed by a colon (":") and the name of the script file or class: * ''maintenance/run AbuseFilter:SearchFilters'' For more details on using the script runner, call ''maintenance/run --help''. For about an individual script, call ''maintenance/run