From: Brion Vibber Date: Tue, 6 May 2008 00:01:12 +0000 (+0000) Subject: * (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module errors X-Git-Tag: 1.31.0-rc.0~47879 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=7bc0bb11bd81932ab1c44d020e211f3d79fca68b;p=lhc%2Fweb%2Fwiklou.git * (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module errors --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index bf684d1811..10e5c7ce52 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -246,6 +246,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13934) Fixing the link to GNU General Public License Version 2 * Show correct accesskey prefix for Firefox 3 beta (Alt-Shift-, not Alt-) * (bug 13949) Special:PrefixIndex/AllPages paging links contain invalid XML +* (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module errors === API changes in 1.13 === diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 9b2928a9c0..42ee7b56a1 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -3128,10 +3128,9 @@ $wgSlaveLagCritical = 30; * Parser configuration. Associative array with the following members: * * 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. + * preprocessorClass The preprocessor class, by default it is Preprocessor_Hash. + * Preprocessor_DOM is also available and better tested, but + * it has a dependency of the dom module of PHP. * It has no effect with Parser_OldPP parser class. * * @@ -3144,7 +3143,7 @@ $wgSlaveLagCritical = 30; */ $wgParserConf = array( 'class' => 'Parser', - 'preprocessorClass' => 'Preprocessor_DOM', + 'preprocessorClass' => 'Preprocessor_Hash', ); /**