diff --git a/ContributionScores.php b/ContributionScores.php index 8bc5c20..7be318e 100644 --- a/ContributionScores.php +++ b/ContributionScores.php @@ -55,7 +55,7 @@ function efContributionScores_Render( &$parser, $usertext, $metric = 'score' ) { global $wgContribScoreDisableCache; if ( $wgContribScoreDisableCache ) { - $parser->disableCache(); + $parser->getOutput()->updateCacheExpiry( 0 ); } $user = User::newFromName( $usertext );