Wikibase
MediaWiki Wikibase extension
|
Factory for merging services. More...
Public Member Functions | |
__construct (EntityConstraintProvider $constraintProvider, ChangeOpFactoryProvider $factoryProvider, SiteLookup $siteLookup) | |
newMergeOps (Item $fromItem, Item $toItem, array $ignoreConflicts=[]) | |
getStatementsMerger () | |
Private Attributes | |
$constraintProvider | |
$factoryProvider | |
$siteLookup | |
Factory for merging services.
Wikibase\Repo\Merge\MergeFactory::__construct | ( | EntityConstraintProvider | $constraintProvider, |
ChangeOpFactoryProvider | $factoryProvider, | ||
SiteLookup | $siteLookup ) |
Wikibase\Repo\Merge\MergeFactory::getStatementsMerger | ( | ) |
Wikibase\Repo\Merge\MergeFactory::newMergeOps | ( | Item | $fromItem, |
Item | $toItem, | ||
array | $ignoreConflicts = [] ) |
Item | $fromItem | |
Item | $toItem | |
string[] | $ignoreConflicts | list of elements to ignore conflicts for can only contain 'label' and or 'description' and or 'sitelink' |
InvalidArgumentException |
|
private |
|
private |
|
private |