r34284 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34283‎ | r34284 | r34285 >
Date:00:01, 6 May 2008
Author:brion
Status:old
Tags:
Comment:
* (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module errors
Modified paths:
  • /branches/REL1_12/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_12/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: branches/REL1_12/phase3/includes/DefaultSettings.php
@@ -2915,7 +2915,11 @@
29162916 /**
29172917 * Parser configuration. Associative array with the following members:
29182918 *
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.
29202924 *
29212925 * The entire associative array will be passed through to the constructor as
29222926 * the first parameter. Note that only Setup.php can use this variable --
@@ -2926,6 +2930,7 @@
29272931 */
29282932 $wgParserConf = array(
29292933 'class' => 'Parser',
 2934+ 'preprocessorClass' => 'Preprocessor_Hash',
29302935 );
29312936
29322937 /**
Index: branches/REL1_12/phase3/RELEASE-NOTES
@@ -12,6 +12,7 @@
1313 * (bug 12077) Fix HTML nesting for TOC
1414 * (bug 13532) Use proper timestamp call when reverting images
1515 * (bug 13649) Bad call to wfTimestamp()
 16+* (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module errors
1617
1718
1819 == MediaWiki 1.12.0 ==

Follow-up revisions

RevisionCommit summaryAuthorDate
r39158Fixed incorrect detection of PHP's DOM module (bug 13770)tstarling17:24, 11 August 2008
r39159Backport r39158: fix for bug 13770: incorrect detection of DOM moduletstarling17:33, 11 August 2008
r40419Fix for bug 13770, second attempt. Tested with a conflicting install of both ...tstarling06:19, 4 September 2008
r40422Fix for bug 13770 (backport of r40419)tstarling07:10, 4 September 2008

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r34283* (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module er...brion00:01, 6 May 2008

Status & tagging log