Handbuch:$wgSpecialPageCacheUpdates

This page is a translated version of the page Manual:$wgSpecialPageCacheUpdates and the translation is 62% complete.
Erweiterungen: $wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.php .
Eingeführt in Version:1.14.0 (r40279)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Array)
Standardwert:siehe unten

Details

Additional functions to be performed with updateSpecialPages.php .

Expensive Querypages are already updated with $wgQueryPages .

Standardwert

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