Wikibase
MediaWiki Wikibase extension
|
EntityRedirectLookup::FOR_UPDATE
constantEntityRedirectTargetLookup
(extracted from EntityRedirectLookup
)ItemTermStoreWriter
and PropertyTermStoreWriter
interfaces.FallbackLabelDescriptionLookup
interfaceItemLookup
implementationsLegacyAdapterItemLookup
which is an adapter to EntityLookup
InMemoryEntityLookup
which is a test doublePropertyLookup
implementationsLegacyAdapterPropertyLookup
which is an adapter to EntityLookup
InMemoryEntityLookup
which is a test doubleInMemoryEntityLookup
SeekableEntityIdPager
InMemoryEntityIdPager
ExceptionIgnoringEntityLookup
UnresolvedEntityRedirectException
: Mention source entity id in message (#200)ReferencedEntityIdLookup
interface, along with:EntityRetrievingClosestReferencedEntityIdLookup
reference implementationMaxReferenceDepthExhaustedException
MaxReferencedEntityVisitsExhaustedException
ReferencedEntityIdLookupException
LabelLookup
interface.EntityIdLabelFormatter
to only require a LabelLookup
.EntityIdComposer
.DisabledEntityTypesEntityLookup
.EntityRetrievingTermLookup
silently failing for entities that do not implement FingerprintProvider
(#171).PrefixMappingEntityIdParserFactory
(#162).EntityIdPager
from Wikibase\Repo\Store
.DispatchingEntityLookup
PrefixMappingEntityIdParser
PrefixMappingEntityIdParserFactory
UnknownForeignRepositoryException
StatementListDiffer
(was in the package private Internal
namespace before).StatementListPatcher
(replaces an incompatible package private class with the same name).TermListPatcher
.FingerprintPatcher
ignoring change operations on aliases that are marked as "not associative".StatementGuidValidator
not rejecting strings with a newline at the end.RestrictedEntityLookup::reset
FILTER_TYPE
constant to DataTypeStatementFilter
, NullStatementFilter
and PropertySetStatementFilter
.StatementGuidParser
not parsing GUIDs with multiple dollar signs.StatementGrouper
interface and the most basic implementations:NullStatementGrouper
ByPropertyIdStatementGrouper
FilteringStatementGrouper
StatementFilter
implementations for use in FilteringStatementGrouper
:NullStatementFilter
DataTypeStatementFilter
PropertySetStatementFilter
EntityRetrievingTermLookup
handle EntityLookupException
(T118581)InMemoryEntityLookup::addException
PropertyDataTypeMatcher
InProcessCachingDataTypeLookup
UnresolvedEntityRedirectException
constructorBreaking changes:
EntityRedirectResolvingDecorator
UnresolvedRedirectException
EntityLookup::hasEntity
now throws EntityLookupException
Non breaking changes:
UnresolvedEntityRedirectException
EntityAccessLimitException
RestrictedEntityLookup
now throws EntityAccessLimitException
Moved EntityIdParser
back to Wikibase DataModel:
EntityIdParser
EntityIdParsingException
BasicEntityIdParser
DispatchingEntityIdParser
Changed all Lookup contracts:
EntityRetrievingTermLookup
returns null instead of throwing OutOfBoundsException
.LanguageLabelDescriptionLookup
returns null instead of throwing OutOfBoundsException
.ItemLookup
implementations should return null instead of throwing ItemNotFoundException
.LabelDescriptionLookup
implementations should return null instead of OutOfBoundsException
.PropertyLookup
implementations should return null instead of PropertyNotFoundException
.TermLookup
implementations should return null instead of OutOfBoundsException
.EntityLookup
implementations should throw EntityLookupException
instead of returning null.EntityRedirectLookup
implementations should throw EntityRedirectLookupException
instead of returning false.EntityRetrievingDataTypeLookup
throws PropertyDataTypeLookupException
instead of PropertyNotFoundException
.EntityRetrievingTermLookup
throws TermLookupException
instead of OutOfBoundsException
.InMemoryDataTypeLookup
throws PropertyDataTypeLookupException
instead of PropertyNotFoundException
.ItemLookup
implementations should throw ItemLookupException
instead of ItemNotFoundException
.LabelDescriptionLookup
implementations should throw LabelDescriptionLookupException
instead of OutOfBoundsException
.LanguageLabelDescriptionLookup
throws LabelDescriptionLookupException
instead of OutOfBoundsException
.PropertyDataTypeLookup
implementations should throw PropertyDataTypeLookupException
instead of PropertyNotFoundException
.PropertyLookup
implementations should throw PropertyLookupException
instead of PropertyNotFoundException
.TermLookup
implementations should throw TermLookupException
instead of OutOfBoundsException
.Lookup\ItemNotFoundException
Lookup\PropertyNotFoundException
Lookup\EntityLookupException
Lookup\EntityRedirectLookupException
Lookup\LabelDescriptionLookupException
Lookup\TermLookupException
Lookup\ItemLookupException
Lookup\PropertyLookupException
Moved over various classes and interfaces from Wikibase Lib:
Lookup\RedirectResolvingEntityLookup
Lookup\RestrictedEntityLookup
Diff\EntityTypeAwareDiffOpFactory
(previously called WikibaseDiffOpFactory in Lib)Other additions:
Lookup\InMemoryEntityLookup
Moved over various classes and interfaces from Wikibase Lib:
DataValue\ValuesFinder
Entity\EntityPrefetcher
Entity\EntityRedirectResolvingDecorator
Entity\NullEntityPrefetcher
EntityId\EntityIdFormatter
EntityId\EntityIdLabelFormatter
EntityId\EscapingEntityIdFormatter
EntityId\PlainEntityIdFormatter
EntityId\SuffixEntityIdParser
Lookup\EntityLookup
Lookup\EntityRedirectLookup
Lookup\EntityRetrievingDataTypeLookup
Lookup\EntityRetrievingTermLookup
Lookup\LabelDescriptionLookup
Lookup\LanguageLabelDescriptionLookup
Lookup\TermLookup
Statement\StatementGuidValidator
Term\PropertyLabelResolver
Term\TermBuffer
These have not been changed apart from now residing in a different namespace, and in some cases using dependencies that have similarly been moved.
Entity\UnresolvedRedirectException
, similar to the one in Wikibase Lib, though without revision infoInitial release containing
Services\Diff
EntityIdParser
and basic implementations in Services\EntityId
ItemLookup
, PropertyLookup
and PropertyDataTypeLookup
interfacesServices\Statement
ByPropertyIdGrouper