Wikibase
MediaWiki Wikibase extension
|
Page for creating new Wikibase items. More...
Public Member Functions | |
__construct (array $tags, SpecialPageCopyrightView $copyrightView, EntityNamespaceLookup $entityNamespaceLookup, SummaryFormatter $summaryFormatter, EntityTitleLookup $entityTitleLookup, MediaWikiEditEntityFactory $editEntityFactory, TermValidatorFactory $termValidatorFactory, TermsCollisionDetector $termsCollisionDetector, ValidatorErrorLocalizer $errorLocalizer, SiteLinkTargetProvider $siteLinkTargetProvider, array $siteLinkGroups, bool $isMobileView) | |
doesWrites () | |
Public Member Functions inherited from Wikibase\Repo\Specials\SpecialNewEntity | |
__construct ( $name, $restriction, array $tags, SpecialPageCopyrightView $copyrightView, EntityNamespaceLookup $entityNamespaceLookup, SummaryFormatter $summaryFormatter, EntityTitleLookup $entityTitleLookup, MediaWikiEditEntityFactory $editEntityFactory, bool $isMobileView) | |
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) | |
Static Public Member Functions | |
static | factory (MediaWikiEditEntityFactory $editEntityFactory, EntityNamespaceLookup $entityNamespaceLookup, EntityTitleLookup $entityTitleLookup, TermsCollisionDetector $itemTermsCollisionDetector, bool $isMobileView, SettingsArray $repoSettings, SiteLinkTargetProvider $siteLinkTargetProvider, SummaryFormatter $summaryFormatter, TermValidatorFactory $termValidatorFactory, ValidatorErrorLocalizer $errorLocalizer) |
Public Attributes | |
const | FIELD_LANG = 'lang' |
const | FIELD_LABEL = 'label' |
const | FIELD_DESCRIPTION = 'description' |
const | FIELD_ALIASES = 'aliases' |
const | FIELD_SITE = 'site' |
const | FIELD_PAGE = 'page' |
Protected Member Functions | |
createEntityFromFormData (array $formData) | |
getFormFields () | |
getLegend () | |
getWarnings () | |
validateFormData (array $formData) | |
displayBeforeForm (OutputPage $output) | |
getEntityType () | |
| |
Protected Member Functions inherited from Wikibase\Repo\Specials\SpecialNewEntity | |
createSummary (EntityDocument $entity) | |
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) | |
Private Member Functions | |
getSiteLinkTargetSite (string $siteId) | |
Additional Inherited Members | |
Protected Attributes inherited from Wikibase\Repo\Specials\SpecialNewEntity | |
$parts = null | |
$entityNamespaceLookup | |
Protected Attributes inherited from Wikibase\Repo\Specials\SpecialWikibaseRepoPage | |
$summaryFormatter | |
Protected Attributes inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
$stringNormalizer | |
Page for creating new Wikibase items.
Wikibase\Repo\Specials\SpecialNewItem::__construct | ( | array | $tags, |
SpecialPageCopyrightView | $copyrightView, | ||
EntityNamespaceLookup | $entityNamespaceLookup, | ||
SummaryFormatter | $summaryFormatter, | ||
EntityTitleLookup | $entityTitleLookup, | ||
MediaWikiEditEntityFactory | $editEntityFactory, | ||
TermValidatorFactory | $termValidatorFactory, | ||
TermsCollisionDetector | $termsCollisionDetector, | ||
ValidatorErrorLocalizer | $errorLocalizer, | ||
SiteLinkTargetProvider | $siteLinkTargetProvider, | ||
array | $siteLinkGroups, | ||
bool | $isMobileView ) |
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
Wikibase\Repo\Specials\SpecialNewItem::doesWrites | ( | ) |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
static |
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
private |
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
const Wikibase\Repo\Specials\SpecialNewItem::FIELD_ALIASES = 'aliases' |
const Wikibase\Repo\Specials\SpecialNewItem::FIELD_DESCRIPTION = 'description' |
const Wikibase\Repo\Specials\SpecialNewItem::FIELD_LABEL = 'label' |
const Wikibase\Repo\Specials\SpecialNewItem::FIELD_LANG = 'lang' |
const Wikibase\Repo\Specials\SpecialNewItem::FIELD_PAGE = 'page' |
const Wikibase\Repo\Specials\SpecialNewItem::FIELD_SITE = 'site' |