Another big cull on unused variables and such
This commit is contained in:
@@ -53,10 +53,6 @@ function efContributionScores_LanguageGetMagic( &$magicWords, $langCode ) {
|
||||
function efContributionScores_Render(&$parser, $usertext, $metric='score') {
|
||||
global $wgContribScoreDisableCache;
|
||||
|
||||
wfLoadExtensionMessages( 'ContributionScores' );
|
||||
|
||||
$output = "";
|
||||
|
||||
if ($wgContribScoreDisableCache) {
|
||||
$parser->disableCache();
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ class ContributionScores extends IncludableSpecialPage {
|
||||
ORDER BY rev_count DESC
|
||||
LIMIT {$limit}";
|
||||
|
||||
$sql = "SELECT user_id, " .
|
||||
$sql = "SELECT user_id, " .
|
||||
"user_name, " .
|
||||
"page_count, " .
|
||||
"rev_count, " .
|
||||
@@ -136,9 +136,7 @@ class ContributionScores extends IncludableSpecialPage {
|
||||
return $output;
|
||||
}
|
||||
|
||||
function execute( $par ) {
|
||||
global $wgRequest, $wgOut, $wgHooks;
|
||||
|
||||
function execute( $par ) {
|
||||
$this->setHeaders();
|
||||
|
||||
if( $this->including() ) {
|
||||
|
||||
Reference in New Issue
Block a user