Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\AddPageInfo Class Reference

Public Member Functions

 __construct (EntityTitleStoreLookup $entityTitleStoreLookup)
 
 add (array $record, EntityRevision $entityRevision)
 Adds Mediawiki page metadata to the record.
 

Private Attributes

 $entityTitleStoreLookup
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\AddPageInfo::__construct ( EntityTitleStoreLookup $entityTitleStoreLookup)
Parameters
EntityTitleStoreLookup$entityTitleStoreLookup

Member Function Documentation

◆ add()

Wikibase\Repo\AddPageInfo::add ( array $record,
EntityRevision $entityRevision )

Adds Mediawiki page metadata to the record.

Parameters
array$recordRecord to which to add metadata.
EntityRevision$entityRevision
Returns
array Updated record.

Member Data Documentation

◆ $entityTitleStoreLookup

Wikibase\Repo\AddPageInfo::$entityTitleStoreLookup
private

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