This is an index of all supported configuration settings based on the MainConfigSchema.php
(or DefaultSettings.php
before MediaWiki 1.39) file.
Never edit MainConfigSchema.php
; add appropriate lines to LocalSettings.php
instead and amend them as appropriate.
If you cannot find a configuration setting here, see if it is defined in MainConfigSchema.php
. The variable should have some documentation there.
Settings removed in versions of MediaWiki prior to 1.35 are no longer listed here. Please use the search box to find the relevant manual page (e.g. Manual:$wgAllowAnonymousMinor
).
img_auth.php
.$wgStylePath
, but shouldn't point to an external domain.$wgStyleSheetPath
. Use $wgStylePath instead.See also file/image upload path settings.
See also skins path settings.
Files and file uploadsUploads have to be specially set up to be secure.
true
, the value of $wgCopyUploadsDomains will be merged with the contents of MediaWiki:Copyupload-allowed-domains.chmod
permission value for newly created directories./a/ab/foo.jpg
directory structure.mwstore://
base storage paths.$wgFileExtensions
.These settings are kept for backward compatibility, see $wgForeignFileRepos for the new setting, or $wgUseInstantCommons if you only need read access to images on Commons.
See also: Manual:MIME type detection
Images<gallery>
tag.<img>
tags ready for output instead of showing an error message.See also: Manual:Configuring file uploads
DjVuimg_metadata
field if it is outdated but compatible with the current version.<title>
tag in SVG files.$wgSVGConverters
to use as converter.$wgThumbnailScriptPath
, but for shared uploads.See also User Access: $wgEmailConfirmToEdit
mail()
PHP function call.true
to enable the Special Mute page.true
to enable user-to-user email blacklist.true
to enable user-to-user email mutelist.true
to put the sending user's email in a Reply-To header instead of From.categorylinks
tables$wgDBuser
.$wgDBuser
/$wgDBpassword
combo.externallinks
table for certain domains.$wgSlaveLagWarning
.$wgDatabaseReplicaLagWarning
.sql_mode
parameter$wgSharedDB
is enabled.ContentHandler::getContentText()
true
, phpunit will run integration tests against remote caches defined in $wgObjectCaches .$wgLBFactoryConf["externalClusters"]
.site_stats
table should have multiple rows.LocalSettings.php
is changed$_SESSION
and session_*()
functions)Settings for Server side file caching.
$wgFileCacheDirectory
.false
.Settings for configuring the Memcached memory-based object store (if you are using it) docs/memcached.md has more details.
These settings configure MediaWiki when using a caching HTTP proxy server. They apply to caching using Varnish as well as Squid.
$wgCdnServers
, except no HTTP purges will be sent and CIDR ranges are accepted$wgServer
.$wgSquidServers
, except that MW has no methods to send HTTP PURGE to an origin part of the configured rangesX-Forwarded-Proto
to the Vary
header for API requests and RSS/Atom feeds.copyright
and history_copyright
messages, which allow raw HTML, will be used.{{GRAMMAR:}}
parser function.<link rel="canonical">
tag on every page indicating the canonical server which should be used, i.e. $wgServer
or $wgCanonicalServer
.<html>
tag, if any.<cross-domain-policy>
(Adobe cross-domain policy) tags, to prevent XSS attacks.Content-Type
header.$wgDefaultSkin
can't be found.resources/lib/codex/
and friends.remoteBasePath
value for resource loader modules.interwiki
table.interwiki
tablegetInterwikiCache()
to retrieve from interwiki database file{{DISPLAYTITLE}}
magic word$wgAllowExternalImages
is false, you can specify exceptions here.<img>
tag to be used in wikitext.Preprocessor::preprocessToObj()
PPFrame::expand()
rel="nofollow"
.rel="nofollow"
attribute.true
to allow the {{USERLANGUAGE}}
magic word to return the actual user language.{{DISPLAYTITLE}}
to titles that normalize to the same canonical database key<html>...</html>
sections.$wgEnableDnsBlacklist
is true
.$wgDnsBlacklistUrls
to check for open proxies.hideuser
permission.Blocking/banning, and some other related settings.
autoconfirmed
group membership.ipblocks
table schema migration stage, for normalizing ipb_address
field and adding the block_target
table.bot_passwords
tablebot_passwords
tablefalse
, the number of blocks of a given target is limited to only 1.$wgSpamRegex
except for edit summaries.See Manual:Preventing access for more methods and settings concerning access. See also Manual:User rights for more information about $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups, etc.
$wgExtendedLoginCookieExpiration
httpOnly
flag on all cookies set by MediaWiki (to prevent access from JavaScript).ss0-
prefix when SameSite=None
is sent.wfDebugLog()
output for certain groups to files other than $wgDebugLogFile
.wfDeprecated
warnings.true
, exposes host names through API and HTML comments.null
to disable it.<Description>
.true
to allow logged-in users to set a preference whether or not matches in search results should force redirection to that page.true
to put the wiki watchlists into read-only mode.See also Help:Recent changes and $wgDefaultUserOptions
.
updated since your last visit
in history.$wgMaxCredits
authors, show $wgMaxCredits
of them.true
if you want detailed copyright information forms on Upload.Special:Export
.$wgLogActions
, but values are LogFormatter derived class names.{{Special:Allpages}}
.action
parameter for normal pages.__INDEX__
/__NOINDEX__
magic words will not function.AjaxFunctions.php
that are callable via action=ajax
$wgCrossSiteAJAXdomains
.LC_ALL
.'json'
or 'yaml'
.actor
table schema migration stage.page_props
table doesn't have a pp_sortkey
columnRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4