Wikibase
MediaWiki Wikibase extension
|
Page for creating new Wikibase properties. More...
Public Member Functions | |
__construct (array $tags, SpecialPageCopyrightView $specialPageCopyrightView, EntityNamespaceLookup $entityNamespaceLookup, SummaryFormatter $summaryFormatter, EntityTitleLookup $entityTitleLookup, MediawikiEditEntityFactory $editEntityFactory, DataTypeFactory $dataTypeFactory, TermValidatorFactory $termValidatorFactory, TermsCollisionDetector $termsCollisionDetector, ValidatorErrorLocalizer $errorLocalizer) | |
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) | |
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 (DataTypeFactory $dataTypeFactory, MediawikiEditEntityFactory $editEntityFactory, EntityNamespaceLookup $entityNamespaceLookup, EntityTitleLookup $entityTitleLookup, TermsCollisionDetector $propertyTermsCollisionDetector, SettingsArray $repoSettings, SummaryFormatter $summaryFormatter, TermValidatorFactory $termValidatorFactory, ValidatorErrorLocalizer $errorLocalizer) |
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. 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... | |
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) | |
Private Member Functions | |
dataTypeExists (string $dataType) | |
Private Attributes | |
$dataTypeFactory | |
$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 | ( | array | $tags, |
SpecialPageCopyrightView | $specialPageCopyrightView, | ||
EntityNamespaceLookup | $entityNamespaceLookup, | ||
SummaryFormatter | $summaryFormatter, | ||
EntityTitleLookup | $entityTitleLookup, | ||
MediawikiEditEntityFactory | $editEntityFactory, | ||
DataTypeFactory | $dataTypeFactory, | ||
TermValidatorFactory | $termValidatorFactory, | ||
TermsCollisionDetector | $termsCollisionDetector, | ||
ValidatorErrorLocalizer | $errorLocalizer | ||
) |
|
protected |
array | $formData |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
private |
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
Wikibase\Repo\Specials\SpecialNewProperty::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.
|
protected |
Reimplemented from Wikibase\Repo\Specials\SpecialNewEntity.
|
protected |
|
private |
|
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' |