diff --git a/ContributionScores.php b/ContributionScores.php index 6a1d53a..5e0dbe9 100644 --- a/ContributionScores.php +++ b/ContributionScores.php @@ -14,7 +14,7 @@ $wgExtensionCredits['specialpage'][] = array( 'url'=>'http://www.mediawiki.org/wiki/Extension:Contribution_Scores', 'author'=>'Tim Laqua', 'description'=>'Polls wiki database for highest user contribution volume', - 'version'=>'1.7' + 'version'=>'1.7.1' ); define( 'CONTRIBUTIONSCORES_PATH', dirname( __FILE__ ) ); diff --git a/ContributionScores_body.php b/ContributionScores_body.php index c2464c5..51ff779 100644 --- a/ContributionScores_body.php +++ b/ContributionScores_body.php @@ -65,7 +65,7 @@ class ContributionScores extends IncludableSpecialPage FROM {$revTable} {$sqlWhere} GROUP BY rev_user - ORDER BY page_count + ORDER BY page_count DESC LIMIT {$limit}"; $sqlMostRevs = "SELECT rev_user, @@ -73,8 +73,8 @@ class ContributionScores extends IncludableSpecialPage COUNT(rev_id) AS rev_count FROM {$revTable} {$sqlWhere} - GROUP BY rev_user - ORDER BY rev_count + GROUP BY rev_user + ORDER BY rev_count DESC LIMIT {$limit}"; $sql = "SELECT user_id, " .