Wikibase
MediaWiki Wikibase extension
|
Runner for the {{#property|…}} and {{#statements|…}} parser functions. More...
Public Member Functions | |
__construct (StatementGroupRendererFactory $rendererFactory, SiteLinkLookup $siteLinkLookup, EntityIdParser $entityIdParser, RestrictedEntityLookup $restrictedEntityLookup, $siteId, $allowArbitraryDataAccess) | |
runPropertyParserFunction (Parser $parser, PPFrame $frame, array $args, $type=DataAccessSnakFormatterFactory::TYPE_ESCAPED_PLAINTEXT) | |
Static Public Member Functions | |
static | renderEscapedPlainText (Parser $parser, PPFrame $frame, array $args) |
static | renderRichWikitext (Parser $parser, PPFrame $frame, array $args) |
Private Member Functions | |
getEntityIdForStatementListProvider (Parser $parser, PPFrame $frame) | |
getEntityIdFromString (Parser $parser, $entityIdString) | |
Gets the entity and increments the expensive parser function count. | |
buildResult ( $rendered) | |
Private Attributes | |
$rendererFactory | |
$siteLinkLookup | |
$entityIdParser | |
$restrictedEntityLookup | |
$siteId | |
$allowArbitraryDataAccess | |
Runner for the {{#property|…}} and {{#statements|…}} parser functions.
Wikibase\Client\DataAccess\ParserFunctions\Runner::__construct | ( | StatementGroupRendererFactory | $rendererFactory, |
SiteLinkLookup | $siteLinkLookup, | ||
EntityIdParser | $entityIdParser, | ||
RestrictedEntityLookup | $restrictedEntityLookup, | ||
$siteId, | |||
$allowArbitraryDataAccess | |||
) |
StatementGroupRendererFactory | $rendererFactory | |
SiteLinkLookup | $siteLinkLookup | |
EntityIdParser | $entityIdParser | |
RestrictedEntityLookup | $restrictedEntityLookup | |
string | $siteId | |
bool | $allowArbitraryDataAccess |
|
private |
string | $rendered | Wikitext |
|
private |
Parser | $parser | |
PPFrame | $frame |
|
private |
Gets the entity and increments the expensive parser function count.
Parser | $parser | |
string | $entityIdString |
|
static |
Parser | $parser | |
PPFrame | $frame | |
array | $args |
|
static |
Parser | $parser | |
PPFrame | $frame | |
array | $args |
Wikibase\Client\DataAccess\ParserFunctions\Runner::runPropertyParserFunction | ( | Parser | $parser, |
PPFrame | $frame, | ||
array | $args, | ||
$type = DataAccessSnakFormatterFactory::TYPE_ESCAPED_PLAINTEXT |
|||
) |
Parser | $parser | |
PPFrame | $frame | |
array | $args | |
string | $type | One of DataAccessSnakFormatterFactory::TYPE_* |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |