Manual:$wgSpecialPageCacheUpdates/cs
From Linux Web Expert
<translate> Extensions</translate>: $wgSpecialPageCacheUpdates | |
---|---|
Další funkce, které lze provést s 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> | (pole) |
<translate> Default value:</translate> | viz níže |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Podrobnosti
Další funkce, které lze provést s updateSpecialPages.php .
Nákladné Querypages jsou již aktualizovány o $wgQueryPages
.
Výchozí hodnota
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>"><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' )
);