/**
* 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 --
*/
$wgParserConf = array(
'class' => 'Parser',
+ 'preprocessorClass' => 'Preprocessor_DOM',
);
/**