MediaWiki  1.30.0
ParserFunctionsHooks Class Reference

Static Public Member Functions

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

Detailed Description

Definition at line 3 of file ParserFunctions.hooks.php.

Member Function Documentation

◆ onParserFirstCallInit()

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

Definition at line 21 of file ParserFunctions.hooks.php.

References $parser, global, and SFH_OBJECT_ARGS.

◆ 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 ParserFunctions.hooks.php.

References $GLOBALS.

◆ onScribuntoExternalLibraries()

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

Definition at line 53 of file ParserFunctions.hooks.php.

References $engine.


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