MediaWiki REL1_31
ParserFunctionsHooks Class Reference

Static Public Member Functions

static onParserFirstCallInit ( $parser)
 
static onRegistration ()
 Enable string functions, when running Wikimedia Jenkins unit tests.
 
static onScribuntoExternalLibraries ( $engine, array &$extraLibraries)
 

Detailed Description

Definition at line 3 of file ParserFunctionsHooks.php.

Member Function Documentation

◆ onParserFirstCallInit()

static ParserFunctionsHooks::onParserFirstCallInit ( $parser)
static
Parameters
Parser$parser
Returns
bool

Definition at line 21 of file ParserFunctionsHooks.php.

References $parser.

◆ onRegistration()

static ParserFunctionsHooks::onRegistration ( )
static

Enable string functions, when running Wikimedia Jenkins unit tests.

Running Jenkins unit tests without setting $wgPFEnableStringFunctions = true; will cause all the parser tests for string functions to be skipped.

Definition at line 11 of file ParserFunctionsHooks.php.

References $GLOBALS.

◆ onScribuntoExternalLibraries()

static ParserFunctionsHooks::onScribuntoExternalLibraries ( $engine,
array & $extraLibraries )
static

Definition at line 53 of file ParserFunctionsHooks.php.

References $engine.


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