MediaWiki
1.23.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.
Definition at line 44 of file checkStorage.php.
CheckStorage::check | ( | $fix = false , |
|
$xml = '' |
|||
) |
CheckStorage::checkExternalConcatBlobs | ( | $externalConcatBlobs | ) |
CheckStorage::error | ( | $type, | |
$msg, | |||
$ids | |||
) |
Definition at line 333 of file checkStorage.php.
References $type, array(), as, and errors.
Referenced by check(), and checkExternalConcatBlobs().
CheckStorage::importRevision | ( | & | $revision, |
& | $importer | ||
) |
Definition at line 442 of file checkStorage.php.
References $dbr, $flags, array(), Revision\compressRevisionText(), DB_MASTER, DB_SLAVE, errors, Revision\RAW, and wfGetDB().
CheckStorage::restoreText | ( | $revIds, | |
$xml | |||
) |
Definition at line 390 of file checkStorage.php.
References $dbr, $file, $source, $wgDBname, array(), DB_MASTER, DB_SLAVE, global, wfEscapeShellArg(), wfGetDB(), and wfTempDir().
Referenced by check().
CheckStorage::$dbStore = null |
Definition at line 47 of file checkStorage.php.
CheckStorage::$errorDescriptions |
Definition at line 49 of file checkStorage.php.
CheckStorage::$errors |
Definition at line 46 of file checkStorage.php.
Referenced by check().
CheckStorage::$oldIdMap |
Definition at line 46 of file checkStorage.php.
const CheckStorage::CONCAT_HEADER = 'O:27:"concatenatedgziphistoryblob"' |
Definition at line 45 of file checkStorage.php.