Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -133,7 +133,7 @@ |
134 | 134 | $this->mVarCache = array(); |
135 | 135 | if ( isset( $conf['preprocessorClass'] ) ) { |
136 | 136 | $this->mPreprocessorClass = $conf['preprocessorClass']; |
137 | | - } elseif ( class_exists( 'DOMDocument' ) ) { |
| 137 | + } elseif ( extension_loaded( 'dom' ) ) { |
138 | 138 | $this->mPreprocessorClass = 'Preprocessor_DOM'; |
139 | 139 | } else { |
140 | 140 | $this->mPreprocessorClass = 'Preprocessor_Hash'; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -103,6 +103,7 @@ |
104 | 104 | WikimediaMessages. Patch for Czech by Danny B. |
105 | 105 | * (bug 15101) Displaying only bots edits in Special:Recentchanges now works |
106 | 106 | again |
| 107 | +* (bug 13770) Fixed incorrect detection of PHP's DOM module |
107 | 108 | |
108 | 109 | === API changes in 1.14 === |
109 | 110 | |