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

TermsCollisionDetector implementation that does nothing (always returns no collision) More...

+ Inheritance diagram for Wikibase\Repo\Store\NullTermsCollisionDetector:
+ Collaboration diagram for Wikibase\Repo\Store\NullTermsCollisionDetector:

Public Member Functions

 detectLabelCollision (string $lang, string $label)
 Returns an entity id that collides with given label in given languages, if any.
 
 detectLabelAndDescriptionCollision (string $lang, string $label, string $description)
 Returns an entity id that collides with given label and description in given languages, if any.
 

Detailed Description

TermsCollisionDetector implementation that does nothing (always returns no collision)

Member Function Documentation

◆ detectLabelAndDescriptionCollision()

Wikibase\Repo\Store\NullTermsCollisionDetector::detectLabelAndDescriptionCollision ( string  $lang,
string  $label,
string  $description 
)

Returns an entity id that collides with given label and description in given languages, if any.

Parameters
string$lang
string$label
string$description
Returns
EntityId|null

Implements Wikibase\Repo\Store\TermsCollisionDetector.

◆ detectLabelCollision()

Wikibase\Repo\Store\NullTermsCollisionDetector::detectLabelCollision ( string  $lang,
string  $label 
)

Returns an entity id that collides with given label in given languages, if any.

Parameters
string$lang
string$label
Returns
EntityId|null

Implements Wikibase\Repo\Store\TermsCollisionDetector.


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