Make $wgContribScoreCacheTTL affect caching of embedded Special:ContributionScores page
Change-Id: I526362c422f611e3f8882be5575618f530b868b2
This commit is contained in:
@@ -407,6 +407,11 @@ class ContributionScores extends IncludableSpecialPage {
|
||||
}
|
||||
}
|
||||
|
||||
public function maxIncludeCacheTime() {
|
||||
global $wgContribScoreDisableCache, $wgContribScoreCacheTTL;
|
||||
return $wgContribScoreDisableCache ? 0 : $wgContribScoreCacheTTL;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user