Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Store\Sql\SqlItemsWithoutSitelinksFinder Class Reference

Service for getting Items without sitelinks. More...

+ Inheritance diagram for Wikibase\Repo\Store\Sql\SqlItemsWithoutSitelinksFinder:
+ Collaboration diagram for Wikibase\Repo\Store\Sql\SqlItemsWithoutSitelinksFinder:

Public Member Functions

 __construct (EntityNamespaceLookup $entityNamespaceLookup)
 
 getItemsWithoutSitelinks ( $limit=50, $offset=0)
 

Private Member Functions

 getItemIdsFromSerializations (array $itemIdSerializations)
 

Private Attributes

 $entityNamespaceLookup
 

Detailed Description

Service for getting Items without sitelinks.

Author
Thomas Pellissier Tanon
Marius Hoch

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Store\Sql\SqlItemsWithoutSitelinksFinder::__construct ( EntityNamespaceLookup  $entityNamespaceLookup)

Member Function Documentation

◆ getItemIdsFromSerializations()

Wikibase\Repo\Store\Sql\SqlItemsWithoutSitelinksFinder::getItemIdsFromSerializations ( array  $itemIdSerializations)
private

◆ getItemsWithoutSitelinks()

Wikibase\Repo\Store\Sql\SqlItemsWithoutSitelinksFinder::getItemsWithoutSitelinks (   $limit = 50,
  $offset = 0 
)
Parameters
integer$limitLimit of the query.
integer$offsetOffset of the query.
Returns
ItemId[]

Implements Wikibase\Repo\Store\ItemsWithoutSitelinksFinder.

Member Data Documentation

◆ $entityNamespaceLookup

Wikibase\Repo\Store\Sql\SqlItemsWithoutSitelinksFinder::$entityNamespaceLookup
private

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