Wikibase
MediaWiki Wikibase extension
|
Interface for deleting IDs acquired from a TermInLangIdsAcquirer
, including any further cleanup if necessary.
More...
Public Member Functions | |
cleanTermInLangIds (array $termInLangIds) | |
Delete the given term in lang IDs. | |
Interface for deleting IDs acquired from a TermInLangIdsAcquirer
, including any further cleanup if necessary.
Wikibase\Lib\Store\Sql\Terms\TermStoreCleaner::cleanTermInLangIds | ( | array | $termInLangIds | ) |
Delete the given term in lang IDs.
Ensuring that they are unreferenced is the caller’s responsibility.
Depending on the implementation, this may include further internal cleanups. In that case, the implementation takes care that those cleanups do not affect other (not deleted) term in lang IDs.
int[] | $termInLangIds |
Implemented in Wikibase\Lib\Store\Sql\Terms\DatabaseUsageCheckingTermStoreCleaner, and Wikibase\Lib\Store\Sql\Terms\InMemoryTermStore.