From: Alexandre Emsenhuber Date: Wed, 26 Mar 2008 14:33:49 +0000 (+0000) Subject: Document preprocessorClass key of $wgParserConf. X-Git-Tag: 1.31.0-rc.0~48797 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=bd48c559885001506227cbdd2eb9ee7310347185;p=lhc%2Fweb%2Fwiklou.git Document preprocessorClass key of $wgParserConf. --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 132376e65d..ce22374d6e 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2928,7 +2928,13 @@ $wgSlaveLagCritical = 30; /** * Parser configuration. Associative array with the following members: * - * class The class name + * class The class name + * preprocessorClass The preprocessor class, by default it is Preprocessor_DOM + * but it has a dependency of the dom module of PHP. If you + * don't have this module, you can use Preprocessor_Hash wich + * has not this depedency. + * It has no effect with Parser_OldPP parser class. + * * * The entire associative array will be passed through to the constructor as * the first parameter. Note that only Setup.php can use this variable -- @@ -2939,6 +2945,7 @@ $wgSlaveLagCritical = 30; */ $wgParserConf = array( 'class' => 'Parser', + 'preprocessorClass' => 'Preprocessor_DOM', ); /**