Podręcznik:$wgSpecialPageCacheUpdates
Appearance
| 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ść: | patrz poniżej |
| Inne ustawienia: Alfabetycznie | Według funkcji | |
Szczegóły
Additional functions to be performed with updateSpecialPages.php.
Expensive Querypages are already updated with $wgQueryPages.
Default value
| Wersja MediaWiki: | ≥ 1.42 |
$wgSpecialPageCacheUpdates = [
'Statistics' => [ MediaWiki\Deferred\SiteStatsUpdate::class, 'cacheUpdate' ]
];
| Wersje MediaWiki: | 1.31 – 1.41 |
$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' )
);