|
MediaWiki
REL1_23
|
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 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.
Definition at line 509 of file SpecialImport.php.
References $out, ContextSource\getOutput(), ContextSource\msg(), Status\newFatal(), Status\newGood(), and Xml\tags().
Definition at line 432 of file SpecialImport.php.
References ContextSource\getOutput().
Definition at line 440 of file SpecialImport.php.
| ImportReporter::reportNotice | ( | $ | msg, |
| array $ | params | ||
| ) |
Definition at line 436 of file SpecialImport.php.
References 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 $comment, $title, array(), WikiPage\factory(), ContextSource\getOutput(), ContextSource\getUser(), Linker\linkKnown(), ContextSource\msg(), Revision\newNullRevision(), true, wfGetDB(), and wfRunHooks().
ImportReporter::$mLogItemCount = 0 [private] |
Definition at line 412 of file SpecialImport.php.
ImportReporter::$mOriginalLogCallback = null [private] |
Definition at line 410 of file SpecialImport.php.
ImportReporter::$mOriginalPageOutCallback = null [private] |
Definition at line 411 of file SpecialImport.php.
ImportReporter::$reason = false [private] |
Definition at line 409 of file SpecialImport.php.
Referenced by __construct().