WikiLambda
MediaWiki WikiLambda extension
Loading...
Searching...
No Matches
MediaWiki\Extension\WikiLambda\HookHandler\ClientHooks Class Reference
+ Inheritance diagram for MediaWiki\Extension\WikiLambda\HookHandler\ClientHooks:
+ Collaboration diagram for MediaWiki\Extension\WikiLambda\HookHandler\ClientHooks:

Public Member Functions

 __construct (Config $config, ZObjectStore $zObjectStore)
 
 onParserFirstCallInit ( $parser)
 Register {{#function:…}} as a wikitext parser function to trigger function evaluation.
 
 parserFunctionCallback (Parser $parser, $frame, $args=[])
 

Member Function Documentation

◆ onParserFirstCallInit()

MediaWiki\Extension\WikiLambda\HookHandler\ClientHooks::onParserFirstCallInit ( $parser)

Register {{#function:…}} as a wikitext parser function to trigger function evaluation.

See also
https://www.mediawiki.org/wiki/Manual:Hooks/ParserFirstCallInit
Parameters
Parser$parser

◆ parserFunctionCallback()

MediaWiki\Extension\WikiLambda\HookHandler\ClientHooks::parserFunctionCallback ( Parser $parser,
$frame,
$args = [] )
Parameters
Parser$parser
PPFrame$frame
array$args
Returns
array

The documentation for this class was generated from the following file: