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:
@@ -66,7 +66,10 @@ function efContributionScores_LanguageGetMagic( &$magicWords, $langCode ) {
|
||||
}
|
||||
|
||||
function efContributionScores_Render(&$parser, $usertext, $metric='score') {
|
||||
global $wgContribScoreDisableCache;
|
||||
global $wgContribScoreDisableCache, $wgVersion;
|
||||
|
||||
if( version_compare( $wgVersion, '1.11', '>=' ) )
|
||||
wfLoadExtensionMessages( 'ContributionScores' );
|
||||
|
||||
$output = "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user