Wikibase
MediaWiki Wikibase extension
|
Page for creating new Wikibase entities that contain a Fingerprint. More...
Public Member Functions | |
__construct ( $name, $restriction, array $tags, SpecialPageCopyrightView $copyrightView, EntityNamespaceLookup $entityNamespaceLookup, SummaryFormatter $summaryFormatter, EntityTitleLookup $entityTitleLookup, MediaWikiEditEntityFactory $editEntityFactory, bool $isMobileView) | |
doesWrites () | |
isListed () | |
Public Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibaseRepoPage | |
__construct ( $title, $restriction, array $tags, SpecialPageCopyrightView $copyrightView, SummaryFormatter $summaryFormatter, EntityTitleLookup $entityTitleLookup, MediaWikiEditEntityFactory $editEntityFactory) | |
Public Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
__construct ( $name='', $restriction='', $listed=true) | |
getDescription () | |
setHeaders () | |
execute ( $subPage) | |
Protected Member Functions | |
getEntityType () | |
getFormFields () | |
getLegend () | |
getWarnings () | |
createEntityFromFormData (array $formData) | |
validateFormData (array $formData) | |
createSummary (EntityDocument $entity) | |
displayBeforeForm (OutputPage $output) | |
getCopyrightHTML ( $messageKey=null) | |
Protected Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibaseRepoPage | |
prepareEditEntity (EntityId $id=null, $baseRev=0) | |
getEditEntity () | |
Returns the EditEntity interactor. | |
parseEntityId ( $rawId) | |
Parses an entity id. | |
parseItemId ( $rawId) | |
Parses an item id. | |
getEntityTitle (EntityId $id) | |
saveEntity (EntityDocument $entity, FormatableSummary $summary, $token, $flags=EDIT_UPDATE) | |
Saves the entity using the given summary. | |
Protected Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
getGroupName () | |
checkBlocked () | |
Checks if user is blocked, and if blocked throws a UserBlocked. | |
showErrorHTML ( $error) | |
Protected Attributes | |
$parts = null | |
$entityNamespaceLookup | |
Protected Attributes inherited from Wikibase\Repo\Specials\SpecialWikibaseRepoPage | |
$summaryFormatter | |
Protected Attributes inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
$stringNormalizer | |
Private Member Functions | |
createForm () | |
redirectToEntityPage (EntityDocument $entity) | |
checkBlockedOnNamespace () | |
Private Attributes | |
bool | $isMobileView |
Page for creating new Wikibase entities that contain a Fingerprint.
Wikibase\Repo\Specials\SpecialNewEntity::__construct | ( | $name, | |
$restriction, | |||
array | $tags, | ||
SpecialPageCopyrightView | $copyrightView, | ||
EntityNamespaceLookup | $entityNamespaceLookup, | ||
SummaryFormatter | $summaryFormatter, | ||
EntityTitleLookup | $entityTitleLookup, | ||
MediaWikiEditEntityFactory | $editEntityFactory, | ||
bool | $isMobileView ) |
string | $name | Name of the special page, as seen in links and URLs. |
string | $restriction | User right required, |
string[] | $tags | List of tags to add to edits |
SpecialPageCopyrightView | $copyrightView | |
EntityNamespaceLookup | $entityNamespaceLookup | |
SummaryFormatter | $summaryFormatter | |
EntityTitleLookup | $entityTitleLookup | |
MediaWikiEditEntityFactory | $editEntityFactory |
|
private |
UserBlockedError |
|
abstractprotected |
array | $formData |
Reimplemented in Wikibase\Repo\Specials\SpecialNewItem, and Wikibase\Repo\Specials\SpecialNewProperty.
|
private |
|
abstractprotected |
EntityDocument | $entity |
|
protected |
Reimplemented in Wikibase\Repo\Specials\SpecialNewItem, and Wikibase\Repo\Specials\SpecialNewProperty.
Wikibase\Repo\Specials\SpecialNewEntity::doesWrites | ( | ) |
Reimplemented in Wikibase\Repo\Specials\SpecialNewItem, and Wikibase\Repo\Specials\SpecialNewProperty.
|
protected |
string | null | $messageKey | ignored here |
Reimplemented from Wikibase\Repo\Specials\SpecialWikibaseRepoPage.
|
abstractprotected |
Reimplemented in Wikibase\Repo\Specials\SpecialNewItem, and Wikibase\Repo\Specials\SpecialNewProperty.
|
abstractprotected |
Reimplemented in Wikibase\Repo\Specials\SpecialNewItem, and Wikibase\Repo\Specials\SpecialNewProperty.
|
abstractprotected |
Reimplemented in Wikibase\Repo\Specials\SpecialNewItem, and Wikibase\Repo\Specials\SpecialNewProperty.
|
abstractprotected |
Reimplemented in Wikibase\Repo\Specials\SpecialNewItem, and Wikibase\Repo\Specials\SpecialNewProperty.
Wikibase\Repo\Specials\SpecialNewEntity::isListed | ( | ) |
|
private |
|
abstractprotected |
array | $formData |
Reimplemented in Wikibase\Repo\Specials\SpecialNewItem, and Wikibase\Repo\Specials\SpecialNewProperty.
|
protected |
|
private |
|
protected |