Wikibase
MediaWiki Wikibase extension
|
Runner for the {{#property|…}} and {{#statements|…}} parser functions. More...
Public Member Functions | |
__construct (StatementGroupRendererFactory $rendererFactory, SiteLinkLookup $siteLinkLookup, EntityIdParser $entityIdParser, RestrictedEntityLookupFactory $restrictedEntityLookupFactory, $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 | |
$restrictedEntityLookupFactory | |
$siteId | |
$allowArbitraryDataAccess | |
Runner for the {{#property|…}} and {{#statements|…}} parser functions.
Wikibase\Client\DataAccess\ParserFunctions\Runner::__construct | ( | StatementGroupRendererFactory | $rendererFactory, |
SiteLinkLookup | $siteLinkLookup, | ||
EntityIdParser | $entityIdParser, | ||
RestrictedEntityLookupFactory | $restrictedEntityLookupFactory, | ||
$siteId, | |||
$allowArbitraryDataAccess ) |
StatementGroupRendererFactory | $rendererFactory | |
SiteLinkLookup | $siteLinkLookup | |
EntityIdParser | $entityIdParser | |
RestrictedEntityLookupFactory | $restrictedEntityLookupFactory | |
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 | |
PPNode[] | $args | |
string | $type | One of DataAccessSnakFormatterFactory::TYPE_* |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |