|
MediaWiki
REL1_20
|
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) | |
Private Attributes | |
| $mLogItemCount = 0 | |
| $mOriginalLogCallback = null | |
| $mOriginalPageOutCallback = null | |
| $reason = false | |
Reporting callback.
Definition at line 350 of file SpecialImport.php.
| ImportReporter::__construct | ( | $ | importer, |
| $ | upload, | ||
| $ | interwiki, | ||
| $ | reason = false |
||
| ) |
Definition at line 356 of file SpecialImport.php.
References $reason.
Definition at line 444 of file SpecialImport.php.
References $out, ContextSource\getOutput(), ContextSource\msg(), Status\newFatal(), Status\newGood(), and Xml\tags().
Definition at line 368 of file SpecialImport.php.
References ContextSource\getOutput().
Definition at line 376 of file SpecialImport.php.
| ImportReporter::reportNotice | ( | $ | msg, |
| array $ | params | ||
| ) |
Definition at line 372 of file SpecialImport.php.
References Html\element(), ContextSource\getOutput(), and ContextSource\msg().
| ImportReporter::reportPage | ( | $ | title, |
| $ | origTitle, | ||
| $ | revisionCount, | ||
| $ | successCount, | ||
| $ | pageInfo | ||
| ) |
Reimplemented in ApiImportReporter.
Definition at line 391 of file SpecialImport.php.
References $comment, $page, $title, WikiPage\factory(), ContextSource\getOutput(), ContextSource\getUser(), Linker\linkKnown(), ContextSource\msg(), Revision\newNullRevision(), wfGetDB(), and wfRunHooks().
ImportReporter::$mLogItemCount = 0 [private] |
Definition at line 354 of file SpecialImport.php.
ImportReporter::$mOriginalLogCallback = null [private] |
Definition at line 352 of file SpecialImport.php.
ImportReporter::$mOriginalPageOutCallback = null [private] |
Definition at line 353 of file SpecialImport.php.
ImportReporter::$reason = false [private] |
Definition at line 351 of file SpecialImport.php.
Referenced by __construct().