Manual:checkStorage.php
Appearance
MediaWiki version: | ≥ 1.7 |
MediaWiki file: checkStorage.php | |
---|---|
Location: | maintenance/storage/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | CheckStorage |
Details
[edit]checkStorage.php file is a maintenance script to do various checks on external storage.
Options/Arguments
[edit]Option | Description | Required? |
---|---|---|
--fix | Fix errors | Optional |
Usage
[edit]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 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.