Manual:$wgSpecialPageCacheUpdates

Extensions: $wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.php .
Introduced in version:1.14.0 (r40279)
Removed in version:Still in use
Allowed values:(array)
Default value:see below

Details

Additional functions to be performed with updateSpecialPages.php .

Expensive Querypages are already updated with $wgQueryPages .

Default value

MediaWiki version:
1.42
$wgSpecialPageCacheUpdates = [
	'Statistics' => [ MediaWiki\Deferred\SiteStatsUpdate::class, 'cacheUpdate' ]
];
MediaWiki versions:
1.31 – 1.41
$wgSpecialPageCacheUpdates = [
	'Statistics' => [ SiteStatsUpdate::class, 'cacheUpdate' ]
];
MediaWiki versions:
1.25 – 1.30
$wgSpecialPageCacheUpdates = [
	'Statistics' => [ 'SiteStatsUpdate', 'cacheUpdate' ]
];
MediaWiki versions:
1.23 – 1.24
$wgSpecialPageCacheUpdates = array(
	'Statistics' => array( 'SiteStatsUpdate', 'cacheUpdate' ),
	'Activeusers' => array( 'SpecialActiveUsers', 'cacheUpdate' ),
);
MediaWiki versions:
1.14 – 1.22
$wgSpecialPageCacheUpdates = array(
	'Statistics' => array( 'SiteStatsUpdate', 'cacheUpdate' )
);