Revert r66934 (Removing wfLoadExtensionMessages() from everything). I disagree on principle...we branch extensions for this very reason. But people want trunk extensions compatible for several versions back, meh.

This commit is contained in:
Chad Horohoe 2010-05-27 15:56:53 +00:00
parent b57547e670
commit 6ecc369fbd

View file

@ -304,6 +304,7 @@ class SyntaxHighlight_GeSHi {
*/ */
private static function initialise() { private static function initialise() {
if( !self::$initialised ) { if( !self::$initialised ) {
wfLoadExtensionMessages( 'SyntaxHighlight_GeSHi' );
if( !class_exists( 'GeSHi' ) ) if( !class_exists( 'GeSHi' ) )
require( 'geshi/geshi.php' ); require( 'geshi/geshi.php' );
self::$initialised = true; self::$initialised = true;