Manual:$wgSpecialPageCacheUpdates/de-formal
From Linux Web Expert
<translate> Extensions</translate>: $wgSpecialPageCacheUpdates | |
---|---|
Additional functions to be performed with updateSpecialPages.php . |
|
<translate> Introduced in version:</translate> | 1.14.0 (r40279) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (array) |
<translate> Default value:</translate> | see below |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
Additional functions to be performed with updateSpecialPages.php .
Expensive Querypages are already updated with $wgQueryPages
.
Default value
<translate> ≥</translate> 1.42
<translate> MediaWiki version:</translate> |
$wgSpecialPageCacheUpdates = [
'Statistics' => [ MediaWiki\Deferred\SiteStatsUpdate::class, 'cacheUpdate' ]
];
1.31 – 1.41
<translate> MediaWiki versions:</translate> |
$wgSpecialPageCacheUpdates = [
'Statistics' => [ SiteStatsUpdate::class, 'cacheUpdate' ]
];
1.25 – 1.30
<translate> MediaWiki versions:</translate> |
$wgSpecialPageCacheUpdates = [
'Statistics' => [ 'SiteStatsUpdate', 'cacheUpdate' ]
];
1.23 – 1.24
<translate> MediaWiki versions:</translate> |
$wgSpecialPageCacheUpdates = array(
'Statistics' => array( 'SiteStatsUpdate', 'cacheUpdate' ),
'Activeusers' => array( 'SpecialActiveUsers', 'cacheUpdate' ),
);
1.14 – 1.22
<translate> MediaWiki versions:</translate> |
$wgSpecialPageCacheUpdates = array(
'Statistics' => array( 'SiteStatsUpdate', 'cacheUpdate' )
);