Make $wgContribScoreCacheTTL
affect caching of embedded Special:ContributionScores
page
Change-Id: I526362c422f611e3f8882be5575618f530b868b2
This commit is contained in:
parent
e307850555
commit
d4dae78b27
1 changed files with 5 additions and 0 deletions
|
@ -407,6 +407,11 @@ class ContributionScores extends IncludableSpecialPage {
|
|||
}
|
||||
}
|
||||
|
||||
public function maxIncludeCacheTime() {
|
||||
global $wgContribScoreDisableCache, $wgContribScoreCacheTTL;
|
||||
return $wgContribScoreDisableCache ? 0 : $wgContribScoreCacheTTL;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue