Wikibase
MediaWiki Wikibase extension
|
API module for formatting a set of entity IDs. More...
Public Member Functions | |
__construct (ApiMain $mainModule, $moduleName, EntityIdParser $entityIdParser, EntityIdFormatterFactory $entityIdFormatterFactory, ResultBuilder $resultBuilder, ApiErrorReporter $errorReporter, IBufferingStatsdDataFactory $dataFactory) | |
execute () | |
Protected Member Functions | |
getAllowedParams () | |
getExamplesMessages () | |
Private Member Functions | |
getEntityIdsFromIdParam (array $params) | |
Static Private Member Functions | |
static | makeLinksAbsolute ( $html) |
Make the href="" attributes of <a> elements in an HTML snippet absolute. | |
Private Attributes | |
$entityIdParser | |
$entityIdFormatterFactory | |
$resultBuilder | |
$errorReporter | |
$dataFactory | |
API module for formatting a set of entity IDs.
Wikibase\Repo\Api\FormatEntities::__construct | ( | ApiMain | $mainModule, |
$moduleName, | |||
EntityIdParser | $entityIdParser, | ||
EntityIdFormatterFactory | $entityIdFormatterFactory, | ||
ResultBuilder | $resultBuilder, | ||
ApiErrorReporter | $errorReporter, | ||
IBufferingStatsdDataFactory | $dataFactory | ||
) |
Wikibase\Repo\Api\FormatEntities::execute | ( | ) |
|
protected |
|
private |
array | $params |
|
protected |
|
staticprivate |
Make the href=""
attributes of <a>
elements in an HTML snippet absolute.
URLs are expanded using wfExpandUrl
.
string | $html |
|
private |
|
private |
|
private |
|
private |
|
private |