Wikibase
MediaWiki Wikibase extension
|
Special page for setting the label of a Wikibase entity. More...
Public Member Functions | |
__construct (SpecialPageCopyrightView $copyrightView, SummaryFormatter $summaryFormatter, EntityTitleLookup $entityTitleLookup, MediawikiEditEntityFactory $editEntityFactory, EntityPermissionChecker $entityPermissionChecker, ContentLanguages $termsLanguages) | |
doesWrites () | |
Public Member Functions inherited from Wikibase\Repo\Specials\SpecialModifyTerm | |
__construct ( $title, SpecialPageCopyrightView $copyrightView, SummaryFormatter $summaryFormatter, EntityTitleLookup $entityTitleLookup, MediawikiEditEntityFactory $editEntityFactory, EntityPermissionChecker $permissionChecker, ContentLanguages $termsLanguages) | |
Public Member Functions inherited from Wikibase\Repo\Specials\SpecialModifyEntity | |
__construct ( $title, SpecialPageCopyrightView $copyrightView, SummaryFormatter $summaryFormatter, EntityTitleLookup $entityTitleLookup, MediawikiEditEntityFactory $editEntityFactory) | |
execute ( $subPage) | |
Public Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibaseRepoPage | |
__construct ( $title, $restriction, SpecialPageCopyrightView $copyrightView, SummaryFormatter $summaryFormatter, EntityTitleLookup $entityTitleLookup, MediawikiEditEntityFactory $editEntityFactory) | |
Public Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
__construct ( $name='', $restriction='', $listed=true) | |
getDescription () | |
setHeaders () | |
Static Public Member Functions | |
static | factory (EntityPermissionChecker $entityPermissionChecker, EntityTitleLookup $entityTitleLookup, SettingsArray $repoSettings, ContentLanguages $termsLanguages) |
Protected Member Functions | |
validateInput () | |
getPostedValue () | |
getValue (EntityDocument $entity, $languageCode) | |
setValue (EntityDocument $entity, $languageCode, $value) | |
Protected Member Functions inherited from Wikibase\Repo\Specials\SpecialModifyTerm | |
processArguments ( $subPage) | |
modifyEntity (EntityDocument $entity) | |
getForm (EntityDocument $entity=null) | |
Protected Member Functions inherited from Wikibase\Repo\Specials\SpecialModifyEntity | |
getEntityId () | |
Returns the ID of the Entity being modified. More... | |
getBaseRevision () | |
Returns the base revision. More... | |
getLatestRevision () | |
Returns the current revision. More... | |
getEntityForModification () | |
Returns the EntityDocument that is to be modified by code in this class (or subclasses). More... | |
getEntityForDisplay () | |
Returns the EntityDocument that is to be shown by code in this class (or subclasses). More... | |
getFormElements (EntityDocument $entity=null) | |
isModificationRequested () | |
Whether the current request is a request for modification (as opposed to a request for showing the input form). More... | |
applyChangeOp (ChangeOp $changeOp, EntityDocument $entity, Summary $summary=null) | |
Applies the given ChangeOp to the given Entity. More... | |
Protected Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibaseRepoPage | |
prepareEditEntity (EntityId $id=null, $baseRev=0) | |
getEditEntity () | |
Returns the EditEntity interactor. More... | |
parseEntityId ( $rawId) | |
Parses an entity id. More... | |
parseItemId ( $rawId) | |
Parses an item id. More... | |
getEntityTitle (EntityId $id) | |
saveEntity (EntityDocument $entity, FormatableSummary $summary, $token, $flags=EDIT_UPDATE) | |
Saves the entity using the given summary. More... | |
getCopyrightHTML ( $saveMessageKey=null) | |
Protected Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
getGroupName () | |
checkBlocked () | |
Checks if user is blocked, and if blocked throws a UserBlocked. More... | |
showErrorHTML ( $error) | |
Additional Inherited Members | |
Protected Attributes inherited from Wikibase\Repo\Specials\SpecialModifyTerm | |
$termChangeOpFactory | |
Protected Attributes inherited from Wikibase\Repo\Specials\SpecialWikibaseRepoPage | |
$summaryFormatter | |
Protected Attributes inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
$stringNormalizer | |
Special page for setting the label of a Wikibase entity.
Wikibase\Repo\Specials\SpecialSetLabel::__construct | ( | SpecialPageCopyrightView | $copyrightView, |
SummaryFormatter | $summaryFormatter, | ||
EntityTitleLookup | $entityTitleLookup, | ||
MediawikiEditEntityFactory | $editEntityFactory, | ||
EntityPermissionChecker | $entityPermissionChecker, | ||
ContentLanguages | $termsLanguages | ||
) |
Wikibase\Repo\Specials\SpecialSetLabel::doesWrites | ( | ) |
Reimplemented from Wikibase\Repo\Specials\SpecialModifyTerm.
|
static |
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialModifyTerm.
|
protected |
EntityDocument | $entity | |
string | $languageCode |
InvalidArgumentException |
Reimplemented from Wikibase\Repo\Specials\SpecialModifyTerm.
|
protected |
EntityDocument | $entity | |
string | $languageCode | |
string | $value |
Reimplemented from Wikibase\Repo\Specials\SpecialModifyTerm.
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialModifyTerm.