Wikibase
MediaWiki Wikibase extension
|
Page for creating new Wikibase properties. More...
Public Member Functions | |
__construct (SpecialPageCopyrightView $specialPageCopyrightView, EntityNamespaceLookup $entityNamespaceLookup, SummaryFormatter $summaryFormatter, EntityTitleLookup $entityTitleLookup, MediawikiEditEntityFactory $editEntityFactory, 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_DATATYPE = 'datatype' |
const | FIELD_LABEL = 'label' |
const | FIELD_DESCRIPTION = 'description' |
const | FIELD_ALIASES = 'aliases' |
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 | |
dataTypeExists ( $dataType) | |
Private Attributes | |
$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 properties.
Wikibase\Repo\Specials\SpecialNewProperty::__construct | ( | SpecialPageCopyrightView | $specialPageCopyrightView, |
EntityNamespaceLookup | $entityNamespaceLookup, | ||
SummaryFormatter | $summaryFormatter, | ||
EntityTitleLookup | $entityTitleLookup, | ||
MediawikiEditEntityFactory | $editEntityFactory, | ||
TermValidatorFactory | $termValidatorFactory, | ||
TermsCollisionDetector | $termsCollisionDetector, | ||
ValidatorErrorLocalizer | $errorLocalizer | ||
) |
|
protected |
array | $formData |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
private |
string | $dataType |
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
Wikibase\Repo\Specials\SpecialNewProperty::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 |
const Wikibase\Repo\Specials\SpecialNewProperty::FIELD_ALIASES = 'aliases' |
const Wikibase\Repo\Specials\SpecialNewProperty::FIELD_DATATYPE = 'datatype' |
const Wikibase\Repo\Specials\SpecialNewProperty::FIELD_DESCRIPTION = 'description' |
const Wikibase\Repo\Specials\SpecialNewProperty::FIELD_LABEL = 'label' |
const Wikibase\Repo\Specials\SpecialNewProperty::FIELD_LANG = 'lang' |