Manual:Configuration settings

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

General Settings

 * - 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!

Paths

 * - 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.
 * - The URL of the site favicon.
 * - Path to the git binary.
 * - 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.
 * - The URL of index.php.
 * - Extension to append to script names by default.
 * - The base URL path.
 * - Do not set  . Use  instead.
 * - The path of the temporary directory.
 * - Whether to use 'pretty' URLs.
 * - Used for links when having language's variants.

See also 1>#Uploads|Uploads for file/image upload path settings.

See also 2>#Skins|Skins for skins path settings.

Global Objects

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

Email settings
See Also User Access: <tvar|1></>


 * - Additional email parameters, will be passed as the last argument to <tvar|1>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 (<tvar|1></>) 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 <tvar|1>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.

Email notification (Enotif) settings

 * ''Actual notifications for each user are defined in the options. You can change defaults with <tvar|1></>.


 * - Whether to make email notifications appear to come from the user who makes the edit
 * - Send a generic mail instead of a personalised 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 <tvar|1></>.
 * - 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.

Database settings

 * - 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 <tvar|1> </>.
 * - 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 <tvar|1> </>.
 * - If lag is higher than this value, show a warning in some special pages (like watchlist).

MSSQL-specific

 * - Whether to use <tvar|1></> rather than the standard <tvar|2></>/<tvar|3></> combo.

MySQL-specific

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

PostgreSQL-specific

 * - Schema that Postgres stores the MediaWiki tables in.

SQLite-specific

 * - To override default SQLite data directory.

Shared DB settings

 * - The name of the shared database.
 * - Prefix to use for the shared database.
 * - Tables to use in 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).

Localization

 * - Experimental better <tvar|1></>.
 * - 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
 * - The encoding of the input text.
 * - Treat language links as magic connectors, not inline links.
 * - Site language code. Should be one of the <tvar|1>./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).
 * - The encoding of the output text.
 * - 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

Timezone settings

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

Language-specific

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

Debug/logging

 * See also: <tvar|1></>


 * - Allows statistics to be aggregated over more than one wiki when using udp logging.
 * - Whether to color command-line error messages.
 * - 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.
 * - enable logging of enquiries; requires Extension AskSql
 * - Default service provider for creating MWLogger instances.
 * - See also <tvar|1></> 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 <tvar|1>wfIncrStats</> data.

Profiling

 * - Output debug message on every <tvar|1>wfProfileIn/wfProfileOut</>
 * - Detects non-matching <tvar|1>wfProfileIn/wfProfileOut</> calls
 * - Lots of debugging output from <tvar|1>SquidUpdate.php</>
 * - 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.
 * - Enable for more detailed by-function times in debug log
 * - Host for UDP profiler.
 * - Port for UDP profiler.
 * - Port for UDP profiler.

