MediaWiki master
|
Maintenance script that imports XML dump files into the current wiki. More...
Inherits Maintenance.
Public Member Functions | |
__construct () | |
execute () | |
handleLogItem (WikiRevision $rev) | |
handleRevision (WikiRevision $rev) | |
handleUpload (WikiRevision $revision) | |
reportPage ( $page) | |
Public Attributes | |
bool | $dryRun = false |
string false | $imageBasePath = false |
array false | $nsFilter = false |
int | $pageCount = 0 |
int | $reportingInterval = 100 |
int | $revCount = 0 |
resource false | $stderr |
bool | $uploads = false |
Protected Attributes | |
callable null | $importCallback |
callable null | $logItemCallback |
float | $startTime |
callable null | $uploadCallback |
int | $uploadCount = 0 |
Maintenance script that imports XML dump files into the current wiki.
Definition at line 40 of file importDump.php.
BackupReader::__construct | ( | ) |
Definition at line 68 of file importDump.php.
BackupReader::execute | ( | ) |
Definition at line 120 of file importDump.php.
BackupReader::handleLogItem | ( | WikiRevision | $rev | ) |
WikiRevision | $rev |
Definition at line 245 of file importDump.php.
References WikiRevision\getTitle().
BackupReader::handleRevision | ( | WikiRevision | $rev | ) |
WikiRevision | $rev |
Definition at line 196 of file importDump.php.
References WikiRevision\getTitle().
BackupReader::handleUpload | ( | WikiRevision | $revision | ) |
WikiRevision | $revision |
Definition at line 220 of file importDump.php.
References WikiRevision\getFilename(), and WikiRevision\getTitle().
BackupReader::reportPage | ( | $page | ) |
Definition at line 189 of file importDump.php.
bool BackupReader::$dryRun = false |
Definition at line 48 of file importDump.php.
string false BackupReader::$imageBasePath = false |
Definition at line 54 of file importDump.php.
|
protected |
Definition at line 60 of file importDump.php.
|
protected |
Definition at line 62 of file importDump.php.
array false BackupReader::$nsFilter = false |
Definition at line 56 of file importDump.php.
int BackupReader::$pageCount = 0 |
Definition at line 44 of file importDump.php.
int BackupReader::$reportingInterval = 100 |
Definition at line 42 of file importDump.php.
int BackupReader::$revCount = 0 |
Definition at line 46 of file importDump.php.
|
protected |
Definition at line 66 of file importDump.php.
resource false BackupReader::$stderr |
Definition at line 58 of file importDump.php.
|
protected |
Definition at line 64 of file importDump.php.
|
protected |
Definition at line 52 of file importDump.php.
bool BackupReader::$uploads = false |
Definition at line 50 of file importDump.php.