Manual:$wgSpecialPageCacheUpdates

From mediawiki.org
This page is a translated version of the page Manual:$wgSpecialPageCacheUpdates and the translation is 62% complete.
拡張機能: $wgSpecialPageCacheUpdates
Additional functions to be performed with updateSpecialPages.php .
導入されたバージョン:1.14.0 (r40279)
除去されたバージョン:使用中
許容される値:(配列)
既定値:下記参照

詳細

Additional functions to be performed with updateSpecialPages.php .

Expensive Querypages are already updated with $wgQueryPages .

既定値

MediaWiki バージョン:
1.42
$wgSpecialPageCacheUpdates = [
	'Statistics' => [ MediaWiki\Deferred\SiteStatsUpdate::class, 'cacheUpdate' ]
];
MediaWiki バージョン:
1.31 – 1.41
$wgSpecialPageCacheUpdates = [
	'Statistics' => [ SiteStatsUpdate::class, 'cacheUpdate' ]
];
MediaWiki バージョン:
1.25 – 1.30
$wgSpecialPageCacheUpdates = [
	'Statistics' => [ 'SiteStatsUpdate', 'cacheUpdate' ]
];
MediaWiki バージョン:
1.23 – 1.24
$wgSpecialPageCacheUpdates = array(
	'Statistics' => array( 'SiteStatsUpdate', 'cacheUpdate' ),
	'Activeusers' => array( 'SpecialActiveUsers', 'cacheUpdate' ),
);
MediaWiki バージョン:
1.14 – 1.22
$wgSpecialPageCacheUpdates = array(
	'Statistics' => array( 'SiteStatsUpdate', 'cacheUpdate' )
);