Document preprocessorClass key of $wgParserConf.
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 26 Mar 2008 14:33:49 +0000 (14:33 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 26 Mar 2008 14:33:49 +0000 (14:33 +0000)
includes/DefaultSettings.php

index 132376e..ce22374 100644 (file)
@@ -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',
 );
 
 /**