Manual:$wgMiserMode

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgMiserMode and the translation is 14% complete.

Other languages:
English • ‎español • ‎日本語 • ‎polski • ‎中文
Reduction: $wgMiserMode
Enable/disable database-intensive features
導入されたバージョン: pre 1.1.0
除去されたバージョン: 使用中
可能な値: 真偽値
既定値: false
他の設定: アルファベット順 | 機能順

詳細[edit]

If true, disable database-intensive features, so that they can be managed/controlled separately if desired. This includes reading special pages marked as expensive from the cache instead of regenerating them every time they are requested.

With $wgMiserMode set to true, this means that the special pages managed by this flag will only be updated when explicitly made to update. For example, setting up a cron-job to call /maintenance/updateSpecialPages.phpManual:updateSpecialPages.php or using Extension:RefreshSpecialExtension:RefreshSpecial.

The other disabled features are...


MediaWiki バージョン: 1.23

MediaWiki 1.23 以降では:

For reference, this wiki has $wgMiserMode on. You can tell if a wiki has miser mode enabled via the API:SiteinfoAPI:Siteinfo API module.

update.php[edit]

MediaWiki バージョン: 1.18

This configuration option disables update.phpManual:update.php in 1.18.0 (and only 1.18.0. Subsequent releases will not use this option for that purpose), requiring one to use --force to run that script. Very very very large wikis (like Wikipedia) may need to have more careful upgrade process than the maintenance script does, but most sites would not have to worry about this.

関連項目[edit]