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, AnonymousEditWarningBuilder $anonymousEditWarningBuilder, DataTypeFactory $dataTypeFactory, TermValidatorFactory $termValidatorFactory, TermsCollisionDetector $termsCollisionDetector, ValidatorErrorLocalizer $errorLocalizer, 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 (AnonymousEditWarningBuilder $anonymousEditWarningBuilder, DataTypeFactory $dataTypeFactory, MediaWikiEditEntityFactory $editEntityFactory, EntityNamespaceLookup $entityNamespaceLookup, EntityTitleLookup $entityTitleLookup, bool $isMobileView, 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. | |
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. | |
redirectToEntityPage (EditEntityStatus $status) | |
Redirect to the page of the entity that was successfully edited. | |
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 (string $dataType) | |
Private Attributes | |
AnonymousEditWarningBuilder | $anonymousEditWarningBuilder |
$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, | ||
AnonymousEditWarningBuilder | $anonymousEditWarningBuilder, | ||
DataTypeFactory | $dataTypeFactory, | ||
TermValidatorFactory | $termValidatorFactory, | ||
TermsCollisionDetector | $termsCollisionDetector, | ||
ValidatorErrorLocalizer | $errorLocalizer, | ||
bool | $isMobileView ) |
|
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 |
|
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' |