Manual:Configuration settings/es

Jump to navigation Jump to search
This page is a translated version of the page Manual:Configuration settings and the translation is 0% complete.
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Türkçe • ‎dansk • ‎español • ‎français • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文 • ‎日本語 • ‎한국어

This is an index of all supported configuration settings based on the DefaultSettings.php file.

Never edit DefaultSettings.php; copy appropriate lines to LocalSettings.php instead and amend them as appropriate.

If you can't find a configuration setting here, see if it is defined in DefaultSettings.php. The variable should have some documentation there.

Settings removed in versions of MediaWiki prior to 1.19 are no longer listed here. Please use the search box to find the relevant manual page (e.g. Manual:$wgAllowAnonymousMinor).
Listed alphabetically | Listed by function | Categoría:Preferencias de configuración de MediaWiki

General Settings

URLs and file paths

See also Uploads for file/image upload path settings.

See also Skins for skins path settings.

Global Objects

Email settings

See also User Access: $wgEmailConfirmToEdit

Email notification (Enotif) settings

Actual notifications for each user are defined in the options. You can change defaults with $wgDefaultUserOptions .

Database settings

LoadBalancer settings



  • $wgDBmysql4 (eliminado en 1.19) – Set to true to use enhanced fulltext search.
  • $wgDBmysql5 (eliminado en 1.33) – Set to true to set MySQL connection into UTF-8 encoding (experimental)
  • $wgDBTableOptions – Opciones de tablas MySQL a utilizar durante la instalación o actualización.
  • $wgDBtransactions (eliminado en 1.20) – Set to true if using InnoDB tables.
  • $wgExternalServers – An array of external MySQL servers.
  • $wgSQLMode – Value for the MySQL sql_mode parameter


  • $wgDBOracleDRCP (eliminado en 1.34) – When set to true, enables persistent connection with DRCP on Oracle.


  • $wgDBport – Database port. Only used by PostgreSQL.


Shared DB settings

Compressed Storage Support


Extension fields


Timezone settings


  • $wgAmericanDates – Use 'mdy' instead of 'dmy' as the default date format, e.g. 'May 12' instead of '12 May'.
  • $wgTranslateNumerals – For Hindi, Arabic, and other languages with their own numeral systems, use local numerals instead of Western style (0-9) numerals in some areas of the interface.


See also: Manual:Cómo depurar


  • $wgDebugFunctionEntry (eliminado en 1.25) – Whether to additionally output a debug message on every wfProfileIn() and wfProfileOut() call.
  • $wgDebugProfiling (eliminado en 1.23) – Detects non-matching wfProfileIn/wfProfileOut calls
  • $wgEnableProfileInfo (eliminado en 1.35) – Controls the availability of profileinfo.php.
  • $wgProfiler – Ajustes relacionados con la creación de perfiles.
  • $wgProfileCallTree (eliminado en 1.27) – If true, print a raw call tree instead of per-function report
  • $wgProfileLimit (desaprobado in 1.25) – Only record profiling info for pages that took longer than this number of seconds to load. this
  • $wgProfileOnly (desaprobado in 1.23) – Don't put non-profiling info into log file
  • $wgProfilePerHost (eliminado en 1.27) – Should the application server hostname be stored in the profiling table?
  • $wgProfileToDatabase (eliminado en 1.23) – Log sums from profiling into "profiling" table in db.
  • $wgUDPProfilerHost (eliminado en 1.27) – Host for UDP profiler.
  • $wgUDPProfilerPort (eliminado en 1.27) – Port for UDP profiler.
  • $wgUDPProfilerFormatString (eliminado en 1.27) – Format string for UDP profiler.

Site customization




See ResourceLoader for more information.



The following settings are only used if $wgHtml5 is set to "false" (eliminado en 1.22):

  • $wgDocType (eliminado en 1.22) – The doc type to use in the <!DOCTYPE> declaration.
  • $wgDTD (eliminado en 1.22) – Specifies the DTD in the DOCTYPE declaration for page output.
  • $wgXhtmlDefaultNamespace (eliminado en 1.34) – Namespace to use when outputting in XHTML mode.

Robot policies

Mobile support

Content Security Policy

Feature Policy


Site Statistics




See: Interwiki for Interwiki cache settings.

Client side caching

File Cache

Settings for Server side file caching.

Message Cache

Sidebar Cache

Parser Cache

Memcached settings

Settings for configuring the Memcached memory-based object store (if you are using it) docs/memcached.txt has more details.

WAN cache


Interwiki cache

See interwiki cache for more information.


Wiki locking, blocking/banning, and some other related settings.

See Manual:Preventing access for more methods and settings concerning access. See also Manual:Derechos de usuario for more information about $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups, etc.

See User Access for User Access settings.

Rate limiter

  • $wgRateLimitLog (eliminado en 1.27) – Set to a filename to log rate limiter hits.
  • $wgRateLimits – Opciones sencillas para limitar la frecuencia de ediciones en oleadas masivas.
  • $wgRateLimitsExcludedIPs – Array of IPs/CIDR ranges which should never trigger the rate limiter.


Wiki locking

  • $wgReadOnly – Impide cualquier edición, mostrando como motivo la cadena que se pasa como argumento.
  • $wgReadOnlyFile – If this file is found, the database is locked for the reason given in the contents of the file.
  • $wgReadOnlyWatchedItemStore – Set this to true to put the wiki watchlists into read-only mode.



Uploads have to be specially set up to be secure.

Shared uploads

These settings are kept for backward compatibility, see $wgForeignFileRepos for the new setting, or $wgUseInstantCommons if you only need read access to images on Commons.

MIME types

Advertencia Advertencia: This is not a configuration setting, but a global state variable. It should be used solely by thumb.php!

See also: Manual:Mime type detection


See also: Manual:Configuring file uploads



  • $wgShowEXIF – Show EXIF data at the end of file description pages.
  • $wgUpdateCompatibleMetadata – Whether to automatically update the img_metadata field if it is outdated but compatible with the current version.


Set $wgUseImageMagick to true to use ImageMagick instead of the builtin functions.


Thumbnail settings




  • $wgRawHtml – Permitir introducir código HTML sin comprobar entre etiquetas <html>...</html>.


Tidy is an open source tool that cleans up broken HTML. You can use this to ensure that broken HTML in articles doesn't affect the layout of your wiki. While Tidy itself is going to be replaced, the configuration settings can still be used for the replacements.

  • $wgTidyConfig – Configuración de la herramienta de posprocesamiento de HTML que se utilizará para corregir código HTML no válido.
  • $wgAlwaysUseTidy (eliminado en 1.26) – Siempre usa Tidy
  • $wgDebugTidy (eliminado en 1.33) – Put tidy warnings in HTML comments, only works for internal tidy.
  • $wgTidyBin (eliminado en 1.33) – Should be set to the path of the tidy binary.
  • $wgTidyConf (eliminado en 1.33) – Should be set to the path of the tidy configuration file.
  • $wgTidyInternal (eliminado en 1.33) – Controls the use of the tidy extension to use an in-process tidy library instead of spawning a separate program.
  • $wgTidyOpts (eliminado en 1.33) – Options passed to tidy on the command line.
  • $wgUseTidy (eliminado en 1.33) – Use tidy to make sure HTML output is sane.
  • $wgValidateAllHtml (eliminado en 1.31) – Validate the overall output using tidy and refuse to display the page if it's not valid.
See also: Manual:Build Tidy from source .

Special pages

Recent changes

See also Help:Cambios recientes and $wgDefaultUserOptions

UDP updates

Send Recent changes updates via UDP. See: Manual:Simple IRC RC Bot



User Access

User agent

  • $wgBrowserBlackList (desaprobado in 1.30) – Browser blacklist for non-Unicode-compliant browsers.



  • $wgFeed – Toggle syndication feeds (RSS, Atom e.g. Recentchanges, Newpages) on and off.
  • $wgAdvertisedFeedTypes – Feed types that should be provided by default.
  • $wgFeedCacheTimeout – Minimum timeout for cached Recentchanges feed, in seconds.
  • $wgFeedClasses – Available feeds objects.
  • $wgFeedDiffCutoff – When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this size.
  • $wgFeedLimit – Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges, Newpages.
  • $wgOverrideSiteFeed – Override the site's default rss/atom feed that appears on every page.



HTTP client



CDN / Squid

These settings configure MediaWiki when using a caching HTTP proxy server. They apply to caching using Varnish as well as Squid.

  • $wgEventRelayerConfig – Mapping of event channels (or channel categories) to EventRelayer configuration.
  • $wgInternalServer – Internal server name as known to Squid, if different than $wgServer .
  • $wgMaxSquidPurgeTitles (eliminado en 1.27) – Maximum number of titles to purge in any one client operation
  • $wgSquidPurgeUseHostHeader (desaprobado in 1.33) – Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
  • $wgSquidMaxage (eliminado en 1.35) – Cache timeout for the squid.
  • $wgCdnMaxAge – Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
  • $wgCdnMaxageLagged – Cache timeout for the CDN when DB replica lag is high
  • $wgCdnMaxageSubstitute – Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
  • $wgCdnReboundPurgeDelay – Secondary delayed purges of URLs
  • $wgSquidServers (eliminado en 1.35) – Una matriz de servidores proxy individuales para ayudar a MediaWiki a detectar si la petición ha pasado por un proxy.
    También sirve para enviar de vuelta al proxy comandos PURGE al producirse cambios.
  • $wgCdnServers – An array of individual proxy servers to help MediaWiki detect if the request has been proxyed.
    But also to send back to the proxy PURGE commands on changes.
  • $wgSquidServersNoPurge (eliminado en 1.35) – Lo mismo que $wgSquidServers , excepto que MW carece de métodos para enviar HTTP PURGE a una parte origen de los rangos configurados.
  • $wgCdnServersNoPurge – Same as $wgCdnServers , except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges
  • $wgLoggedOutMaxAge – Cache TTL for the user agent sent as max-age, for logged out users.
  • $wgUseESI (desaprobado in 1.33) – If you run Squid3 with ESI support, enable this.
  • $wgUseSquid (eliminado en 1.35) – Activar/desactivar Squid.
  • $wgUseCdn – Enable/disable page view caching.
  • $wgUseKeyHeader (eliminado en 1.34) – Send the Key HTTP header for better caching.
  • $wgUseXVO (eliminado en 1.27) – Send X-Vary-Options header for better caching (requires patched Squid).
  • $wgVaryOnXFP – Whether to add X-Forwarded-Proto to the Vary and X-Vary-Options headers for API requests and RSS/Atom feeds.

HTCP multicast purging


Maintenance Scripts setting

Miscellaneous settings

See also