Wikibase
MediaWiki Wikibase extension
|
Page for creating new Wikibase items. More...
Public Member Functions | |
__construct (SpecialPageCopyrightView $copyrightView, EntityNamespaceLookup $entityNamespaceLookup, SummaryFormatter $summaryFormatter, EntityTitleLookup $entityTitleLookup, MediawikiEditEntityFactory $editEntityFactory, SiteLookup $siteLookup, TermValidatorFactory $termValidatorFactory, TermsCollisionDetector $termsCollisionDetector, ValidatorErrorLocalizer $errorLocalizer) | |
doesWrites () | |
Public Member Functions inherited from Wikibase\Repo\Specials\SpecialNewEntity | |
__construct ( $name, $restriction, SpecialPageCopyrightView $copyrightView, EntityNamespaceLookup $entityNamespaceLookup, SummaryFormatter $summaryFormatter, EntityTitleLookup $entityTitleLookup, MediawikiEditEntityFactory $editEntityFactory) | |
isListed () | |
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 () | |
execute ( $subPage) | |
Static Public Member Functions | |
static | newFromGlobalState () |
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 Attributes | |
$siteLookup | |
$termValidatorFactory | |
$termsCollisionDetector | |
$errorLocalizer | |
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 | ( | SpecialPageCopyrightView | $copyrightView, |
EntityNamespaceLookup | $entityNamespaceLookup, | ||
SummaryFormatter | $summaryFormatter, | ||
EntityTitleLookup | $entityTitleLookup, | ||
MediawikiEditEntityFactory | $editEntityFactory, | ||
SiteLookup | $siteLookup, | ||
TermValidatorFactory | $termValidatorFactory, | ||
TermsCollisionDetector | $termsCollisionDetector, | ||
ValidatorErrorLocalizer | $errorLocalizer | ||
) |
|
protected |
array | $formData |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
Wikibase\Repo\Specials\SpecialNewItem::doesWrites | ( | ) |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
static |
|
protected |
|
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' |