Added #cscore parser function for grabbing user's contribution score, changes, and pages

This commit is contained in:
Tim Laqua 2008-05-16 01:51:28 +00:00
parent ee6b9b211f
commit 86c3ce39b1
3 changed files with 74 additions and 4 deletions

View file

@ -154,7 +154,12 @@ class ContributionScores extends IncludableSpecialPage
}
function showInclude( $par ) {
global $wgOut;
global $wgOut, $wgContributionScoresDisableCache;
if($wgContributionScoresDisableCache) {
global $wgParser;
$wgParser->disableCache();
}
$days = null;
$limit = null;