Podręcznik:$wgSpecialPageCacheUpdates

This page is a translated version of the page Manual:$wgSpecialPageCacheUpdates and the translation is 38% complete.
Other languages:
English • ‎magyar • ‎polski • ‎日本語
Rozszerzenia: $wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.php .
Wprowadzono w wersji:1.14.0 (r40279)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(tablica)
Domyślna wartość:see below

Szczegóły

Additional functions to be performed with updateSpecialPages.php .

Expensive Querypages are already updated with $wgQueryPages.

Default value

Wersja MediaWiki:
1.31
$wgSpecialPageCacheUpdates = [
	'Statistics' => [ SiteStatsUpdate::class, 'cacheUpdate' ]
];
Wersje MediaWiki:
1.25 – 1.30
$wgSpecialPageCacheUpdates = [
	'Statistics' => [ 'SiteStatsUpdate', 'cacheUpdate' ]
];
Wersje MediaWiki:
1.23 – 1.24
$wgSpecialPageCacheUpdates = array(
	'Statistics' => array( 'SiteStatsUpdate', 'cacheUpdate' ),
	'Activeusers' => array( 'SpecialActiveUsers', 'cacheUpdate' ),
);
Wersje MediaWiki:
1.14 – 1.22
$wgSpecialPageCacheUpdates = array(
	'Statistics' => array( 'SiteStatsUpdate', 'cacheUpdate' )
);