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