Manual:CheckStorage.php
Appearance
| Versión de MediaWiki: | ≥ 1.7 |
| Archivo de MediaWiki: checkStorage.php | |
|---|---|
| Ubicación: | maintenance/storage/ |
| Código fuente: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| Clases: | CheckStorage |
Detalles
checkStorage.php file is a maintenance script to do various checks on external storage.
Options/Arguments
| Option | Description | Required? |
|---|---|---|
| --fix | Fix errors | Optional |
Usage
php maintenance/run.php storage/checkStorage [ --fix ]
Terminal
$ php maintenance/run.php storage/checkStorage --fix Checking, will fix errors if possible... Errors: Flag statistics: utf-8 675 100.00% Local object statistics:
In MediaWiki version MediaWiki 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.