|
MediaWiki
1.23.0
|
Reporting callback. More...


Public Member Functions | |
| __construct ( $importer, $upload, $interwiki, $reason=false) | |
| close () | |
| open () | |
| reportLogItem () | |
| reportNotice ( $msg, array $params) | |
| reportPage ( $title, $origTitle, $revisionCount, $successCount, $pageInfo) | |
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 RequestContext object. More... | |
| getLang () | |
| Get the Language 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... | |
| getTitle () | |
| Get the Title object. More... | |
| getUser () | |
| Get the User object. More... | |
| getWikiPage () | |
| Get the WikiPage object. More... | |
| msg () | |
| Get a Message object with context set Parameters are the same as wfMessage() More... | |
| setContext (IContextSource $context) | |
| Set the IContextSource object. More... | |
Private Attributes | |
| $mLogItemCount = 0 | |
| $mOriginalLogCallback = null | |
| $mOriginalPageOutCallback = null | |
| $reason = false | |
Reporting callback.
Definition at line 408 of file SpecialImport.php.
| ImportReporter::__construct | ( | $importer, | |
| $upload, | |||
| $interwiki, | |||
$reason = false |
|||
| ) |
| WikiImporter | $importer | |
| $upload | ||
| $interwiki | ||
| string | bool | $reason |
Definition at line 420 of file SpecialImport.php.
| ImportReporter::close | ( | ) |
Definition at line 509 of file SpecialImport.php.
References $out, ContextSource\getOutput(), ContextSource\msg(), Status\newFatal(), Status\newGood(), and Xml\tags().
| ImportReporter::open | ( | ) |
Definition at line 432 of file SpecialImport.php.
References ContextSource\getOutput().
| ImportReporter::reportLogItem | ( | ) |
Definition at line 440 of file SpecialImport.php.
| ImportReporter::reportNotice | ( | $msg, | |
| array | $params | ||
| ) |
Definition at line 436 of file SpecialImport.php.
References $params, array(), Html\element(), ContextSource\getOutput(), ContextSource\msg(), and text.
| ImportReporter::reportPage | ( | $title, | |
| $origTitle, | |||
| $revisionCount, | |||
| $successCount, | |||
| $pageInfo | |||
| ) |
Reimplemented in ApiImportReporter.
Definition at line 455 of file SpecialImport.php.
References $args, $comment, $reason, $title, array(), DB_MASTER, WikiPage\factory(), ContextSource\getOutput(), ContextSource\getUser(), Linker\linkKnown(), ContextSource\msg(), Revision\newNullRevision(), true, wfGetDB(), and wfRunHooks().
|
private |
Definition at line 412 of file SpecialImport.php.
|
private |
Definition at line 410 of file SpecialImport.php.
|
private |
Definition at line 411 of file SpecialImport.php.
|
private |
Definition at line 409 of file SpecialImport.php.
Referenced by __construct(), and reportPage().