MediaWiki REL1_34
|
Import reporter for the API. More...
Public Member Functions | |
getData () | |
reportPage ( $title, $foreignTitle, $revisionCount, $successCount, $pageInfo) | |
Public Member Functions inherited from ImportReporter | |
__construct ( $importer, $upload, $interwiki, $reason=false) | |
close () | |
open () | |
reportLogItem (... $args) | |
reportNotice ( $msg, array $params) | |
setChangeTags (array $tags) | |
Sets change tags to apply to the import log entry and null revision. | |
Public Member Functions inherited from ContextSource | |
canUseWikiPage () | |
Check whether a WikiPage object can be get with getWikiPage(). | |
exportSession () | |
Export the resolved user IP, HTTP headers, user ID, and session ID. | |
getConfig () | |
getContext () | |
Get the base IContextSource object. | |
getLanguage () | |
getOutput () | |
getRequest () | |
getSkin () | |
getStats () | |
getTiming () | |
getTitle () | |
getUser () | |
getWikiPage () | |
Get the WikiPage object. | |
msg ( $key,... $params) | |
Get a Message object with context set Parameters are the same as wfMessage() | |
setContext (IContextSource $context) | |
Private Attributes | |
$mResultArr = [] | |
Import reporter for the API.
Definition at line 27 of file ApiImportReporter.php.
ApiImportReporter::getData | ( | ) |
Definition at line 58 of file ApiImportReporter.php.
References $mResultArr.
ApiImportReporter::reportPage | ( | $title, | |
$foreignTitle, | |||
$revisionCount, | |||
$successCount, | |||
$pageInfo ) |
Title | $title | |
ForeignTitle | $foreignTitle | |
int | $revisionCount | |
int | $successCount | |
array | $pageInfo |
Reimplemented from ImportReporter.
Definition at line 39 of file ApiImportReporter.php.
References $title.
|
private |
Definition at line 28 of file ApiImportReporter.php.
Referenced by getData().