Manual:Scripts de manutenção
Os scripts de manutenção são usados para executar várias tarefas administrativas, de importação, manutenção, elaboração de relatórios e atualização. Os scripts são escritos em PHP e ficam no subdiretório maintenance das instalações do MediaWiki.
The scripts are written in PHP and live in the maintenance subdirectory of MediaWiki installs.
Existem dezenas de scripts, com diferentes níveis de uso e de qualidade - por causa disso, é melhor ler atentamente a documentação em um script antes de usá-lo. Se um script não estiver documentado, requer que sejam tomados cuidados adicionais. 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.