|
| __construct (EntityTermStoreWriter $entityTermStoreWriter, EntityContentDataCodec $contentCodec, EntityConstraintProvider $constraintProvider, ValidatorErrorLocalizer $errorLocalizer, EntityIdParser $entityIdParser, SiteLinkStore $siteLinkStore, BagOStuffSiteLinkConflictLookup $bagOStuffSiteLinkConflictLookup, EntityIdLookup $entityIdLookup, LanguageFallbackLabelDescriptionLookupFactory $labelLookupFactory, FieldDefinitions $itemFieldDefinitions, PropertyDataTypeLookup $dataTypeLookup, RepoDomainDb $db, ?callable $legacyExportFormatDetector=null) |
|
| getActionOverrides () |
|
| getSpecialPageForCreation () |
|
| getEntityType () |
| Returns Item::ENTITY_TYPE. More...
|
|
| getDeletionUpdates (Title $title, $role) |
|
| makeEmptyEntity () |
|
| makeEntityRedirectContent (EntityRedirect $redirect) |
|
| supportsRedirects () |
|
| makeEntityId ( $id) |
|
| getIdentifiersCount (StatementList $statementList) |
|
Public Member Functions inherited from Wikibase\Repo\Content\EntityHandler |
| __construct ( $modelId, $unused, EntityContentDataCodec $contentCodec, EntityConstraintProvider $constraintProvider, ValidatorErrorLocalizer $errorLocalizer, EntityIdParser $entityIdParser, FieldDefinitions $fieldDefinitions, $legacyExportFormatDetector=null) |
|
| getLegacyExportFormatDetector () |
| Returns the callback used to determine whether a serialized blob needs to be re-serialized on export (or null of re-serialization is disabled). More...
|
|
| showMissingEntity (Title $title, IContextSource $context) |
| Handle the fact that a given page does not contain an Entity, even though it could. More...
|
|
| getOnSaveValidators ( $forCreation, EntityId $entityId) |
| Get EntityValidators for on-save validation. More...
|
|
| getValidationErrorLocalizer () |
| Error localizer for use together with getOnSaveValidators(). More...
|
|
| makeEmptyContent () |
|
| supportsCategories () |
| None of the Entity content models support categories. More...
|
|
| generateHTMLOnEdit () |
| Do not render HTML on edit (T285987) More...
|
|
| getAutosummary (Content $oldContent=null, Content $newContent=null, $flags=0) |
|
| makeRedirectContent (Title $title, $text='') |
|
| exportTransform ( $blob, $format=null) |
|
| makeEntityContent (EntityHolder $entityHolder) |
|
| getDefaultFormat () |
|
| serializeContent (Content $content, $format=null) |
|
| unserializeContent ( $blob, $format=null) |
|
| getIdForTitle (Title $target) |
| Returns the ID of the entity contained by the page of the given title. More...
|
|
| getTitleForId (EntityId $id) |
| Returns the appropriate page Title for the given EntityId. More...
|
|
| getTitlesForIds (array $ids) |
| Returns the appropriate page Titles for the given EntityIds. More...
|
|
| getEntityNamespace () |
| Returns the namespace that is to be used for this kind of entities. More...
|
|
| getEntitySlotRole () |
| Returns the slot that is to be used for this kind of entities. More...
|
|
| canBeUsedOn (Title $title) |
|
| isParserCacheSupported () |
| Returns true to indicate that the parser cache can be used for data items. More...
|
|
| getPageViewLanguage (Title $title, Content $content=null) |
|
| getPageLanguage (Title $title, Content $content=null) |
|
| getUndoContent (Content $latestContent, Content $newerContent, Content $olderContent, $undoIsLatest=false) |
|
| allowAutomaticIds () |
| Whether IDs can automatically be assigned to entities of the kind supported by this EntityHandler. More...
|
|
| canCreateWithCustomId (EntityId $id) |
| Whether the given custom ID is valid for creating a new entity of the kind supported by this EntityHandler. More...
|
|
| getFieldsForSearchIndex (SearchEngine $engine) |
|
| getDataForSearchIndex (WikiPage $page, ParserOutput $parserOutput, SearchEngine $engine) |
|
| getParserOutputForIndexing (WikiPage $page, ParserCache $cache=null) |
| Produce page output suitable for indexing. More...
|
|
| validateSave (Content $content, ValidationParams $validationParams) |
|