|
Wikibase
MediaWiki Wikibase extension
|
Special page to act as a data endpoint for the linked data web. More...
Inheritance diagram for Wikibase\Repo\Specials\SpecialEntityData:
Collaboration diagram for Wikibase\Repo\Specials\SpecialEntityData:Public Member Functions | |
| __construct (EntityDataRequestHandler $requestHandler, EntityDataFormatProvider $entityDataFormatProvider) | |
| execute ( $subPage) | |
| showForm () | |
| Shows an informative page to the user; Called when there is no entity to output. | |
Public Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
| __construct ( $name='') | |
| getDescription () | |
| setHeaders () | |
Static Public Member Functions | |
| static | factory (HTMLCacheUpdater $htmlCacheUpdater, EntityDataFormatProvider $entityDataFormatProvider, EntityDataSerializationService $serializationService, EntityDataUriManager $entityDataUriManager, EntityIdParser $entityIdParser, EntityRevisionLookup $entityRevisionLookup, LoggerInterface $logger, SettingsArray $repoSettings, Store $store, SubEntityTypesMapper $subEntityTypesMapper) |
Public Attributes | |
| const | SPECIAL_PAGE_NAME = 'EntityData' |
Private Attributes | |
| $requestHandler | |
| $entityDataFormatProvider | |
Additional Inherited Members | |
Protected Member Functions inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
| getGroupName () | |
| checkBlocked () | |
| Checks if user is blocked, and if blocked throws a UserBlocked. | |
| showErrorHTML ( $error) | |
Protected Attributes inherited from Wikibase\Repo\Specials\SpecialWikibasePage | |
| $stringNormalizer | |
Special page to act as a data endpoint for the linked data web.
The web server should generally be configured to make this accessible via a canonical URL/URI, such as http://my.domain.org/entity/Q12345.
Note that this is implemented as a special page and not a per-page action, so there is no need for the web server to map ID prefixes to wiki namespaces.
| Wikibase\Repo\Specials\SpecialEntityData::__construct | ( | EntityDataRequestHandler | $requestHandler, |
| EntityDataFormatProvider | $entityDataFormatProvider ) |
| Wikibase\Repo\Specials\SpecialEntityData::execute | ( | $subPage | ) |
| string | null | $subPage |
| HttpError |
Reimplemented from Wikibase\Repo\Specials\SpecialWikibasePage.
|
static |
| Wikibase\Repo\Specials\SpecialEntityData::showForm | ( | ) |
Shows an informative page to the user; Called when there is no entity to output.
|
private |
|
private |
| const Wikibase\Repo\Specials\SpecialEntityData::SPECIAL_PAGE_NAME = 'EntityData' |