MediaWiki  REL1_19
ImportReporter Class Reference

Reporting callback. More...

Inheritance diagram for ImportReporter:
Collaboration diagram for ImportReporter:

List of all members.

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

Detailed Description

Reporting callback.

Definition at line 313 of file SpecialImport.php.


Constructor & Destructor Documentation

ImportReporter::__construct ( importer,
upload,
interwiki,
reason = false 
)

Definition at line 319 of file SpecialImport.php.

References $reason.


Member Function Documentation

Definition at line 412 of file SpecialImport.php.

References $out, ContextSource\getLanguage(), ContextSource\getOutput(), Status\newFatal(), Status\newGood(), Xml\tags(), and wfMsgExt().

Here is the call graph for this function:

Definition at line 331 of file SpecialImport.php.

References ContextSource\getOutput().

Here is the call graph for this function:

Definition at line 339 of file SpecialImport.php.

ImportReporter::reportNotice ( msg,
array $  params 
)

Definition at line 335 of file SpecialImport.php.

References Html\element(), ContextSource\getOutput(), and ContextSource\msg().

Here is the call graph for this function:

ImportReporter::reportPage ( title,
origTitle,
revisionCount,
successCount,
pageInfo 
)
Parameters:
Title$title
Title$origTitle
int$revisionCount
$successCount
$pageInfo
Returns:
void

Reimplemented in ApiImportReporter.

Definition at line 354 of file SpecialImport.php.

References $comment, $page, $title, $wgContLang, WikiPage\factory(), ContextSource\getLanguage(), ContextSource\getOutput(), ContextSource\getUser(), Linker\linkKnown(), Revision\newNullRevision(), wfGetDB(), wfMsgExt(), wfMsgForContent(), wfMsgHtml(), and wfRunHooks().

Here is the call graph for this function:


Member Data Documentation

ImportReporter::$mLogItemCount = 0 [private]

Definition at line 317 of file SpecialImport.php.

ImportReporter::$mOriginalLogCallback = null [private]

Definition at line 315 of file SpecialImport.php.

ImportReporter::$mOriginalPageOutCallback = null [private]

Definition at line 316 of file SpecialImport.php.

ImportReporter::$reason = false [private]

Definition at line 314 of file SpecialImport.php.

Referenced by __construct().


The documentation for this class was generated from the following file: