Manual:Configuration settings/pt

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

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

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


 * Listed alphabetically | Listed by function | Category:MediaWiki configuration settings

Definições Gerais

 * – Canonical URL of the server, to use in IRC feeds, notification e-mails, etc.
 * – The base URL of the server.
 * – The name of the server without the protocol.
 * – The name of the site.
 * – MediaWiki version number. You should not change this!

URLs e caminhos de ficheiro

 * – The full path to the installation directory.
 * – Paths for various user actions. Used to make URLs prettier.
 * – Optional URL to an icon to use when bookmarking to the home screen on Apple handheld devices.
 * – The base URL used to create article links.
 * – Registry of factory functions to create config objects.
 * – Path to the GNU diff utility.
 * – Path to the GNU diff3 utility.
 * – Default  permission value for newly created directories.
 * – URL to extensions directory.
 * – The file system path to the extensions directory.
 * – The URL of the site favicon.
 * – Directory where the cached page will be saved when using server-side caching.
 * – Path to the git binary.
 * – Directory where GitInfo will look for pre-computed cache files.
 * – The URL path to load.php.
 * – The URL of the site logo.
 * – URLs for HD versions of the site logo.
 * – Executable name of PHP cli client (php/php5).
 * – The URL of redirect.php.
 * – Set of  values to control how browser send referral information to other websites when users follow links from your wiki.
 * – The URL of index.php.
 * – Extension to append to script names by default.
 * – The base URL path.
 * – The file system path to the skins directory.
 * – Do not set . Use  instead.
 * – The path of the temporary directory.
 * – The base URL for uploaded images if shared upload directory isn't to be used
 * – To enable remote on-demand scaling, set this to the thumbnail base URL.
 * – The file system path of the upload directory.
 * – Whether to use 'pretty' URLs.
 * – Used for links when having language's variants.

See also Uploads for file/image upload path settings.

See also Skins for skins path settings.

Objetos Globais

 * – Array mapping class names to filenames, for autoloading.
 * – Create a site configuration object. Not used for much in a default install.
 * – REST services configuration.

Definições de e-mail
Consulte também Acesso de Utilziador: 


 * – Additional email parameters, will be passed as the last argument to mail PHP function call.
 * – Set to true to enable HTML emails.
 * – Set to true to enable email authentication (confirmation) for this wiki. Except for password reminder emails, email functions only work for authenticated email addresses.
 * – Site admin email address.
 * – Set to true to enable basic email features.
 * – Set to true to enable user-to-user email.
 * – Reply-to address for automatically generated emails.
 * – Minimum time, in hours, which must elapse between password reminder emails.
 * – Password reminder email address.
 * – Password reminder  name.
 * – Whether the user must enter their password to change their email address.
 * – For using a direct (authenticated) SMTP server connection.
 * – Allow sysops to ban users from accessing Special:Emailuser.
 * – The time, in seconds, after which an email address confirmation token expires.
 * – Set to true to put the sending user's email in a Reply-To header instead of From.

Definições de notificação por e-mail (Enotif)

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


 * – Whether to make email notifications appear to come from the user who makes the edit.
 * – Send a generic mail instead of a personalized mail for each user.
 * – Maximum number of users to mail at once when using impersonal mail.
 * – Set to true to allow sending email notification also for edits marked as minor edits.
 * – Set to true to insert the page editor's email address into the email notifications Reply-To address.
 * – Send mails via the.
 * – Use real name instead of username in email "from" field.
 * – Set to true to allow the email notification for the own user talk page.
 * – Set to true to allow the email notification for watched pages.
 * – Overall "use Enotif" setting.
 * – Array of usernames who will be sent a notification email for every change which occurs on a wiki.

Definições da base de dados

 * – Make all database connections secretly go to localhost.
 * – Whether to use the database fields introduced by the ContentHandler facility
 * – Average time between SHOW STATUS queries in overload conditions.
 * – Whether to use compression in DB connection.
 * – File to log database errors to.
 * – Name of the database.
 * – The password for.
 * – Database port. Only used by PostgreSQL and MSSQL.
 * – Table name prefix.
 * – Host name or IP address of database server.
 * – Whether to use SSL in DB connection.
 * – Type of database.
 * – Database username.
 * – Other wikis on this site, can be administered from a single developer account.
 * – Maximum time a user-generated transaction can spend in writes.
 * – Use old names for change_tags indices.
 * – Type of search used for the wiki.
 * – SQL mode.

LoadBalancer settings

 * – Database timeout.
 * – Settings for the database load balancer (database servers and load ratios).
 * – Default external store for new revisions.
 * – Load balancer factory configuration.
 * – How long to wait for a slave to catch up to the master.
 * – If lag is higher than this value, show a more obvious warning than.
 * – If lag is higher than this value, show a warning in some special pages (like watchlist).

Especifico de MSSQL

 * – Whether to use Integrated Windows Authentication rather than the standard / combo.

Especifico de MySQL

 * – Set to true to set MySQL connection into UTF-8 encoding (experimental)
 * – MySQL table options to use during installation or update.
 * – Set to true if using InnoDB tables.
 * – An array of external MySQL servers.

Especifico de Oracle

 * – Enables persistent connection with DRCP on Oracle.

Especifico de PostgreSQL

 * – Schema that Postgres stores the MediaWiki tables in.

Especifico de SQLite

 * – To override default SQLite data directory.

