Open main menu

Manual:$wgMiserMode

This page is a translated version of the page Manual:$wgMiserMode and the translation is 39% complete.

Other languages:
English • ‎Nederlands • ‎español • ‎français • ‎polski • ‎中文 • ‎日本語
Reduction: $wgMiserMode
Habilita o deshabilita características que hacen un uso intensivo de la base de datos.
Introducido en la versión:pre 1.1.0
Eliminado en la versión:aún se usa
Valores permitidos:(booleano)
Valor predeterminado:false

Detalles

Si es verdadero, deshabilita las funcionalidades que hacen un uso intensivo de la base de datos, para que se puedan administrar o controlar por separado, si se desea. 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.php or using Extension:RefreshSpecial .

Las otras funciones desactivadas son...

  • Deshabilita la personalización del formato de los mensajes de cambio de tamaño en Special:RecentChanges a través de MediaWiki:Rc-change-size (r48986)
  • Disables selecting all pages that start with x box on Special:Log (and leprefix option of list=logevents API module)
  • Totally disables Special:MimeSearch, as well as aimime and famime option in the list=allimages and list=filearchive API module
  • Disables showsizediff option of the RSS feed for Special:Contributions
  • In the list=categorymembers and list=externallinks API module, use reduced sorting by namespace mode (returns only a few results when cmnamespace or elnamespace option is in use).
  • Disables showing list of most popular pages on Special:Statistics (but will still show other page view statistics if counters are on)
  • Doesn't update number of active users quite on Special:Statistics as often (?)
  • Disables the search for images with x somewhere in their name box on Special:NewImages and Special:ListFiles
  • Do not show how many previous versions of an image were uploaded on Special:ListFiles
  • When running rebuildrecentchanges.php maintenance script, will not re-auto-patrol edits by users with auto-patrol flag.
  • When running updateCollation.php maintenance script, will not tell you how many rows in total there are to update.
Versión de MediaWiki: 1.23

En MediaWiki 1.23+;

Como referencia, esta wiki tiene $wgMiserMode activado. Puedes determinar si el modo avaro está habilitado en un wiki mediante el módulo meta=siteinfo de la API.

update.php

Versión de MediaWiki: 1.18

This configuration option disables 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.

Véase también