MediaWiki master
|
Expansions of core magic variables, used by the parser. More...
Static Public Member Functions | |
static | expand (Parser $parser, string $id, ConvertibleTimestamp $ts, ServiceOptions $svcOptions, LoggerInterface $logger) |
Expand the magic variable given by $index. | |
Expansions of core magic variables, used by the parser.
Definition at line 39 of file CoreMagicVariables.php.
|
static |
Expand the magic variable given by $index.
Parser | $parser | |
string | $id | The name of the variable, and equivalently, the magic word ID which was used to match the variable |
ConvertibleTimestamp | $ts | Timestamp to use when expanding magic variable |
ServiceOptions | $svcOptions | Service options for the parser |
LoggerInterface | $logger |
Definition at line 87 of file CoreMagicVariables.php.
References MediaWiki\Parser\Parser\getOutput().