Manual:$wgSpecialPageCacheUpdates

From MediaWiki.org
Jump to navigation Jump to search
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

Details[edit]

Additional functions to be performed with updateSpecialPages.php .

Expensive Querypages are already updated with $wgQueryPages.

Default value[edit]

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' )
);