Definições de BD Partilhada

 * – The name of the shared database.
 * – Prefix to use for the shared database.
 * – Tables to use in shared database.
 * – The table schema for the shared database.

Compressed Storage Support

 * – If this is set on, all future revisions will be compressed on page save, but only if zlib support is available and enabled in PHP.
 * – Disable output compression (compression is enabled by default if zlib is available).

Migração

 * – Controls how actor data is read/written to the database.
 * - Controls how change tags are read/written to the database.
 * - Controls how comments are read/written to the database.
 * - Controls how multi content revision data are read/written to the database.

Localização

 * – Experimental better.
 * – Disabled variants for language variant conversion.
 * – Whether to enable language variant conversion.
 * – Whether to enable language variant conversion for links.
 * – List of language codes that don't correspond to an actual language.
 * – Characters not explicitly converted by output encoding
 * – Array of UI messages that should be treated as content messages
 * – Treat language links as magic connectors, not inline links.
 * – Site language code. Should be one of the ./languages/messages/Messages(.*).php files.
 * – Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked with utf-8 flag.
 * – Show a bar of language selection links in the user login and user registration forms.
 * – When a message in cache expires (in seconds).
 * – Translation using MediaWiki: namespace.
 * – Enable to allow rewriting dates in page text. DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES.
 * – List of mappings from one language code to another, to override built-in mappings

Definições da zona horária

 * – Fake out the timezone that the server thinks it's in.
 * – Add a distance to the timezone of the server.
 * – Timezone to use in the error log.

Especifico de Idioma

 * English
 * – Enable for English module to print dates as eg 'May 12' instead of '12 May'.


 * Arabic/Hindi
 * – For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.

Depurar/registo de eventos

 * See also: Manual:How to debug


 * – Allows statistics to be aggregated over more than one wiki when using udp logging.
 * – Enable API debugging by removing some restrictions like POST-only
 * – Include portions of log output in page HTML comment.
 * – Trace lifecycle of the database transaction (opening, commit, rollback)
 * – Dump SQL queries to debug output
 * – Length limit for dumping queries
 * – The file name of the debug log, or empty if disabled. wfDebug appends to this file.
 * – Selective debug logs on a group basis.
 * – Prefix for debug log lines
 * – Print HTTP headers for every request in the debug information.
 * – Avoid overlapping debug entries by leaving out CSS.
 * – Displays redirect location instead of actually redirecting to the target URL
 * – Prefix debug messages with relative timestamp.
 * – Display the debugging toolbar.
 * – Release limitation to wfDeprecated warnings.
 * – Whether to throw PHP notices for some possible error conditions and for deprecated functions.
 * – Whether to send the exception backtrace to the error log.
 * – Default service provider for creating MWLogger instances.
 * – See also for more about what debug does.
 * – Override server hostname detection with a hardcoded value.
 * – If true, show a backtrace for database errors.
 * – Display debug data at the bottom of the main content area.
 * – Whether to show "We're sorry, but there has been a database error." pages.
 * – If set to true, uncaught exceptions will print a complete stack trace to output.
 * – Destination for wfIncrStats data.

Profiling

 * – Output debug message on every wfProfileIn/wfProfileOut
 * – Detects non-matching wfProfileIn/wfProfileOut calls
 * – Used to configure profiling of your MediaWiki installation.
 * – If true, print a raw call tree instead of per-function report
 * – Only record profiling info for pages that took longer than this
 * – Don't put non-profiling info into log file
 * – Should application server host be put into profiling table?
 * – Log sums from profiling into profiling table in db.
 * – Host for UDP profiler.
 * – Port for UDP profiler.

Personalização do site

 * – Break out of framesets. This can be used to prevent external sites from framing your site.
 * – Whether to enable canonical language links in meta data.
 * – Set this to false to avoid forcing the first letter of links to capitals.
 * – Per namespace configuration for
 * – Default variant code, if false, the default will be the language code.
 * – Control framing of wiki pages globally.
 * – Enable user search in Special:Newpages.
 * – List of language names or overrides for default names in Names.php.
 * – Filter for Special:Randompage. Part of a WHERE clause.
 * – The subtitle to appear under every title.
 * – Hide interlanguage links from the sidebar.
 * – Override the default list of illegal characters in file names.
 * – Override default list of illegal characters in page titles.
 * – Maximum article size in kilobytes.
 * – Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
 * – Max number of redirects to follow when resolving redirects.
 * – External links to these domain names (or any subdomains) will not be set to
 * – If true, external URL links in wiki text will be given the  attribute.
 * – Show watching users in Page views.
 * – Set of permission keys that can be selected on the 'page protection' page.
 * – A message to be displayed at the top of every page.
 * – Appended in the query string of static CSS and JS to clear client side cache when changing this.
 * – Register handlers for specific types of sites.
 * – Enable the UniversalEditButton for browsers that support it
 * – Defines the protocols which are supported and translated in HTML by the MediaWiki parser.
 * – Activate external editor interface for files and pages.

Ajax

 * – List of functions in  that are callable via
 * – Enable AJAX check for file overwrite, pre-upload.
 * – Enable watching/unwatching pages using AJAX.
 * – Enable use of AJAX features

Frontend

 * – Allow site-wide CSS on restricted special pages.
 * – Allow user Cascading Style Sheets (CSS)
 * – Allow user Javascript pages
 * – Allows running of javascript test suites via Special:JavaScriptTest (such as QUnit).
 * – Default maximum age for raw CSS/JS accesses.
 * , If set, 'screen' and 'handheld' media also apply to the iPhone/iPod Touch Mobile Safari.
 * , Style for media="handheld".
 * – Whether to include the mediawiki.legacy JS library (old wikibits.js), and its dependencies.
 * – Whether to preload the mediawiki.util module as blocking module in the top queue.
 * – Configuration for javascript testing.
 * – Whether or not to assign configuration variables to the global window object.
 * – Use the site's Cascading Style Sheets (CSS).
 * – Use the site's Javascript page.

ResourceLoader

 * See ResourceLoader for more information.


 * – Default 'remoteBasePath' value for resource loader modules.
 * – The default debug mode (on/off) for of ResourceLoader requests.
 * – Whether to embed private modules inline with HTML output or to bypass caching and check the user parameter against.
 * – Global LESS variables.
 * – Maximum time in seconds to cache resources served by the resource loader.
 * – Maximum query string length for resource loader requests.
 * – Maximum line length when minifying JavaScript.
 * – Put each statement on its own line when minifying JavaScript.
 * – Foreign module sources registry.
 * – Cache version for client-side ResourceLoader module storage.
 * – Enable embedding of certain resources using Edge Side Includes.
 * – Whether to parse JavaScript module prior to minification to validate them.
 * – Whether to parse statically-sourced (file-backed) JavaScript resources prior to minification to validate them.
 * – Cache modules in localStorage on supporting browsers.
 * – Array of all extra defined modules that can later be loaded during the output.

Espaços nominais

 * – Namespaces which are considered to contain real content, or articles.
 * – Additional namespaces.
 * – Same as $wgExtraNamespaces, but for namespaces with gender distinction.
 * – Controls in which subject (non-talk) namespaces the "Signature" button on the edit toolbar will be displayed.
 * – The name used for the meta-namespace.
 * – The name used for the meta-namespace talk pages.
 * – Additional names for namespaces.
 * – Content types defined for a given namespace.
 * – Default protection levels for namespaces.
 * – Which namespaces should be searched?
 * – Namespaces to be searched when user clicks the "Help" tab on Special:Search.
 * – Which namespaces should support subpages?
 * – Namespaces where the nofollow setting is overridden.
 * – Pages in namespaces in this array can not be used as templates.
 * – Namespaces that have special treatment where they should be preview-on-open.
 * – Array of namespaces to generate a sitemap or false for all namespaces.
 * – Custom namespace priorities for sitemaps.

Saída

 * – Enable HTML 5 microdata attributes for use in wikitext, if $wgHtml5 is also true.
 * – Enable RDFa attributes for use in wikitext.
 * – Whether to put as much as possible presentational HTML attributes in CSS.
 * – Whether to enable application of access keys and tooltips
 * – Whether to output an HTML 5 doctype. See.
 * – Defines the value of the version attribute in the &lt;html&gt; tag, if any.
 * – Whether to try to make our HTML output well-formed XML.
 * – The type to send in the  header.
 * – Whether to mangle any cross-domain-policy (Adobe cross-domain policy) tags, to prevent XSS attacks.
 * – Send 404 HTTP status for not found pages.
 * – Output a &lt;link rel="canonical"&gt; tag on every page indicating the canonical server which should be used, i.e. $wgServer or $wgCanonicalServer.
 * – Applies MediaWiki UI wherever it can be supported.
 * – Allow form components to render tables.
 * – Permit other namespaces in addition to the w3.org default.

The following settings are only used if is set to "false" :
 * – The doc type to use in the  declaration.
 * – Specifies the DTD in the DOCTYPE declaration for page output.
 * – Default XHTML namespace

Políticas de robot

 * – Allow customisation of robot policies on a per-article basis.
 * – Default robot exclusion policy for the wiki.
 * – An array of namespace keys in which the __INDEX__/__NOINDEX__ magic words will not function.
 * – Allow customisation of robot policies on a per-namespace basis.

Suporte de móvel

 * – Name of the class used for mobile device detection.

Política de Segurança de Conteúdo

 * Controls Content-Security-Policy header
 * Controls Content-Security-Policy-Report-Only header

Estatísticas do Site

 * – Method used to determine if a page in a content namespace should be counted as a valid article.
 * – Namespaces which are considered to contain real content, or articles (affects Special:Random and Special:Statistics).
 * – On Special:Unusedimages, consider images used if they are put into a category.
 * – Disable view counter shown in the footer of an article/page as: "This page has been accessed X times"
 * – Sets how often page counters should be updated.
 * – Sampling rate for statsd metrics as an associative array of patterns and rates
 * – Specifies the criteria used to define a 'valid article' when counting.
 * – Sets how often site statistics should be updated.
 * – Minimum number of links required before a page is listed on Special:Wantedpages

Temas

 * – The default skin.
 * – Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
 * – Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code.
 * – Same as, but shouldn't point to an external domain.
 * – Specify the name of a skin that should not be presented in the list of available skins.
 * – More of the same as $wgSkipSkin.
 * – The URL of the skins directory.
 * – Login / create account link behavior when it's possible for anonymous users to create an account.
 * – List of valid skin names.
 * – Search form behavior for Vector skin only.
 * – Watch and unwatch as an icon rather than a link for Vector skin only.

Categoria

 * – A version indicator for collations that will be stored in cl_collation for all new rows.
 * – On category pages, show thumbnail gallery for images belonging to that category instead of listing them as articles.
 * – Paging limit for items in categories.
 * – Enable DMOZ-like category tree at the bottom of pages
 * – List of messages representing tracking categories

Cache

 * – Directory for caching data in the local filesystem.
 * – Set this to current time to invalidate all prior cached pages.
 * – Overwrite the caching key prefix with custom value.
 * – Helps avoid cache problems due to timer resolution.
 * – Selects which DBA handler to use.
 * – Set this to current time to invalidate cache of extensions loaded using.
 * – Setting this to true will invalidate all cached pages whenever LocalSettings.php is changed.
 * – The cache type for storing language conversion tables.
 * – Replaces.
 * – Advanced object cache configuration.
 * – The expiry time to use for session storage when is enabled, in seconds.
 * – Number of rows to cache in 'querycache' table when miser mode is on.
 * – Cache extracted revision text in MemCached.
 * – If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if the file didn't already exist.
 * – Whether MediaWiki should send an ETag header.
 * – Use GZip to store cached pages.
 * – Number of rows to update per query.
 * – Store session data in the object cache, rather than on the filesystem.
 * – The cache type for storing session data.
 * – Whether to store sessions in object cache.


 * See: Interwiki for Interwiki cache settings.

Client side caching

 * – Allow client-side caching of pages

Cache de Ficheiro
Settings for Server side file caching.
 * – Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
 * – This will cache static pages for non-logged-in users to reduce database traffic on public sites.

Cache de Mensagem

 * – Instead of caching everything, keep track which messages are requested and load only most used messages.
 * – Localisation cache configuration.
 * – Defines format of local cache.
 * – Maximum entry size in the message cache, in bytes.
 * – Message cache setting.
 * – Make a local copy of the message cache, in addition to memcached

Cache de barra Lateral

 * – If true, cache the sidebar navigation links.
 * – Expiry time for the sidebar cache.

Parser Cache

 * – Keep parsed pages in a cache (objectcache table, turck, or memcached) to speed up output of the same page viewed by another user with the same options.
 * – Append a configured value to the parser cache and the sitenotice cache keys.
 * – Expiration time (in seconds) of cached parser information
 * – Parser cache setting.

Memcached settings
Settings for configuring the Memcached memory-based object store (if you are using it) has more details.
 * – Will be set to false in Setup.php, if the server isn't working.
 * – Whether to use persistent memcached connections.
 * – Array of Memcached servers.
 * – Server connection timeout in microseconds

Interwiki

 * – Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected from" link.
 * – Enable "scary " (transcluding from another wiki)
 * – Extra interwiki prefixes to treat as language code
 * – List of interwiki prefixes for wikis we'll accept as sources for Special:Import (for sysops).
 * – The interwiki prefix of this wiki.
 * – The interwiki prefixes of this wiki.
 * – Regular expression to restrict URLs which will be displayed as 'redirected from' links.
 * – Expiry time for interwiki transclusion.

Cache de Interwiki

 * See interwiki cache for more information.


 * – Whether to enable the interwiki cache.
 * – Expiry time for cache of interwiki table.
 * – Used by maintenance scripts to dump interwiki table.
 * – Used by getInterwikiCache to retrieve from interwiki database file.

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


 * – Array of allowed values for the "action" parameter for normal pages.
 * – Conditions of automatic promotion of user to specific groups.
 * – Automatically add a usergroup to any user who matches certain conditions.
 * – Number of accounts each IP address may create, 0 to disable. Requires memcached.
 * – Allow the info action, very inefficient at the moment.
 * – Maximum CIDR range when blocking an IP range.
 * – Integer of how many revisions an article must have before the bigdelete right is required to delete it.
 * – Array of disabled article actions, e.g. view, edit, dublincore, delete, etc.
 * – Enable cascade protection.
 * – Similarly (to ) if this function returns true.
 * – Specifies if users should be sent to a password-reset form on login in case of an inadequate password.
 * – The time, in seconds, when an emailed temporary password expires.
 * – Limit password attempts per IP per address.
 * – Configuration for built-in password types.
 * – Default password type to use when hashing user passwords.
 * – Whether to allow password resets identified by various bits of data.
 * – For compatibility with old installations set to false.
 * – Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
 * – Actions that can be restricted.
 * – A regular expression pattern which stops a page from being saved.
 * – Same as $wgSpamRegex except for edit summaries
 * – (since 1.29) Determines whether to set a cookie when a user is autoblocked. Doing so means that a blocked user, even after logging out and moving to a new IP address, will still be blocked. This is false by default.
 * – (since 1.29) IP ranges that should be considered soft-blocked (anon-only, account creation allowed).

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


 * Consulte Acesso do Utilizador para definições do 'Acesso do Utilizador'.

Rate limiter

 * – Set to a filename to log rate limiter hits.
 * – Simple rate limiter options to brake edit floods.
 * – Array of IPs which should never trigger the rate limiter.

API

 * – Enable direct access to the data API through api.php.
 * – Allow the API to be used to perform write operations (page edits, rollback, etc.) when an authorised user accesses it.
 * – Allow the API to be accessed by cross domain AJAX from specified domains
 * – Domains that should not be allowed to make AJAX requests, even if they match one of the domains allowed by $wgCrossSiteAJAXdomains
 * – Set the timeout for the API help text cache.
 * – Control framing of api pages.
 * – Log file or URL (TCP or UDP) to log API requests to
 * – The ApiQueryQueryPages module should skip pages that are redundant to true API queries.

