MediaWiki
1.30.2
|
Maintenance script to do various checks on external storage. More...
Public Member Functions | |
check ( $fix=false, $xml='') | |
checkExternalConcatBlobs ( $externalConcatBlobs) | |
error ( $type, $msg, $ids) | |
importRevision (&$revision, &$importer) | |
restoreText ( $revIds, $xml) | |
Public Attributes | |
$dbStore = null | |
$errorDescriptions | |
$errors | |
$oldIdMap | |
const | CONCAT_HEADER = 'O:27:"concatenatedgziphistoryblob"' |
Maintenance script to do various checks on external storage.
@fixme this should extend the base Maintenance class
Definition at line 48 of file checkStorage.php.
CheckStorage::check | ( | $fix = false , |
|
$xml = '' |
|||
) |
Definition at line 61 of file checkStorage.php.
References $dbr, $errors, $flags, $matches, $name, $path, $res, as, checkExternalConcatBlobs(), captcha-old\count, DB_MASTER, DB_REPLICA, error(), errors, list, restoreText(), unserialize(), and wfGetDB().
CheckStorage::checkExternalConcatBlobs | ( | $externalConcatBlobs | ) |
Definition at line 383 of file checkStorage.php.
References $res, as, captcha-old\count, and error().
Referenced by check().
CheckStorage::error | ( | $type, | |
$msg, | |||
$ids | |||
) |
Definition at line 360 of file checkStorage.php.
References $type, as, captcha-old\count, and errors.
Referenced by check(), and checkExternalConcatBlobs().
CheckStorage::importRevision | ( | & | $revision, |
& | $importer | ||
) |
Definition at line 481 of file checkStorage.php.
References $dbr, $flags, Revision\compressRevisionText(), DB_MASTER, DB_REPLICA, errors, Revision\RAW, and wfGetDB().
CheckStorage::restoreText | ( | $revIds, | |
$xml | |||
) |
Definition at line 423 of file checkStorage.php.
References $dbr, $source, $wgDBname, captcha-old\count, DB_MASTER, DB_REPLICA, global, wfEscapeShellArg(), wfGetDB(), and wfTempDir().
Referenced by check().
CheckStorage::$dbStore = null |
Definition at line 51 of file checkStorage.php.
CheckStorage::$errorDescriptions |
Definition at line 53 of file checkStorage.php.
CheckStorage::$errors |
Definition at line 50 of file checkStorage.php.
Referenced by check().
CheckStorage::$oldIdMap |
Definition at line 50 of file checkStorage.php.
const CheckStorage::CONCAT_HEADER = 'O:27:"concatenatedgziphistoryblob"' |
Definition at line 49 of file checkStorage.php.