Site customization

 * - 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 <tvar|1></>
 * - Default variant code, if false, the default will be the language code.
 * - Control framing of wiki pages globally.
 * - Enable user search in <tvar|1>Special:Newpages</>.
 * - List of language names or overrides for default names in Names.php.
 * - Filter for <tvar|1>Special:Randompage</>. Part of a <tvar|2>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 <tvar|1>Special:Whatlinkshere/RedirectDestination</>.
 * - Max number of redirects to follow when resolving redirects.
 * - Full name of the page containing templates names that will be allowed as metadata.
 * - External links to these domain names (or any subdomains) will not be set to <tvar|1> </>
 * - If true, external URL links in wiki text will be given the <tvar|1> </> 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.
 * - A page where your users can donate.
 * - Appended in the query string of static CSS and JS to clear client side cache when changing this.
 * - Enable the [<tvar|1>http://universaleditbutton.org</> 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.
 * - Whether to use metadata edition.

Ajax

 * - List of functions in <tvar|1> </> that are callable via <tvar|2> </>
 * , see <tvar|1></> instead - Enable use of AJAX auto-suggestion for the search bar.
 * - 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 1>Special:MyLanguage/Manual:JavaScript unit testing </>|javascript test suites via <tvar|2>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 <tvar|1>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.

Resource loader
See <tvar|1></> 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.
 * - 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.
 * - 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.

Namespaces

 * - Namespaces which are considered to contain real content, or articles.
 * - Additional namespaces.
 * - Same as <tvar|1>$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 <tvar|1>Special:Search</>.
 * - Additional namespaces that will be added to default search for "project".
 * - Which namespaces should support subpages?
 * - Namespaces where the nofollow setting (<tvar|1></>) 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.

Output

 * - Enable HTML 5 microdata attributes for use in wikitext, if <tvar|1>$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 <tvar|1></>.
 * - Defines the value of the version attribute in the <tvar|1>&lt;html&gt;</> tag, if any.
 * - Whether to try to make our HTML output well-formed XML.
 * - The type to send in the <tvar|1> </> header.
 * - Send 404 HTTP status for not found pages.
 * - Output a <tvar|1>&lt;link rel="canonical"&gt;</> tag on every page indicating the canonical server which should be used, i.e. <tvar|2>$wgServer</> or <tvar|3>$wgCanonicalServer</>.
 * - Applies MediaWiki UI wherever it can be supported.
 * - Allow form components to render tables.

The following settings are only used if <tvar|1></> is set to "false" <tvar|2></>:
 * - The doc type to use in the <tvar|1> </> declaration.
 * - Specifies the DTD in the DOCTYPE declaration for page output.
 * - Default XHTML namespace
 * - Permit other namespaces in addition to the w3.org default.

Robot policies

 * - 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 <tvar|1> __INDEX__/__NOINDEX__ </> magic words will not function.
 * - Allow customisation of robot policies on a per-namespace basis.

Mobile support

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

Site Statistics

 * - Method used to determine if a page in a content namespace should be counted as a valid article.
 * - On <tvar|1>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.
 * - 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 <tvar|1>Special:Wantedpages</>
 * - Namespaces which are considered to contain real content, or articles (affects <tvar|1>Special:Random</> and <tvar|2>Special:Statistics</>).

Skins

 * - The default skin.
 * - Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code.
 * - Same as <tvar|1></>, 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 <tvar|1></>.
 * - The file system path to the skins directory.
 * - 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.

Category

 * - 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
 * - Apply/remove page prefix (namespace name) at default category sortkey
 * - List of messages representing 1>Special:MyLanguage/help:tracking categories</>|tracking categories

Cache

 * Main article: <tvar|1></>


 * - 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.
 * - Check if serialised files are up to date.
 * - Helps avoid cache problems due to timer resolution.
 * - Selects which DBA handler to use.
 * - Setting this to true will invalidate all cached pages whenever LocalSettings.php is changed.
 * - The cache type for storing language conversion tables.
 * - Replaces <tvar|1></>.
 * - Advanced object cache configuration.
 * - The expiry time to use for session storage when <tvar|1></> 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 1>#Interwiki</>|Interwiki for Interwiki cache settings.

Client side caching

 * - Allow client-side caching of pages

File Cache
Setting for Server side file caching
 * - Depth of the subdirectory hierarchy to be created under <tvar|1>$wgFileCacheDirectory</>.
 * - Directory where the cached page will be saved when using server-side caching.
 * - This will cache static pages for non-logged-in users to reduce database traffic on public sites.

Message Cache

 * - Instead of caching everything, keep track which messages are requested and load only most used messages.
 * - Whether serialized versions of the messages arrays will be read from the 'serialized' subdirectory if they are present.
 * - Localisation cache configuration.
 * - Directory for local copy of message cache, for use in addition to memcached.
 * - 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

Sidebar Cache

 * - 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 <tvar|1></> memory-based object store (if you are using it) <tvar|2></> has more details.
 * - Use memcache, using the servers set in <tvar|1></>.
 * - Cache links using object cache setting (memcache, Turck MMCache, eAccelerator, etc.)
 * - 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 <tvar|1></>" (transcluding from another wiki)
 * - Extra interwiki prefixes to treat as language code
 * - List of interwiki prefixes for wikis we'll accept as sources for <tvar|1>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.

Interwiki cache
See <tvar|1></> 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 retreive from interwiki database file.

Access
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 1>Special:MyLanguage/Manual:User rights</>|right is required to delete it.
 * - Array of disabled article actions, e.g. view, edit, dublincore, delete, etc.
 * - Enable cascade protection.
 * - Similarly (to 	<tvar|1></>) 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.
 * - Actions that can be restricted.
 * - A regular expression pattern which stops a page from being saved.
 * - Same as <tvar|1></> except for edit summaries
 * - Allow sysops to ban IP ranges
 * - (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.

See <tvar|1></> for more methods and settings concerning access. See also <tvar|1></> for more information about $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups, etc.

See 1>#User Access</>|User Access for User Access settings.

Rate limiter

 * - Set to a filename to log rate limiter hits.
 * - Simple rate limiter options to brake edit floods.
 * - Array of groups which should never trigger the rate limiter.
 * - 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 <tvar|1>$wgCrossSiteAJAXdomains</>
 * - Cache the API help text for up to <tvar|1></>.
 * - 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

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 <tvar|querypages></> hook.
 * - Disable all query pages if misermode>#$wgMiserMode</>|miser mode is on, not just some.
 * - Array of special pages that should not be updated.
 * - Setting this 'false' enables display of additional information on specific date/page revisions in search results. Requires Extension:LuceneSearch
 * - 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 <tvar|1> / </> 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.
 * - Timeout for asynchronous http request.
 * - 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.
 * - Timeout for HTTP requests done via CURL.
 * - Proxy to use for CURL requests.
 * - 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.
 * - Set to true to enable the upload link while local uploads are disabled.
 * - If this is turned off, users may override the warning for files not covered by <tvar|1></>.
 * - The base URL for uploaded images if shared upload directory isn't to be used
 * - The file system path of the upload directory.
 * - 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.
 * - To enable remote on-demand scaling, set this to the thumbnail base URL.
 * - 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 <tvar|1></> for the new setting, or <tvar|2></> if you only need read access to images on Commons.
 * - Cache shared metadata in memcached.
 * - An array of repository structure for foreigns repositories.
 * - 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:..]], [[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 [<tvar|1>http://pecl.php.net/package/Fileinfo</> FileInfo] extension by PECL at runtime.
 * - Sets an external mime detector program.
 * - Sets the mime type info file to use by <tvar|1></>.
 * - Sets the mime type definition file to use by <tvar|1></>.
 * - Switch for trivial mime detection.
 * This is not a configuration setting, but a global state variable. It should be used solely by <tvar|1></>!


 * - Determines if the mime type of uploaded files should be checked
 * - Files with these mime types will never be allowed as uploads if <tvar|1></> is enabled.
 * - An array of XML mime types we can detect via MimeMagic.

See also <tvar|1></>

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.
 * - If enabled, MediaWiki checks redirects in Image: namespace.
 * - Default parameters for the <tvar|1>&lt;gallery></> tag.
 * - If true, inline scaled images will still produce <tvar|1>&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 Paths>#Paths</>|upload path
 * - List of trusted media-types and mime types.

See also <tvar|1></>

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 <tvar|1>$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, <tvar|1>&lt;title&gt;</> will be allowed in files with an "image/svg" MIME type.
 * - A key from <tvar|1></> 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 <tvar|1>$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 <tvar|1></>, 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 <tvar|1></> 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 (<tvar|1> </>) will cause the file to be rejected.
 * - Configuration for different virus scanners.

Parser

 * - Allow the magic word <tt> </tt> 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 <tvar|1></>.
 * - If true, removes (substitutes) templates in " ~ " signatures.
 * - Allow id's that don't conform to HTML4 backward compatibility requirements.
 * - 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 <tvar|1></>.
 * - 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.

TeX
In MediaWiki 1.18 and later, these settings are used for the Math extension.


 * - Check whether directory and file exist when generating math images.
 * - The file system path of the directory containing LaTeX math images.
 * - The URL base of the directory containing LaTeX math images.
 * - Location of the texvc binary.
 * - Texvc background color.
 * - Enables the use of (TeX) tags (MediaWiki 1.17 and earlier only -- on 1.18 simply enable the Math extension)

See Math extension for further information.

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.


 * - 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 <tvar|1></>.

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 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.
 * - 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.
 * - Use new pages patrolling to check for vandalism.

Recent changes
See also <tvar|1></> and <tvar|2></>


 * - 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.
 * - Show "Updated (since my last visit)" marker in RC view, watchlist and history.
 * - 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 RC updates via UDP. See: <tvar|1></>


 * - 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 he is 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.
 * - Enables or disables JavaScript-based suggestions of password strength.
 * - Whether to log automatic creations of new users accounts.
 * - 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 <tvar|1></>.
 * - 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.
 * - 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 <tvar|1></>
 * - 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.
 * - Allow sysops to ban logged-in users
 * - 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
 * - Controls the search screen UI

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 SquidServers>#$wgSquidServers</>|$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 <tvar|1></>.
 * - 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.
 * - Aliases for special pages provided by extensions.
 * - URL to extensions directory.
 * - Global list of extension credits.
 * - Extension Functions
 * - Extension messages files.
 * - Filesystem extensions directory.
 * - 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.
 * - Skin extension functions
 * - 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 DBadminuser>#$wgDBadminuser</>|$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 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
 * - Path to the git binary.
 * - 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").
 * - 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.
 * - 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 allow visual comparison in diffs.
 * - Option to speed up the conversion step for large sites when migrating the schema from 1.4 to 1.5.
 * - Enable live preview, see also <tvar|1></>. After 1.15, live preview still exists, but   is ignored, and only the   user preference is considered.
 * - Whether to use trackbacks.
 * - Whether edits should be prepared via AJAX as users type edit summaries.