Wiki locking

 * – Disallows editing, displaying the string given as the reason.
 * – If this file is found, the database is locked for the reason given in the contents of the file.

Reduction

 * – Maximum number of rows to scan in a DB query in the API.
 * – The maximum size (in bytes) of an API result.
 * – The maximum number of uncached diffs that can be retrieved in one API request.
 * – Replaced by the hook.
 * – Disable all query pages if miser mode is on, not just some.
 * – Array of special pages that should not be updated.
 * – If you've disabled search semi-permanently, this also disables updates to the table.
 * – Disables full text search (including title search).
 * – Display user edit counts in various prominent places.
 * – Fix double redirects after a page move.
 * – Array of invalid page redirect targets.
 * – Maximum number of pages to move at once when moving subpages with a page.
 * – If true, disable database-intensive features
 * – If set to true, exposes host names through API and HTML comments.
 * – Maximum number to count when a rollback link is shown.
 * – Do /  for link updates instead of incremental.

Uploads
Uploads have to be specially set up to be secure.


 * – Allow preview licences during upload via AJAX.
 * – Allow uploads from URLs, not just local files.
 * – Domains that are allowed to be used in upload from URLs.
 * – Allow Java archive uploads.
 * – This is a flag to determine whether or not to check file extensions on upload.
 * – Proxy to use for copy upload requests.
 * – Allow asynchronous copy uploads.
 * – Whether to disable the upload system's checks for HTML/JavaScript.
 * – Enables uploads and shows link to upload page
 * – File backend structure configuration.
 * – Files with these extensions will never be allowed as uploads.
 * – This is the list of preferred extensions for uploading files. Uploading files with extensions not in this list will trigger a warning.
 * – Indicates where deleted images are to be stored.
 * – If true, use the /a/ab/foo.png directory structure.
 * – Display reason access to uploaded file was denied to users(img_auth only)
 * – Test to see if img_auth set up correctly (img_auth only)
 * – A single repository structure for the local repository.
 * – Array of configuration arrays for each lock manager.
 * – Minimum upload chunk size, in bytes.
 * – If this is turned off, users may override the warning for files not covered by.
 * – What directory to place deleted uploads in
 * – To disable image delete/restore temporarily.
 * – Point the upload link for missing files to an external URL.
 * – Point the upload navigation link to an external URL.
 * – The URL of the upload directory.
 * – Warn if uploaded files are larger than this.
 * – The maximum age of temporary (incomplete) uploaded files.
 * – Maximum size for file uploads.
 * – Indicates that deleted images are to be stored for later undeletion.

Shared uploads
These settings are kept for backward compatibility, see for the new setting, or  if you only need read access to images on Commons.
 * – Cache shared metadata in memcached.
 * – An array of repository structure for foreign repositories.
 * – Array of foreign file repository names (set in $wgForeignFileRepos) that are allowable upload targets for the upload dialog.
 * – Whether to hash the shared upload directory.
 * – Base URL for a repository wiki.
 * – DB name with metadata about shared directory.
 * – DB prefix for shared image uploads.
 * – Path on the file system where shared uploads can be found.
 * – Full path on the web server where shared uploads can be found.
 * – Whether to look in the shared repository if no file of the given name is found in the local repository (for [[Image:..|Image:..]], [[Media:..|Media:..]] links).
 * – set this "true" if you want to integrate media-descriptions, stored in the commonswiki

MIME types

 * – Media type (MIME type) to use for JavaScript scripts.
 * – Switch for loading the FileInfo extension by PECL at runtime.
 * – Sets an external mime detector program.
 * – Sets the mime type info file to use by.
 * – Sets the mime type definition file to use by.
 * – Switch for trivial mime detection.
 * This is not a configuration setting, but a global state variable. It should be used solely by thumb.php!


 * – Determines if the mime type of uploaded files should be checked.
 * – Determines whether extra checks for Internet Explorer type detection should be applied.
 * – Files with these mime types will never be allowed as uploads if $wgVerifyMimeType is enabled.
 * – An array of XML mime types we can detect via MimeMagic.

See also: Manual:Mime type detection

Images

 * – Allow to move images
 * – Use another resizing converter, e.g. GraphicMagick.
 * – Whether to enable image auto-rotation based on Exif information
 * – Path to the exiv2 executable.
 * – Default parameters for the &lt;gallery> tag.
 * – If true, inline scaled images will still produce &lt;img&gt; tags ready for output instead of showing an error message.
 * – Limit images on image description pages to a user-selectable limit.
 * – Path to the jpegtran utility.
 * – Don't thumbnail an image if it will use too much working memory.
 * – Plugins for media file type handling.
 * parameters for upload path
 * – List of trusted media-types and mime types.

See also: Manual:Configuring file uploads

DjVu

 * – Path of the djvudump executable.
 * – File extension for the DJVU post processor output.
 * – Path of the DJVU post processor.
 * – Path of the ddjvu DJVU renderer.
 * – Path of the djvutoxml executable.
 * – Path of the djvutxt DJVU text extraction utility.

EXIF

 * – Determines whether EXIF metadata is to be displayed. Set to false for not showing data.
 * – Whether to automatically update the img_metadata field if the metadata field is outdated but compatible with the current version.

