Wikibase
MediaWiki Wikibase extension
|
Contains methods for write actions on the sitelink store. More...
Public Member Functions | |
saveLinksOfItem (Item $item) | |
Saves the links for the provided item. More... | |
deleteLinksOfItem (ItemId $itemId) | |
Removes the links for the provided item. More... | |
clear () | |
Clears all sitelinks from the cache. More... | |
Public Member Functions inherited from Wikibase\Lib\Store\SiteLinkLookup | |
getItemIdForLink ( $globalSiteId, $pageTitle) | |
Returns the id of the item that is equivalent to the provided page, or null if there is none. More... | |
getLinks (array $numericIds=[], array $siteIds=[], array $pageNames=[]) | |
Returns the links that match the provided conditions. More... | |
getSiteLinksForItem (ItemId $itemId) | |
Returns an array of SiteLink objects for an item. More... | |
getItemIdForSiteLink (SiteLink $siteLink) | |
Public Member Functions inherited from Wikibase\Lib\Store\EntityByLinkedTitleLookup | |
getEntityIdForLinkedTitle ( $globalSiteId, $pageTitle) | |
Returns the ID of an Entity associated to the given page title. More... | |
Contains methods for write actions on the sitelink store.
Wikibase\Lib\Store\SiteLinkStore::clear | ( | ) |
Clears all sitelinks from the cache.
Implemented in Wikibase\Lib\Store\Sql\SiteLinkTable, and Wikibase\Lib\Store\HashSiteLinkStore.
Wikibase\Lib\Store\SiteLinkStore::deleteLinksOfItem | ( | ItemId | $itemId | ) |
Removes the links for the provided item.
ItemId | $itemId |
Implemented in Wikibase\Lib\Store\Sql\SiteLinkTable, and Wikibase\Lib\Store\HashSiteLinkStore.
Wikibase\Lib\Store\SiteLinkStore::saveLinksOfItem | ( | Item | $item | ) |
Saves the links for the provided item.
Item | $item |
Implemented in Wikibase\Lib\Store\Sql\SiteLinkTable, and Wikibase\Lib\Store\HashSiteLinkStore.