Configure the ParserFactory service in order to customize the Parser used.
Associative array with the following members:
The entire associative array will be passed through to the constructor as the first parameter. Note that only Setup.php can use this variable -- the configuration will change at runtime via $wgParser member functions, so the contents of this variable will be out-of-date. The variable can only be changed during LocalSettings.php
, in particular, it can't be changed during an extension setup function.
≥ 1.35
$wgParserConf = [ 'class' => Parser::class, ];MediaWiki versions:
1.31 – 1.34
$wgParserConf = [ 'class' => Parser::class, # 'preprocessorClass' => Preprocessor_Hash::class, ];MediaWiki versions:
1.13 – 1.30
$wgParserConf = [ 'class' => 'Parser', # 'preprocessorClass' => 'Preprocessor_Hash', ];
$wgParserConf = array( 'class' => 'Parser', 'preprocessorClass' => 'Preprocessor_Hash', );
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4