Index: branches/REL1_12/phase3/includes/DefaultSettings.php |
— | — | @@ -2915,7 +2915,11 @@ |
2916 | 2916 | /** |
2917 | 2917 | * Parser configuration. Associative array with the following members: |
2918 | 2918 | * |
2919 | | - * class The class name |
| 2919 | + * class The class name |
| 2920 | + * preprocessorClass The preprocessor class, by default it is Preprocessor_Hash. |
| 2921 | + * Preprocessor_DOM is also available and better tested, but |
| 2922 | + * it has a dependency of the dom module of PHP. |
| 2923 | + * It has no effect with Parser_OldPP parser class. |
2920 | 2924 | * |
2921 | 2925 | * The entire associative array will be passed through to the constructor as |
2922 | 2926 | * the first parameter. Note that only Setup.php can use this variable -- |
— | — | @@ -2926,6 +2930,7 @@ |
2927 | 2931 | */ |
2928 | 2932 | $wgParserConf = array( |
2929 | 2933 | 'class' => 'Parser', |
| 2934 | + 'preprocessorClass' => 'Preprocessor_Hash', |
2930 | 2935 | ); |
2931 | 2936 | |
2932 | 2937 | /** |
Index: branches/REL1_12/phase3/RELEASE-NOTES |
— | — | @@ -12,6 +12,7 @@ |
13 | 13 | * (bug 12077) Fix HTML nesting for TOC |
14 | 14 | * (bug 13532) Use proper timestamp call when reverting images |
15 | 15 | * (bug 13649) Bad call to wfTimestamp() |
| 16 | +* (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module errors |
16 | 17 | |
17 | 18 | |
18 | 19 | == MediaWiki 1.12.0 == |