MediaWiki REL1_41
ApiImportReporter Class Reference

Import reporter for the API. More...

Inherits ImportReporter.

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 ()
 
 reportLogItem (... $args)
 
 reportNotice ( $msg, array $params)
 
 setChangeTags (array $tags)
 Sets change tags to apply to the import log entry and null revision.
 
- Public Member Functions inherited from ContextSource
 canUseWikiPage ()
 Check whether a WikiPage object can be get with getWikiPage().
 
 exportSession ()
 Export the resolved user IP, HTTP headers, user ID, and session ID.
 
 getActionName ()
 Get the action name for the current web request.
 
 getAuthority ()
 
 getConfig ()
 
 getContext ()
 Get the base IContextSource object.
 
 getCsrfTokenSet ()
 Get a repository to obtain and match CSRF tokens.
 
 getLanguage ()
 
 getOutput ()
 
 getRequest ()
 
 getSkin ()
 
 getTiming ()
 
 getTitle ()
 
 getUser ()
 
 getWikiPage ()
 Get the WikiPage object.
 
 msg ( $key,... $params)
 Get a Message object with context set Parameters are the same as wfMessage()
 
 setContext (IContextSource $context)
 

Detailed Description

Import reporter for the API.

Definition at line 31 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 42 of file ApiImportReporter.php.


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