MediaWiki  1.28.0
ApiImportReporter Class Reference

Import reporter for the API. More...

Inheritance diagram for ApiImportReporter:
Collaboration diagram for ApiImportReporter:

Public Member Functions

 getData ()
 
 reportPage ($title, $origTitle, $revisionCount, $successCount, $pageInfo)
 
- Public Member Functions inherited from ImportReporter
 __construct ($importer, $upload, $interwiki, $reason=false)
 
 close ()
 
 open ()
 
 reportLogItem ()
 
 reportNotice ($msg, array $params)
 
 reportPage ($title, $foreignTitle, $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 base IContextSource 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...
 
 getStats ()
 Get the Stats object. More...
 
 getTiming ()
 Get the Timing 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

 $mResultArr = []
 

Detailed Description

Import reporter for the API.

Definition at line 167 of file ApiImport.php.

Member Function Documentation

ApiImportReporter::getData ( )

Definition at line 197 of file ApiImport.php.

References $mResultArr.

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

Definition at line 178 of file ApiImport.php.

References $title, and ApiQueryBase\addTitleInfo().

Member Data Documentation

ApiImportReporter::$mResultArr = []
private

Definition at line 168 of file ApiImport.php.

Referenced by getData().


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