|
MediaWiki REL1_35
|
Maintenance script to do various checks on external storage. More...

Public Member Functions | |
| check ( $fix=false, $xml='') | |
| importRevision ( $revision) | |
Public Attributes | |
| ExternalStoreDB | $dbStore = null |
| $errorDescriptions | |
| $errors | |
| $oldIdMap | |
Private Member Functions | |
| addError ( $type, $msg, $ids) | |
| checkExternalConcatBlobs ( $externalConcatBlobs) | |
| restoreText ( $revIds, $xml) | |
Private Attributes | |
| 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 45 of file checkStorage.php.
|
private |
Definition at line 388 of file checkStorage.php.
Referenced by check(), and checkExternalConcatBlobs().
| CheckStorage::check | ( | $fix = false, |
|
$xml = '' |
|||
| ) |
Definition at line 59 of file checkStorage.php.
References $dbr, $errors, $matches, $oldIdMap, $path, $res, addError(), checkExternalConcatBlobs(), DB_MASTER, DB_REPLICA, print, restoreText(), unserialize(), and wfGetDB().
|
private |
Definition at line 411 of file checkStorage.php.
References $res, and addError().
Referenced by check().
| CheckStorage::importRevision | ( | $revision | ) |
Definition at line 514 of file checkStorage.php.
References $content, $dbr, $res, DB_MASTER, DB_REPLICA, and wfGetDB().
|
private |
Definition at line 453 of file checkStorage.php.
References $dbr, $file, $source, $wgDBname, DB_MASTER, DB_REPLICA, print, wfGetDB(), wfMessage(), and wfTempDir().
Referenced by check().
| ExternalStoreDB CheckStorage::$dbStore = null |
Definition at line 49 of file checkStorage.php.
| CheckStorage::$errorDescriptions |
Definition at line 51 of file checkStorage.php.
| CheckStorage::$errors |
Definition at line 47 of file checkStorage.php.
Referenced by check().
| CheckStorage::$oldIdMap |
Definition at line 47 of file checkStorage.php.
Referenced by check().
|
private |
Definition at line 46 of file checkStorage.php.