mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 10:39:53 +00:00
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:
parent
b57547e670
commit
6ecc369fbd
|
@ -304,6 +304,7 @@ class SyntaxHighlight_GeSHi {
|
|||
*/
|
||||
private static function initialise() {
|
||||
if( !self::$initialised ) {
|
||||
wfLoadExtensionMessages( 'SyntaxHighlight_GeSHi' );
|
||||
if( !class_exists( 'GeSHi' ) )
|
||||
require( 'geshi/geshi.php' );
|
||||
self::$initialised = true;
|
||||
|
|
Loading…
Reference in a new issue