MediaWiki
master
|
Reporting callback. More...
Public Member Functions | |
__construct ( $importer, $upload, $interwiki, $reason="") | |
close () | |
open () | |
reportLogItem (... $args) | |
reportNotice ( $msg, array $params) | |
reportPage (?PageIdentity $pageIdentity, $foreignTitle, $revisionCount, $successCount, $pageInfo) | |
setChangeTags (array $tags) | |
Sets change tags to apply to the import log entry and null revision. More... | |
![]() | |
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... | |
getActionName () | |
Get the action name for the current web request. More... | |
getAuthority () | |
getConfig () | |
getContext () | |
Get the base IContextSource object. More... | |
getCsrfTokenSet () | |
Get a repository to obtain and match CSRF tokens. More... | |
getLanguage () | |
getOutput () | |
getRequest () | |
getSkin () | |
getTiming () | |
getTitle () | |
getUser () | |
getWikiPage () | |
Get the WikiPage object. More... | |
msg ( $key,... $params) | |
Get a Message object with context set Parameters are the same as wfMessage() More... | |
setContext (IContextSource $context) | |
Reporting callback.
Definition at line 33 of file ImportReporter.php.
ImportReporter::__construct | ( | $importer, | |
$upload, | |||
$interwiki, | |||
$reason = "" |
|||
) |
WikiImporter | $importer | |
bool | $upload | |
string | $interwiki | |
string | bool | $reason |
Definition at line 51 of file ImportReporter.php.
ImportReporter::close | ( | ) |
Definition at line 190 of file ImportReporter.php.
References ContextSource\getOutput(), ContextSource\msg(), and Xml\tags().
ImportReporter::open | ( | ) |
Definition at line 72 of file ImportReporter.php.
References ContextSource\getOutput().
ImportReporter::reportLogItem | ( | $args | ) |
Definition at line 82 of file ImportReporter.php.
ImportReporter::reportNotice | ( | $msg, | |
array | $params | ||
) |
Definition at line 76 of file ImportReporter.php.
References ContextSource\getOutput(), and ContextSource\msg().
ImportReporter::reportPage | ( | ?PageIdentity | $pageIdentity, |
$foreignTitle, | |||
$revisionCount, | |||
$successCount, | |||
$pageInfo | |||
) |
?PageIdentity | $pageIdentity | |
ForeignTitle | $foreignTitle | |
int | $revisionCount | |
int | $successCount | |
array | $pageInfo |
Reimplemented in ApiImportReporter.
Definition at line 97 of file ImportReporter.php.
References DB_PRIMARY, ContextSource\getOutput(), ContextSource\getUser(), ContextSource\msg(), and wfGetDB().
ImportReporter::setChangeTags | ( | array | $tags | ) |
Sets change tags to apply to the import log entry and null revision.
string[] | $tags |
Definition at line 68 of file ImportReporter.php.