Manual:$wgMiserMode

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎español • ‎日本語 • ‎polski
Reduction: $wgMiserMode
Enable/disable database-intensive features
Introduced in version: pre 1.1.0
Removed in version: still in use
Allowed values: boolean
Default value: false
Other settings: Alphabetical | By function

Details[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 version: 1.23

In 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 version: 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.

See also[edit]