ImageMagick
Set $wgUseImageMagick to true to use ImageMagick instead of the builtin functions.
 * – The convert command shipped with ImageMagick.
 * – The identify command shipped with ImageMagick
 * – Temporary directory used for ImageMagick.
 * – Sharpening parameter to ImageMagick.
 * – Reduction in linear dimensions below which sharpening will be enabled.
 * – Resizing can be done using PHP's internal image libraries or using ImageMagick. The latter supports more file formats than PHP, which only supports PNG, GIF, JPG, XBM and WBMP.
 * – When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and free) TinyRGB profile when generating thumbnails.

SVG

 * – If true, &lt;title&gt; will be allowed in files with an "image/svg" MIME type.
 * – A key from $wgSVGConverters to use as converter.
 * – If not in the executable PATH, specify.
 * – Scalable Vector Graphics (SVG) may be uploaded as images.
 * – Don't scale a SVG larger than this unless its native size is larger.
 * – Don't read SVG metadata beyond this point.

Thumbnail settings

 * – Set $wgUseImageResize to true if you want to enable dynamic server side image resizing (Thumbnails)
 * – Allow thumbnail rendering on page view.
 * – Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnail.
 * – Same as $wgThumbnailScriptPath, but for shared uploads.
 * – Whether to show thumbnails for old images on the image description page.
 * – Array of extension and mime type to transform TIFF images to.
 * – Give a path here to use for thumbnail generation on client request, instead of generating them on render and outputting a static URL.
 * – Adjust width of upright images when parameter 'upright' is used.
 * – List of image sizes users can pick from.
 * – Use responsive images for high-density displays.
 * – List of intermediary thumbnail sizes to use to speed up thumbnail rendering.
 * – Minimal distance between intermediary thumbnail size and target thumbnail size.
 * – Sets YUV chroma subsampling mode for JPEG thumbnails

Antivirus

 * – Internal name of virus scanner.
 * – Determines if a failed virus scan will cause the file to be rejected.
 * – Configuration for different virus scanners.

Parser

 * – Allow the magic word  to override  the title of a page.
 * – Whether to allow inline image pointing to other websites.
 * – If is false, you can specify exceptions here.
 * – Allow slow parser functions like "pagesinnamespace".
 * – Allow tag to be used in wikitext.
 * – If is false, this will enable an on-wiki image whitelist at.
 * – If true, removes (substitutes) templates in " ~ " signatures.
 * – Should we allow a broader set of characters in id attributes, per HTML5?
 * – Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
 * – Set a default target for external links.
 * – Used for parser function.
 * – LinkHolderArray batch size.
 * – A complexity limit on template expansion: the maximum number of nodes generated by
 * – Stack depth limit for expansion with the preprocessor.
 * – A complexity limit on template expansion: the maximum number of nodes visited by
 * – Maximum recursion depth for templates within templates.
 * – Maximum indent level of the.
 * – Parser configuration.
 * – Parser test suite files to be run by parserTests.php.
 * – Specifies target CodeReview installation to send test result data from "parserTests.php --upload"
 * – Preprocessor caching threshold.
 * – Whether to register external links pointing to the same server.
 * – Restrict DISPLAYTITLE to titles that normalize to the same canonical DB key.

HTML

 * – Allow raw, unchecked HTML in ... sections.

Tidy
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.


 * – Configuration of the HTML postprocessing tool to use for fixing invalid HTML code.
 * – Put tidy warnings in HTML comments, only works for internal tidy.
 * – Should be set to the path of the tidy binary.
 * – Should be set to the path of the tidy configuration file.
 * - Controls the use of the PECL extension to use an inprocess tidy library instead of spawning a separate program.
 * – Options passed to tidy on the command line.
 * – Use tidy to make sure HTML output is sane.
 * – Validate the overall output using tidy and refuse to display the page if it's not valid.
 * – 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

 * – List of log types that can be filtered by action types
 * – Allow special page inclusions such as.
 * – Whether to allow exporting the entire wiki into a single file.
 * – Enable the full-history option on Special:Export.
 * – Whether to allow to list all contributors while exporting a page.
 * – Whether to allow the "export all pages in namespace" option
 * – Special:Export requests for history of pages with more revisions than this will be rejected.
 * – Maximum value of the "pagelink-depth" parameter in Special:Export.
 * – Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
 * – Show/hide links on Special:Log will be shown for these log types
 * – Optional default target namespace for interwiki imports.
 * – Lists the message key string for formatting individual events of each type and action when listed in the logs.
 * – Same as, but values are functions callbacks.
 * – Lists the message key string for descriptive text to be shown at the op of each log type.
 * – Lists the message key string for each log type.
 * – Restricts log access to those who have a certain right.
 * – List of log types.
 * – Default number of entries to show on query pages.
 * – Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
 * – Redirect a user to a specific page when they log in.
 * – Whether to let user authenticate using https when they come from http.
 * – Whether or not to sort special pages in Special:Specialpages.
 * – List of special pages, followed by what subtitle they should go under at Special:SpecialPages
 * – Whether to show the contents of $wgHooks in Special:Version.
 * – Use new pages patrolling to check for vandalism.

