Manual:$wgSpecialPageCacheUpdates

Other languages:
English • ‎magyar • ‎polski • ‎日本語
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

DetailsEdit

Additional functions to be performed with updateSpecialPages.php .

Expensive Querypages are already updated with $wgQueryPages.

Default valueEdit

MediaWiki version:
1.31
$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' )
);