Wikibase
MediaWiki Wikibase extension
Wikibase\Client\Specials\SpecialEntityUsage Class Reference

A special page that lists client wiki pages that use a given entity ID from the repository, and which aspects each page uses. More...

+ Inheritance diagram for Wikibase\Client\Specials\SpecialEntityUsage:
+ Collaboration diagram for Wikibase\Client\Specials\SpecialEntityUsage:

Public Member Functions

 __construct (LanguageConverterFactory $languageConverterFactory, ClientDomainDbFactory $dbFactory, EntityIdParser $idParser)
 
 execute ( $subPage)
 
 prepareParams ( $entity)
 
 getPageHeader ()
 
 getQueryInfo ()
 
 formatResult ( $skin, $row)
 
 formatAspects ( $rowAspects)
 
 isSyndicated ()
 
 isCacheable ()
 
 linkParameters ()
 

Protected Member Functions

 getGroupName ()
 

Private Attributes

 $idParser
 
 $languageConverterFactory
 
 $db
 
 $entityId = null
 

Detailed Description

A special page that lists client wiki pages that use a given entity ID from the repository, and which aspects each page uses.

Author
Amir Sarabadani (ladsg.nosp@m.roup.nosp@m.@gmai.nosp@m.l.co.nosp@m.m)

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\Specials\SpecialEntityUsage::__construct ( LanguageConverterFactory  $languageConverterFactory,
ClientDomainDbFactory  $dbFactory,
EntityIdParser  $idParser 
)

Member Function Documentation

◆ execute()

Wikibase\Client\Specials\SpecialEntityUsage::execute (   $subPage)
See also
QueryPage::execute
Parameters
string | null$subPage

◆ formatAspects()

Wikibase\Client\Specials\SpecialEntityUsage::formatAspects (   $rowAspects)
Parameters
string$rowAspects
Returns
string

◆ formatResult()

Wikibase\Client\Specials\SpecialEntityUsage::formatResult (   $skin,
  $row 
)
See also
QueryPage::formatResult
Parameters
Skin$skin
object$row
Returns
string HTML

◆ getGroupName()

Wikibase\Client\Specials\SpecialEntityUsage::getGroupName ( )
protected
See also
SpecialPage::getGroupName
Returns
string

◆ getPageHeader()

Wikibase\Client\Specials\SpecialEntityUsage::getPageHeader ( )
See also
QueryPage::getPageHeader
Returns
string HTML

◆ getQueryInfo()

Wikibase\Client\Specials\SpecialEntityUsage::getQueryInfo ( )
See also
QueryPage::getQueryInfo
Returns
array[]

◆ isCacheable()

Wikibase\Client\Specials\SpecialEntityUsage::isCacheable ( )
See also
QueryPage::isCacheable
Returns
bool

◆ isSyndicated()

Wikibase\Client\Specials\SpecialEntityUsage::isSyndicated ( )
See also
QueryPage::isSyndicated
Returns
bool

◆ linkParameters()

Wikibase\Client\Specials\SpecialEntityUsage::linkParameters ( )
See also
QueryPage::linkParameters
Returns
string[]

◆ prepareParams()

Wikibase\Client\Specials\SpecialEntityUsage::prepareParams (   $entity)
Parameters
string$entity

Member Data Documentation

◆ $db

Wikibase\Client\Specials\SpecialEntityUsage::$db
private

◆ $entityId

Wikibase\Client\Specials\SpecialEntityUsage::$entityId = null
private

◆ $idParser

Wikibase\Client\Specials\SpecialEntityUsage::$idParser
private

◆ $languageConverterFactory

Wikibase\Client\Specials\SpecialEntityUsage::$languageConverterFactory
private

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