Recent changes
See also Help:Recent changes and


 * – Allow to filter the recentchanges by a category or one of its sub(subsubsub...)categories
 * – Whether to put user rights log entries for autopromotion in recent changes
 * – Log IP addresses in the recentchanges table.
 * – Highlight character count difference lower than this.
 * – Filter $wgRCLinkDays to avoid showing links for values higher than $wgRCMaxAge.
 * – Changes limit.
 * – Days limit.
 * – Recentchanges items are periodically purged; entries older than this many seconds will go.
 * – Show the amount of changed characters in recent changes.
 * – Show watching users in recent changes, watchlist and page history views.
 * – Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
 * – Show "Updated (since my last visit)" marker in RC view, watchlist and history.
 * – Polling rate, in seconds, used by the 'live update' feature of Special:RecentChanges and Special:Watchlist (if RCFilters is enabled)
 * – Use RC Patrolling to check for vandalism.
 * – Page watchers inactive for more than this many seconds are considered inactive.
 * – If active watchers (per above) are this number or less, do not disclose it.

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


 * – Feed engine configuration
 * – Feed formatting and destination configuration
 * – Address used.
 * – Whether to prefixes the page name used in the RC feed.
 * – Omit bot.
 * – Port used.
 * – Prefix used.

Users

 * – The number of days a person must be idle before they're considered inactive
 * – Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group membership.
 * – Number of edits an account requires before it's given the implicit 'autoconfirm' group membership.
 * – Whether to allow user-preferences implemented in CSS
 * – Settings added to this array will override the default settings for the user preferences used by anonymous visitors and newly created accounts.
 * – Disable talk pages for anonymous users (IPs).
 * – Disable certain user preferences.
 * – Algorithm for HMAC-based key derivation function (fast, cryptographically secure random numbers).
 * – Secret for HMAC-based key derivation function (fast, cryptographically secure random numbers).
 * – Characters to prevent during new account creations.
 * – Maximum number of bytes in username.
 * – Maximum customized signature length.
 * – Specifies the minimal length of a user password.
 * – Whether to maintain a log of newusers at Special:Log/newusers.
 * – Number of days after which user passwords expire.
 * – Grace period for password expiry.
 * – Specifies various settings related to password strength and security.
 * – List of account names that cannot exist.
 * – Show the IP in the user bar for anonymous users by default.
 * – Character used as a delimiter when testing for interwiki userrights.

Authentication

 * – Session provider configuration.
 * – Register authentication providers to use with AuthManager.
 * – Manual override for authentication provider configuration.
 * – Default central id lookup implementation to use.
 * – Register central ID lookup providers.
 * – When changed, all existing sessions are invalidated.
 * – Time frame for re-authentication.
 * – Whether to allow security-sensitive operations when reauthentication is not possible.
 * – Use some particular type of external authentication.
 * – Configuration for the external authentication.
 * – Policy to create new accounts with external authentication.
 * – Policies for how each preference is allowed to be changed, in the presence of external authentication.

User Access

 * – Controls who can add specific groups using Special:Userrights.
 * – Number of seconds before autoblock entries expire.
 * – Allow blocked users to edit their talk pages.
 * – Disallow blocked users to login.
 * – Require users to confirm email address before they can edit, true to enable.
 * – Used to define grants and assign permissions to them.
 * – Used to define grant groups and assign grants to them.
 * – Use this to set access rights for groups and users. See also
 * – allow users to add themselves from specified groups via Special:Userrights
 * – allow users to remove themselves from specified groups via Special:Userrights
 * – Array of groups that aren't shown on e.g. Special:Listusers.
 * – Controls who can remove specific groups using Special:Userrights.
 * – Rights revoked from users in each group.
 * – Pages anonymous user may see.

User agent

 * – Browser blacklist for Unicode non compliant browsers.

Cookies

 * – A list of cookies that vary the cache.
 * – Set to set an explicit domain on the login cookies.
 * – Number of seconds before HTTP cookies expire.
 * – Set authentication cookies to httpOnly to prevent stealing by JS, in browsers that support this feature.
 * – Explicitly declared "path" for cookies at the cookie domain.
 * – Custom cookie prefix.
 * – Whether cookies are secured.
 * – Disables session cookies.
 * – Duration in seconds to use for "Keep me logged in" sessions.
 * – User agent blacklist for HttpOnly mode.
 * – Used to set php's session.save_handler.
 * – Override to customise the session name.

Feed

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

Copyright

 * – Set this to some HTML to override the copyrights icon with an arbitrary logo.
 * – Includes licensing information derived from Creative Commons licenses.
 * – Use RDF metadata
 * – Array of metadata terms.
 * – Set this to the number of authors that you want to be credited below an article text.
 * – Copyright icon
 * – Page describing the site license
 * – Text describing the site license
 * – URL describing the site license
 * – If there are more than authors, show $wgMaxCredits of them.
 * – Set this to true if you want detailed copyright information forms on Upload.

Search

 * – For Vector skin only. Set true to use one icon search button. Set false to use separate Go & Search buttons.
 * – Set to true to have nicer highlighted text in search results.
 * – Enable suggestions while typing in search boxes.
 * – Go button goes straight to the edit screen if the article doesn't exist.
 * – Template for internal MediaWiki suggestion engine.
 * – Enable OpenSearch suggestions requested by MediaWiki.
 * – Template for OpenSearch suggestions.
 * – Whether searching for an IP address will be redirected to that IP's contributions page.
 * – Set this to a URL to forward search requests to some external location.
 * – If set to true the 'searcheverything' preference will be effective only for logged-in users.
 * – Regexp to match word boundaries.
 * – Expiry time for search suggestion responses.
 * – Whether have the default search engine count total search matches to present in the Special:Search UI.
 * – Sidebar's search form behavior

