MediaWiki  master
ApiImportReporter Class Reference

Import reporter for the API. More...

Inheritance diagram for ApiImportReporter:
Collaboration diagram for ApiImportReporter:

Public Member Functions

 getData ()
 
 reportPage (?PageIdentity $pageIdentity, $foreignTitle, $revisionCount, $successCount, $pageInfo)
 
- Public Member Functions inherited from ImportReporter
 __construct ( $importer, $upload, $interwiki, $reason="")
 
 close ()
 
 open ()
 
 setChangeTags (array $tags)
 Sets change tags to apply to the import log entry and null revision. More...
 
- 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...
 
 getActionName ()
 Get the action name for the current web request. More...
 
 getAuthority ()
 
 getConfig ()
 
 getContext ()
 Get the base IContextSource object. More...
 
 getCsrfTokenSet ()
 Get a repository to obtain and match CSRF tokens. More...
 
 getLanguage ()
 
 getOutput ()
 
 getRequest ()
 
 getSkin ()
 
 getStats ()
 
 getTiming ()
 
 getTitle ()
 
 getUser ()
 
 getWikiPage ()
 Get the WikiPage object. More...
 
 msg ( $key,... $params)
 Get a Message object with context set Parameters are the same as wfMessage() More...
 
 setContext (IContextSource $context)
 

Detailed Description

Import reporter for the API.

Definition at line 30 of file ApiImportReporter.php.

Member Function Documentation

◆ getData()

ApiImportReporter::getData ( )

Definition at line 62 of file ApiImportReporter.php.

◆ reportPage()

ApiImportReporter::reportPage ( ?PageIdentity  $pageIdentity,
  $foreignTitle,
  $revisionCount,
  $successCount,
  $pageInfo 
)
Parameters
?PageIdentity$pageIdentity
ForeignTitle$foreignTitle
int$revisionCount
int$successCount
array$pageInfo
Returns
void

Reimplemented from ImportReporter.

Definition at line 41 of file ApiImportReporter.php.

References ApiQueryBase\addTitleInfo().


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