diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2008-09-06 22:50:34 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2008-09-06 22:50:34 +0200 |
commit | 24c464c9ee15b0d204c41fcd212975ebc7864904 (patch) | |
tree | acc6d8db225ed165010993fe0f11884411dc264d /includes/parser | |
parent | 5521bad534edbcfca285393e36a6a94a3f1be9bf (diff) |
Aktualisierung auf 1.13.1
Diffstat (limited to 'includes/parser')
-rw-r--r-- | includes/parser/Parser.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index e41aa1ac..3ff56a2b 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -133,6 +133,10 @@ class Parser $this->mVarCache = array(); if ( isset( $conf['preprocessorClass'] ) ) { $this->mPreprocessorClass = $conf['preprocessorClass']; + } elseif ( extension_loaded( 'domxml' ) ) { + // PECL extension that conflicts with the core DOM extension (bug 13770) + wfDebug( "Warning: you have the obsolete domxml extension for PHP. Please remove it!\n" ); + $this->mPreprocessorClass = 'Preprocessor_Hash'; } elseif ( extension_loaded( 'dom' ) ) { $this->mPreprocessorClass = 'Preprocessor_DOM'; } else { |