HTTP client

 * - Whether to respect/honour the request ID provided by the incoming request via the `X-Request-Id` header.
 * – Timeout for asynchronous http request.
 * - Timeout for connections done internally (in seconds).
 * – Proxy to use for CURL requests.
 * – Timeout for HTTP requests done via CURL.
 * - Local virtual hosts.
 * - Local virtual hosts.

Jobs

 * – Speed of the background task job queue (e.g. update of links).
 * – When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process to handle the job execution, instead of blocking the request until the job execution finishes.
 * – Maps jobs to their handling classes.
 * – Jobs that must be explicitly requested, i.e. aren't run by job runners unless special flags are set.
 * – Number of rows to update per job.
 * – Limits how often jobs of a given type can run.
 * – Limits the maximum number of backlinks that can be invalidated when a page is editted.
 * – Configuration for job storage.
 * – Which aggregator to use for tracking which queues have jobs.

Proxies

 * – Automatic open proxy test on edit.
 * – Use http.dnsbl.sorbs.net to check for open proxies.
 * – URL to the Sorbs blacklist.
 * – Whether to use DNS blacklists in $wgDnsBlacklistUrls to check for open proxies
 * – List of DNS blacklists to use, if $wgEnableDnsBlacklist is true
 * – Replaced by.
 * – Big list of banned IP addresses.
 * – expiration time for cached proxy IPs.
 * – Ports we want to scan for a proxy.
 * – Script used to scan for proxies.
 * – Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other methods might say
 * – This should always be customised in LocalSettings.php
 * – Whether forwarded private IPs should be accepted.

Squid
These settings configure MediaWiki when using a caching HTTP proxy server. They apply to caching using Varnish as well as Squid.
 * – Internal server name as known to Squid, if different.
 * – Maximum number of titles to purge in any one client operation
 * – Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
 * – Cache timeout for the HTTP proxy.
 * – A list of proxy servers (ips if possible) to purge on changes.
 * – Same as $wgSquidServers, except they aren't purged.
 * – If you run Squid3 with ESI support, enable this.
 * – Enable/disable support for a caching HTTP proxy.
 * – Send X-Vary-Options header for better caching (requires patched Squid).
 * – Whether to add X-Forwarded-Proto to the Vary and X-Vary-Options headers for API requests and RSS/Atom feeds.

HTCP multicast purging

 * – Address to use for HTCP multicast purging
 * – TTL for HTCP multicast purging
 * – Port for HTCP multicast purging
 * – Routing configuration for HTCP multicast purging

Extensions

 * – API list module extensions.
 * – API meta module extensions.
 * – API module extensions.
 * – API prop module extensions.
 * – Authentication plugin. See.
 * – Array mapping class names to filenames, for autoloading.
 * – A list of available rights, in addition to the ones defined by the core.
 * – Disable internal search so that extensions can implement it.
 * – Hooks that are used for outputting exceptions.
 * – Global list of extension credits.
 * – Extension Functions
 * – Extension messages files.
 * – Filesystem extensions directory.
 * – Array of files with list(s) of extension entry points to be used in.
 * – External stores allow including content from non database sources following URL links.
 * – Global list of hooks.
 * – Page property link table invalidation lists.
 * – Parser output hooks.
 * – Additional functions to be performed with updateSpecialPages.php.
 * – A list of custom special pages.

Maintenance Scripts setting

 * – Allow database schema updates to be executed with maintenance/update.php.
 * – For colorized maintenance script output.
 * – Indicates whether MediaWiki is running in command-line mode. Should never be set manually!
 * – The password for $wgDBadminuser.
 * – Database username used by the maintenance scripts.
 * – The password for $wgDBtestuser.
 * – Database username that has permission to create and drop the test databases only.
 * – The build directory for HipHop compilation.
 * – The HipHop build type.
 * – Number of parallel processes to use during HipHop compilation.
 * – Array for extensions to register their maintenance scripts with the system.
 * – Enable selenium tests
 * – Configuration for selenium test suites.
 * – Selenium configuration file
 * – Used for enabling the web upgrade script

Miscellaneous settings

 * – Whether edits should be prepared via AJAX as users type edit summaries.
 * – Whether to always convert certain Unicode sequences to modern ones regardless of the content language.
 * – Anti-lock flags.
 * – A list of files that should be compiled into a HipHop build, in addition to those listed in $wgAutoloadClasses.
 * – Map GIT revision numbers and repository URLs to their respective gitweb URLs in Special:Version
 * – Use external C++ diff engine (module wikidiff from the extensions package).
 * – Set this to true to clean up archaic Unicode sequences in Arabic text.
 * – Set this to true to clean up archaic Unicode sequences in Malayalam text (Default true if  = "ml").
 * – Option to speed up the conversion step for large sites when migrating the schema from 1.4 to 1.5.
 * – Maximum file size created by shell processes under Linux, in KB.
 * – Maximum amount of virtual memory available to shell processes under Linux, in KB.
 * – Maximum CPU time in seconds for shell processes under linux.
 * – The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit if it's below this amount.
 * – Whether to maintain a log of new page creations at Special:Log/create.
 * – Controls if MediaWiki should report back data about its installation from time to time to aid developers.
 * – Configuration for processing pool control.
 * – Locale for.
 * – Whether MediaWiki should make automatic edit summaries.
 * – Allow filtering by change tag in recentchanges, history, etc.
 * – Whether to use trackbacks.

Consulte também

 * : how to set and retrieve configuration variables.
 * : how to register new configuration variables for extensions and skins.