Adding backwards compatibility f/ message cache population.
This commit is contained in:
parent
297fcb68a4
commit
546788ae96
2 changed files with 25 additions and 7 deletions
|
@ -92,9 +92,12 @@ class ContributionScores extends SpecialPage
|
|||
}
|
||||
|
||||
function execute( $par ) {
|
||||
global $wgRequest, $wgOut, $contribScoreReports;
|
||||
wfLoadExtensionMessages( 'ContributionScores' );
|
||||
|
||||
global $wgRequest, $wgOut, $contribScoreReports, $wgVersion;
|
||||
|
||||
if( version_compare( $wgVersion, '1.12alpha', '>=' ) ) {
|
||||
wfLoadExtensionMessages( 'ContributionScores' );
|
||||
}
|
||||
|
||||
$this->setHeaders();
|
||||
|
||||
# Get request data from, e.g.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue