MediaWiki REL1_31
|
Maintenance script to do various checks on external storage. More...
Public Member Functions | |
addError ( $type, $msg, $ids) | |
check ( $fix=false, $xml='') | |
checkExternalConcatBlobs ( $externalConcatBlobs) | |
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::addError | ( | $type, | |
$msg, | |||
$ids ) |
Definition at line 376 of file checkStorage.php.
Referenced by check(), and checkExternalConcatBlobs().
CheckStorage::check | ( | $fix = false, | |
$xml = '' ) |
Definition at line 61 of file checkStorage.php.
References $dbr, $errors, $matches, $name, $res, addError(), checkExternalConcatBlobs(), DB_MASTER, DB_REPLICA, list, print, restoreText(), unserialize(), and wfGetDB().
CheckStorage::checkExternalConcatBlobs | ( | $externalConcatBlobs | ) |
Definition at line 399 of file checkStorage.php.
References $res, and addError().
Referenced by check().
CheckStorage::importRevision | ( | & | $revision, |
& | $importer ) |
Definition at line 502 of file checkStorage.php.
References $dbr, DB_MASTER, DB_REPLICA, and wfGetDB().
CheckStorage::restoreText | ( | $revIds, | |
$xml ) |
Definition at line 441 of file checkStorage.php.
References $dbr, $params, $source, $wgDBname, DB_MASTER, DB_REPLICA, print, wfEscapeShellArg(), wfGetDB(), wfMessage(), 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.