| 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 | 
| Other settings: Alphabetical | By function | |
Details
Additional functions to be performed with updateSpecialPages.php.
Expensive Querypages are already updated with $wgQueryPages.
Default value
| 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' )
);
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.