Manual:Configuration settings (alphabetical)
Appearance
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.
This index is in alphabetical order (ignoring the $wg prefix). Note that the only setting without this prefix is $IP , which is listed under I.
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
).A
- $wgAccountCreationThrottle โ Number of accounts each IP address may create, 0 to disable.
- $wgActionFilteredLogs โ List of log types that can be filtered by action types
- $wgActionPaths โ Paths for various user actions. Used to make URLs prettier.
- $wgActions โ Array of allowed values for the "action" parameter for normal pages.
- $wgActiveUserDays โ The number of days within which a person must make edits to be considered an "active" user
- $wgActorTableSchemaMigrationStage (removed in 1.39) โ
actor
table schema migration stage. - $wgAdaptiveMessageCache โ Keep track which messages are requested and load only most used messages.
- $wgAddGroups โ Controls who can add specific groups using Special:Userrights.
- $wgAdditionalMailParams โ Additional email parameters, will be passed as the last argument to
mail()
PHP function call. - $wgAdvancedSearchHighlighting โ Set to true to have more useful text snippets in search results.
- $wgAdvertisedFeedTypes โ Feed types that should be provided by default.
- $wgAjaxEditStash (removed in 1.37) โ Whether edits should be prepared via AJAX as users type edit summaries.
- $wgAjaxExportList (removed in 1.38) โ List of functions in
AjaxFunctions.php
that are callable viaaction=ajax
- $wgAjaxLicensePreview โ Use Ajax to preview licensing for uploads.
- $wgAjaxUploadDestCheck (removed in 1.41) โ Enable Ajax check for file overwrite, pre-upload.
- $wgAllowedCorsHeaders โ List of allowed headers for cross-origin API requests.
- $wgAllowCopyUploads โ Allow uploads from URLs as well as local files.
- $wgAllowCrossOrigin โ Allow anonymous cross origin requests to the REST API.
- $wgAllowDisplayTitle โ Allows use of
{{DISPLAYTITLE}}
magic word - $wgAllowExternalImages โ Determines whether or not MediaWiki will allow external images to be rendered inline with text.
- $wgAllowExternalImagesFrom โ If
$wgAllowExternalImages
is false, you can specify exceptions here. - $wgAllowExternalReqID โ controls whether MediaWiki accepts the request ID set by the incoming request via the "X-Request-Id" header.
- $wgAllowHTMLEmail โ Set to true to enable HTML emails.
- $wgAllowImageMoving (removed in 1.36) โ Enable file renaming.
- $wgAllowImageTag (removed in 1.42) โ Allow
<img>
tag to be used in wikitext. - $wgAllowJavaUploads (removed in 1.39) โ Allow Java archive uploads.
- $wgAllowRawHtmlCopyrightMessages (introduced in 1.43) โ Whether on-wiki overrides for the
copyright
andhistory_copyright
messages, which allow raw HTML, will be used. - $wgAllowRequiringEmailForResets (removed in 1.43) โ Temporary feature flag that controls whether users will see a checkbox allowing them to require providing email during password resets.
- $wgAllowSchemaUpdates โ Allow database schema updates to be executed with update.php script.
- $wgAllowSecuritySensitiveOperationIfCannotReauthenticate โ Whether to allow security-sensitive operations when reauthentication is not possible
- $wgAllowSiteCSSOnRestrictedPages โ Allow site-wide Cascading Style Sheets (CSS) on restricted special pages
- $wgAllowSlowParserFunctions โ Allow slow parser functions.
- $wgAllowSpecialInclusion โ Allow special page inclusions such as
{{Special:Allpages}}
. - $wgAllowTitlesInSVG (removed in 1.35) โ Allow
<title>
tag in SVG files. - $wgAllowUserCss โ Allow user Cascading Style Sheets (CSS)
- $wgAllowUserCssPrefs โ Allow user preferences implemented in CSS.
- $wgAllowUserJs โ Allow user JavaScript pages
- $wgAllUnicodeFixes โ Whether to always convert certain Unicode sequences to modern ones regardless of the content language.
- $wgAmericanDates โ Use 'mdy' instead of 'dmy' as the default date format, e.g. 'May 12' instead of '12 May'.
- $wgAntivirus โ Internal name of virus scanner.
- $wgAntivirusRequired โ Determines if a failed virus scan will cause the file to be rejected.
- $wgAntivirusSetup โ Configuration for different virus scanners.
- $wgAPICacheHelpTimeout โ Set the timeout for the API help text cache. Set to 0 to disable caching of API help text.
- $wgAPIFormatModules โ API format module extensions.
- $wgApiFrameOptions โ Control framing of api pages.
- $wgAPIMaxDBRows โ Maximum number of rows to scan in API database queries.
- $wgAPIMaxLagThreshold โ Maximum amount of DB lag on a majority of DB replica DBs to tolerate before forcing bots to retry any write requests via API errors.
- $wgAPIMaxResultSize โ Maximum size (in bytes) of an API result.
- $wgAPIMaxUncachedDiffs โ The maximum number of uncached diffs that can be retrieved in one API request.
- $wgAPIListModules โ API list module extensions.
- $wgAPIMetaModules โ API meta module extensions.
- $wgAPIModules โ API module extensions.
- $wgAPIPropModules โ API prop module extensions.
- $wgAPIRequestLog (deprecated in 1.43) โ Log file or URL (TCP or UDP) to log API requests to.
- $wgAPIUselessQueryPages โ The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
- $wgAppleTouchIcon โ Optional URL to an icon to use when bookmarking to the home screen on Apple handheld devices
- $wgApplyIpBlocksToXff โ Apply IP address blocks also to users having a blocked IP in their XFF header.
- $wgArticleCountMethod โ Method used to determine if a page in a content namespace should be counted as a valid content page (article).
- $wgArticlePath โ The base URL used to create article links.
- $wgArticleRobotPolicies โ Allow customisation of robot policies on a per-page basis.
- $wgAssumeProxiesUseDefaultProtocolPorts โ When the wiki is running behind a proxy and this is set to true, assumes that the proxy exposes the wiki on the standard ports.
- $wgAsyncHTTPTimeout โ Timeout for asynchronous HTTP requests.
- $wgAttemptFailureEpoch โ Bump this to quickly retry thumbnail creation failures.
- $wgAuthenticationTokenVersion โ When changed, all existing sessions are invalidated.
- $wgAuthManagerAutoConfig โ Register authentication providers to use with AuthManager
- $wgAuthManagerConfig โ Manual override for authentication provider configuration
- $wgAutoblockExpiry โ Number of seconds before autoblock entries expire
- $wgAutoConfirmAge โ Number of seconds an account is required to age before it's given the implicit 'autoconfirmed' group membership.
- $wgAutoConfirmCount โ Number of edits an account requires before it is autoconfirmed.
- $wgAutoCreateTempUser โ Configuration for automatic creation of temporary accounts on page save.
- $wgAutoloadAttemptLowercase (removed in 1.40) โ Switch controlling legacy case-insensitive classloading.
- $wgAutoloadClasses โ Array mapping class names to filenames, for autoloading.
- $wgAutoloadLocalClasses โ Array mapping class names to filenames, for autoloading.
- $wgAutopromote โ Conditions of automatic promotion of user to specific groups
- $wgAutopromoteOnce โ Conditions of automatic promotion of user to specific groups that are done only once.
- $wgAutopromoteOnceLogInRC โ Whether to put user rights log entries for autopromotion in recent changes.
- $wgAutopromoteOnceRCExcludedGroups (introduced in 1.44) โ Defines a denylist of group names.
- $wgAvailableRights โ A list of available rights, in addition to the ones defined by the core.
B
- $wgBaseDirectory โ Absolute filesystem path of the root directory of the MediaWiki installation.
- $wgBlockAllowsUTEdit โ Allow blocked users to edit their talk pages
- $wgBlockCIDRLimit โ Maximum CIDR range when blocking an IP range.
- $wgBlockDisablesLogin โ If set to true, blocked users will no longer be allowed to log in
- $wgBlockTargetMigrationStage (introduced in 1.42) (deprecated in 1.43) โ
ipblocks
table schema migration stage, for normalizingipb_address
field and adding theblock_target
table. - $wgBotPasswordsCluster (deprecated in 1.42) โ Cluster name for the
bot_passwords
table - $wgBotPasswordsDatabase (deprecated in 1.42) โ Database name for the
bot_passwords
table - $wgBreakFrames โ Break out of framesets. This can be used to prevent external sites from framing your site with ads.
- $wgBrowserFormatDetection โ Override ability of certain browsers to attempt to autodetect dataformats in pages.
C
- $wgCacheDirectory โ Directory for per-wiki long-life cache files in the local filesystem.
- $wgCacheEpoch โ Set this to current time to invalidate all prior cached pages.
- $wgCachePages โ Allow client-side caching of pages
- $wgCachePrefix โ Custom value for the cache key prefix.
- $wgCacheSharedUploads โ Cache shared metadata in memcached.
- $wgCacheVaryCookies โ A list of cookies that influence the cache.
- $wgCanonicalNamespaceNames โ Canonical namespace names.
- $wgCanonicalServer โ Canonical URL of the server, to use in IRC feeds, notification emails, etc.
- $wgCapitalLinkOverrides โ Per namespace configuration for $wgCapitalLinks .
- $wgCapitalLinks โ Set this to false to avoid forcing the first letter of links to capitals.
- $wgCascadingRestrictionLevels โ Restriction levels that can be used with cascading protection
- $wgCategoryCollation โ What collation categories use to sort with
- $wgCategoryMagicGallery โ On category pages, show thumbnail gallery for images belonging to that category instead of listing them as articles.
- $wgCategoryPagingLimit โ Paging limit for items in categories.
- $wgCdnMatchParameterOrder โ Indicates if should take query parameters order on incoming requests into account for CDN caching
- $wgCdnMaxAge โ Cache TTL for the CDN sent as s-maxage (without ESI) or Surrogate-Control (with ESI).
- $wgCdnMaxageLagged โ Cache timeout for the CDN when DB replica lag is high
- $wgCdnMaxageStale โ Cache timeout in seconds when delivering a stale ParserCache response due to PoolCounter contention.
- $wgCdnMaxageSubstitute โ Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
- $wgCdnServers โ An array of individual proxy servers to help MediaWiki detect if the request has been proxied.
But also to send back to the proxy PURGE commands on changes. - $wgCdnServersNoPurge โ Same as
$wgCdnServers
, except no HTTP purges will be sent and CIDR ranges are accepted - $wgCdnReboundPurgeDelay โ Secondary delayed purges of URLs
- $wgCentralIdLookupProvider โ Default central id lookup implementation to use
- $wgCentralIdLookupProviders โ Register central ID lookup providers.
- $wgChangeCredentialsBlacklist โ List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials and the changeauthenticationdata API.
- $wgCheckFileExtensions โ Check if the file extension is allowed on upload.
- $wgChronologyProtectorStash (removed in 1.43) โ The object store type of the ChronologyProtector position store.
- $wgChronologyProtectorSecret (introduced in 1.41) โ Secret string for HMAC hashing in ChronologyProtector (optional)
- $wgCleanSignatures โ Substitute templates in signatures.
- $wgCodexDevelopmentDir (introduced in 1.43) โ If this is set, MediaWiki will look for Codex files in this directory instead of in
resources/lib/codex/
and friends. - $wgCommandLineDarkBg โ Assume a dark terminal background for maintenance scripts.
- $wgCommandLineMode โ Indicates whether MW is running in command-line mode. Should never be set manually!
- $wgCommentTempTableSchemaMigrationStage (introduced in 1.40) (removed in 1.41) โ Comment temp tables schema migration stage.
- $wgCompressRevisions โ Compress new page revisions if possible
- $wgConditionalUserOptions (introduced in 1.42) โ Default user preferences.
- $wgConf โ Create a site configuration object. Not used for much in a default install.
- $wgConfigRegistry โ Registry of factory functions to create config objects
- $wgContentHandlers โ Mapping of content type handlers
- $wgContentHandlerTextFallback (removed in 1.42) โ How to react if a plain text version of a non-text Content object is requested using
ContentHandler::getContentText()
- $wgContentHandlerUseDB (removed in 1.35) โ Whether to use the database fields introduced by the ContentHandler facility
- $wgContentNamespaces โ Namespaces which are considered to contain real content, or articles
- $wgCookieDomain โ Explicit domain for login cookies.
- $wgCookieExpiration โ Number of seconds before HTTP cookies expire. You can override this for 'Keep me logged in (for up to $1 days)' cookies with
$wgExtendedLoginCookieExpiration
- $wgCookieHttpOnly โ Set the
httpOnly
flag on all cookies set by MediaWiki (to prevent access from JavaScript). - $wgCookiePath โ Explicitly declared "path" for cookies at the cookie domain
- $wgCookiePrefix โ Custom cookie prefix.
- $wgCookieSameSite โ The SameSite cookie attribute used for login cookies.
- $wgCookieSecure โ Whether cookies are secured.
- $wgCookieSetOnAutoblock โ 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.
- $wgCookieSetOnIpBlock โ Determines whether to set a cookie when an IP user is blocked. Doing so means that a blocked user, even after moving to a new IP address, will still be blocked.
- $wgCopyUploadAllowOnWikiDomainConfig โ If
true
, the value of $wgCopyUploadsDomains will be merged with the contents of MediaWiki:Copyupload-allowed-domains. - $wgCopyUploadProxy โ HTTP proxy to use for copy upload requests.
- $wgCopyUploadsDomains โ Limit
$wgAllowCopyUploads
to a specific list of domains - $wgCopyUploadsFromSpecialUpload โ Add an interface to Special:Upload to enable uploading from URLs
- $wgCopyUploadTimeout โ HTTP timeout (in seconds) for upload by URL
- $wgCountCategorizedImagesAsUsed โ On Special:UnusedFiles, consider images "used" if they are put into a category.
- $wgCriticalSectionTimeLimit โ The maximum time critical sections are allowed to stay open.
- $wgCrossSiteAJAXdomainExceptions โ Domains that should not be allowed to make AJAX requests, even if they match one of the domains allowed by
$wgCrossSiteAJAXdomains
. - $wgCrossSiteAJAXdomains โ Domains that may make cross-site Ajax requests to the MediaWiki API.
- $wgCSPFalsePositiveUrls โ Controls what URLs to ignore in upcoming Content-Security-Policy feature's reporting.
- $wgCSPHeader โ Controls Content-Security-Policy header [Experimental]
- $wgCSPReportOnlyHeader โ Controls Content-Security-Policy-Report-Only header [Experimental]
- $wgCustomConvertCommand โ Use another resizing converter, e.g. GraphicMagick.
D
- $wgDataCenterUpdateStickTTL โ After a state-changing request is done by a client, this determines how many seconds that client should keep using the master datacenter.
- $wgDatabaseReplicaLagWarning โ If lag is higher than this value, show a warning in some special pages (like watchlist).
- $wgDatabaseReplicaLagCritical โ If lag is higher than this value, show a more obvious warning than
$wgDatabaseReplicaLagWarning
. - $wgDBadminpassword โ Password for $wgDBadminuser.
- $wgDBadminuser โ Username of database administrator.
- $wgDBcompress โ Whether to use compression in DB connection.
- $wgDBDefaultGroup โ Default group to use when getting database connections. For use by maintenance scripts.
- $wgDBerrorLog โ File to log database errors to.
- $wgDBerrorLogTZ โ Timezone to use in the error log.
- $wgDBmwschema โ Schema that stores the MediaWiki tables in.
- $wgDBname โ Name of the database.
- $wgDBport โ Database port. Only used by PostgreSQL.
- $wgDBpassword โ The password for
$wgDBuser
. - $wgDBprefix โ Table name prefix.
- $wgDBserver โ Host name or IP address of database server.
- $wgDBservers โ Settings for the database load balancer (database servers and load ratios).
- $wgDBssl โ Whether to use SSL in DB connection.
- $wgDBStrictWarnings (introduced in 1.42) โ Check for warnings after DB queries and throw an exception if an unacceptable warning is detected.
- $wgDBTableOptions โ MySQL table options to use during installation or update.
- $wgDBtype โ Type of database.
- $wgDBuser โ Database username.
- $wgDBWindowsAuthentication (removed in 1.35) โ Use Integrated Windows Authentication rather than
$wgDBuser
/$wgDBpassword
combo. - $wgDebugAPI โ Loosens API security to allow for easier debugging
- $wgDebugComments โ Include portions of log output in page HTML comment
- $wgDebugDumpSql โ Dump SQL queries to debug output
- $wgDebugLogFile โ The file name of the debug log, or empty if disabled.
- $wgDebugLogGroups โ Direct
wfDebugLog()
output for certain groups to files other than$wgDebugLogFile
. - $wgDebugLogPrefix โ Prefix for debug log lines.
- $wgDebugRawPage โ If false, 'action=raw' and load.php hits will not result in debug output.
- $wgDebugRedirects โ Displays redirect location instead of actually redirecting to the target URL
- $wgDebugTimestamps (removed in 1.35) โ Prefix debug messages with relative timestamp.
- $wgDebugToolbar โ Display the debugging toolbar
- $wgDefaultExternalStore โ Default external store for new revisions.
- $wgDefaultLanguageVariant โ Default language variant.
- $wgDefaultRobotPolicy โ Allows specifying the default robot policy for all pages on the wiki
- $wgDefaultSkin โ The default skin for new users.
- $wgDefaultUserOptions โ Default user preferences.
- $wgDeletedDirectory โ What directory to place deleted uploads in.
- $wgDeleteRevisionsBatchSize โ Page deletions with > this number of revisions will use the job queue.
- $wgDeleteRevisionsLimit โ Integer of how many revisions a page must have before the bigdelete right is required to delete it.
- $wgDeprecationReleaseLimit โ Release limitation to
wfDeprecated
warnings. - $wgDevelopmentWarnings โ Whether to throw PHP notices for some possible error conditions and for deprecated functions.
- $wgDiff โ Path to the GNU diff utility.
- $wgDiff3 โ Path to the GNU diff3 utility.
- $wgDiffEngine โ Specify the difference engine to use.
- $wgDirectoryMode โ Default
chmod
permission value for newly created directories. - $wgDisableAnonTalk โ Disable talk pages for anonymous users (not logged in).
- $wgDisableCookieCheck (removed in 1.42) โ Disables session cookies
- $wgDisableCounters (removed in 1.35) โ Disable page view counters.
- $wgDisabledVariants โ Disabled variants for language variant conversion.
- $wgDisableHardRedirects โ Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected from" link.
- $wgDisableInternalSearch โ Disable internal search so that extensions can implement it.
- $wgDisableLangConversion โ Whether to enable language variant conversion.
- $wgDisableOutputCompression โ Disable output compression (compression enabled by default if zlib is available).
- $wgDisableQueryPages โ Disable all query pages if miser mode is on, not just some.
- $wgDisableQueryPageUpdate โ Array of special pages that should not be updated.
- $wgDisableSearchUpdate โ If you've disabled search semi-permanently, this also disables updates to the table.
- $wgDisableTextSearch โ Disable full-text search.
- $wgDisableTitleConversion โ Whether to enable language variant conversion for links.
- $wgDisableUploadScriptChecks โ Whether to disable the upload system's checks for HTML/JavaScript.
- $wgDjvuDump โ Path to the djvudump executable.
- $wgDjvuOutputExtension โ File extension for the DjVu post processor output.
- $wgDjvuPostProcessor โ Path of the DjVu post-processor.
- $wgDjvuRenderer โ Path of the ddjvu DjVu renderer.
- $wgDjvuToXML (removed in 1.37) โ Path of the djvutoxml executable.
- $wgDjvuTxt โ Path of the djvutxt DjVu text extraction utility.
- $wgDjvuUseBoxedCommand (introduced in 1.42) โ Whether to use BoxedCommand or not.
- $wgDnsBlacklistUrls โ List of DNS blacklists to use, if
$wgEnableDnsBlacklist
istrue
. - $wgDummyLanguageCodes โ List of language codes that have been renamed to new (correct) codes, or don't correspond to an actual interface language.
E
- $wgEdititis โ Display user edit counts on special page "User list".
- $wgEditPageFrameOptions โ Control framing of wiki pages globally.
- $wgEditRecoveryExpiry (introduced in 1.42) โ Number of seconds to keep Edit Recovery data after the edit is stored.
- $wgEditSubmitButtonLabelPublish โ Vary the 'save' labels to 'publish' for public wikis.
- $wgElementTiming (removed in 1.39) โ Enable Element Timing.
- $wgEmailAuthentication โ Set to true to enable email authentication (confirmation) for this wiki. Except for password reminder emails, email functions only work for authenticated email addresses.
- $wgEmailConfirmToEdit โ Require users to confirm email address before they can edit, true to enable.
- $wgEmergencyContact โ Site admin email address
- $wgEnableAsyncUploads โ Enable deferred upload tasks that use the job queue.
- $wgEnableAsyncUploadsByURL (introduced in 1.42) โ Enable the async processing of upload by url in Special:Upload.
- $wgEnableAutoRotation โ Whether to enable image auto-rotation based on EXIF information
- $wgEnableBotPasswords โ Whether to enable bot passwords
- $wgEnableCanonicalServerLink โ Output a
<link rel="canonical">
tag on every page indicating the canonical server which should be used, i.e.$wgServer
or$wgCanonicalServer
. - $wgEnableDnsBlacklist โ Whether to use DNS blocklists in
$wgDnsBlacklistUrls
to check for open proxies. - $wgEnableEditRecovery (introduced in 1.41) โ Whether to enable the client-side Edit Recovery feature.
- $wgEnableEmail โ Set to true to enable basic email features.
- $wgEnableImageWhitelist โ Enables an on-wiki external image whitelist
- $wgEnableJavaScriptTest โ Allows running of JavaScript test suites via Special:JavaScriptTest (such as QUnit).
- $wgEnableMagicLinks โ Controls whether magic link functionality should be enabled
- $wgEnableMultiBlocks (introduced in 1.42) โ If this is
false
, the number of blocks of a given target is limited to only 1. - $wgEnableOpenSearchSuggest (removed in 1.40) โ Enable OpenSearch suggestions requested by MediaWiki.
- $wgEnableParserLimitReporting โ Controls whether the NewPP parser report is output in a HTML comment.
- $wgEnablePartialActionBlocks โ Flag to enable partial blocks against performing certain actions.
- $wgEnablePartialBlocks (removed in 1.35) โ Allow partial blocks to be created
- $wgEnableProfileInfo (removed in 1.35) โ Controls the availability of profileinfo.php.
- $wgEnableProtectionIndicators (introduced in 1.43) โ Whether to show indicators on a page when it is protected.
- $wgEnableRestAPI (removed in 1.36) โ Enable the MediaWiki REST API.
- $wgEnableRemoteBagOStuffTests โ If this is set to
true
, phpunit will run integration tests against remote caches defined in $wgObjectCaches . - $wgEnableScaryTranscluding โ Allow templates to be imported/transcluded from another wiki.
- $wgEnableSearchContributorsByIP โ Whether searching for an IP address will be redirected to that IP's contributions page.
- $wgEnableSidebarCache โ If true, cache the sidebar navigation links.
- $wgEnableSpecialMute โ Set to
true
to enable the Special Mute page. - $wgEnableUploads โ Allow images and other files to be uploaded through the wiki.
- $wgEnableUserEmail โ Set to true to enable user-to-user email.
- $wgEnableUserEmailBlacklist (removed in 1.37) โ Set to
true
to enable user-to-user email blacklist. - $wgEnableUserEmailMuteList โ Set to
true
to enable user-to-user email mutelist. - $wgEnableWANCacheReaper (removed in 1.40) โ Whether to verify and enforce WAN cache purges using reliable DB sources as streams.
- $wgEnotifUseRealName โ Use real name instead of username in email "from" field.
- $wgEventRelayerConfig โ Mapping of event channels (or channel categories) to EventRelayer configuration.
- $wgExperiencedUserEdits โ Determines the number of edits needed to qualify at the "Experienced user" level.
- $wgExperiencedUserMemberSince โ Determines the number of days needed since account creation to qualify at the "Experienced user" level.
- $wgExperimentalLoginPopup (introduced in 1.43) (removed in 1.43) โ Add extra login links that open different kinds of modal dialogs instead of navigating the page.
- $wgEnotifFromEditor โ Whether to make email notifications appear to come from the user who makes the edit
- $wgEnotifImpersonal โ Send a generic mail instead of a personalised mail for each user.
- $wgEnotifMaxRecips โ Maximum number of users to mail at once when using impersonal mail.
- $wgEnotifMinorEdits โ Set to true to allow sending email notification also for edits marked as minor edits
- $wgEnotifRevealEditorAddress โ Set to true to insert the page editor's email address into the email notifications Reply-To address
- $wgEnotifUserTalk โ Enable email notifications for edits on users' talk pages.
- $wgEnotifWatchlist โ Set to true to allow the email notification for watched pages
- $wgExemptFromUserRobotsControl โ An array of namespace keys in which the
__INDEX__
/__NOINDEX__
magic words will not function. - $wgExiftool โ Path to exiftool binary. Used for lossless ICC profile swapping.
- $wgExiv2Command โ Path to the exiv2 executable.
- $wgExpensiveParserFunctionLimit โ Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
- $wgExportAllowAll โ Whether to allow exporting the entire wiki into a single file.
- $wgExportAllowHistory โ Controls the availability of the full-history feature on "Special:Export".
- $wgExportAllowListContributors โ Controls whether to allow to list all contributors while exporting a page using
Special:Export
. - $wgExportFromNamespaces โ Whether to allow the "export all pages in namespace" option.
- $wgExportMaxHistory โ Requests using "Special:Export" for pages with a revision history higher than set will be rejected.
- $wgExportMaxLinkDepth โ Maximum value of the "pagelink-depth" parameter in Special:Export.
- $wgExportPagelistLimit โ Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
- $wgExtendedLoginCookieExpiration โ If non-null, duration in seconds to use for "Keep me logged in (for up to $1 days)" sessions; 0 means until the browser is closed. If null, uses $wgCookieExpiration
- $wgExtensionAssetsPath โ URL to extensions directory.
- $wgExtensionCredits โ Global list of extension credits
- $wgExtensionDirectory โ The file system path to the extensions directory.
- $wgExtensionEntryPointListFiles โ Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList.php
- $wgExtensionFunctions โ A list of callback functions which are called once MediaWiki is fully initialised.
- $wgExtensionInfoMTime โ Time to invalidate cache of extensions loaded by the extension registration system.
- $wgExtensionMessagesFiles โ Extension messages files.
- $wgExternalDiffEngine โ Name of the external diff engine to use.
- $wgExternalInterwikiFragmentMode โ Determines which ID escaping mode should be used for external interwiki links
- $wgExternalLinksSchemaMigrationStage (introduced in 1.40) (removed in 1.41) โ externallinks table schema migration stage.
- $wgExternalLinksDomainGaps (introduced in 1.41) โ Gaps in the
externallinks
table for certain domains. - $wgExternalLinkTarget โ Set a default target for external links.
- $wgExternalServers โ Shortcut for setting
$wgLBFactoryConf["externalClusters"]
. - $wgExternalStores โ List of enabled ExternalStore protocols.
- $wgExtModifiedFields (removed in 1.36) โ Extension defined fields to change existing tables
- $wgExtNewFields (removed in 1.36) โ Extension defined fields to be added to existing tables
- $wgExtNewIndexes (removed in 1.36) โ Extension defined indexes to be added to existing tables
- $wgExtNewTables (removed in 1.36) โ Extension Defined tables to be added on schema change
- $wgExtPGAlteredFields (removed in 1.36) โ Extension defined columns to be altered in tables
- $wgExtPGNewFields (removed in 1.36) โ Extension defined fields to be added to existing tables
- $wgExtraGenderNamespaces โ Same as $wgExtraNamespaces , but for namespaces with gender distinction.
- $wgExtraLanguageCodes โ List of mappings from one language code to another
- $wgExtraSignatureNamespaces โ Controls in which subject (non-talk) namespaces the "Signature" button on the edit toolbar will be displayed.
- $wgExtraInterlanguageLinkPrefixes โ Array of interwiki prefixes to be treated as language links.
- $wgExtraLanguageNames โ List of language names or overrides for default names in Names.php.
- $wgExtraNamespaces โ Additional namespaces.
F
- $wgFallbackSkin โ Fallback skin used when the skin defined by
$wgDefaultSkin
can't be found. - $wgFavicon โ The URL of the site favicon.
- $wgFeaturePolicyReportOnly โ List of Feature Policy Reporting types to enable.
- $wgFeed โ Toggle syndication feeds (RSS, Atom e.g. Recentchanges, Newpages) on and off.
- $wgFeedCacheTimeout โ Minimum timeout for cached Recentchanges feed, in seconds.
- $wgFeedClasses โ Available feeds objects.
- $wgFeedDiffCutoff โ When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this size.
- $wgFeedLimit โ Set maximum number of results to return in syndication feeds (RSS, Atom) for e.g. Recentchanges, Newpages.
- $wgFetchCommonsDescriptions โ Whether to fetch commons image description pages and display them on the local wiki.
- $wgFFmpegLocation โ Executable name of FFmpeg client.
- $wgFFprobeLocation โ Executable name of FFprobe.
- $wgFileBackends โ File backend structure configuration.
- $wgFileBlacklist (removed in 1.37) โ Files with these extensions will never be allowed as uploads.
- $wgFileCacheDepth โ Depth of subdirectory hierarchy under
$wgFileCacheDirectory
. - $wgFileCacheDirectory โ Directory where the cached pages will be saved when using server-side caching.
- $wgFileExtensions โ This is the list of preferred extensions for uploading files. Uploading files with extensions not in this list will trigger a warning.
- $wgFilterLogTypes โ Show/hide links on Special:Log will be shown for these log types.
- $wgFixArabicUnicode (removed in 1.35) โ Set this to true to clean up archaic Unicode sequences in Arabic text.
- $wgFixDoubleRedirects โ Fix double redirects after a page move.
- $wgFixMalayalamUnicode (removed in 1.35) โ Set this to true to clean up archaic Unicode sequences in Malayalam text.
- $wgFooterIcons โ Abstract list of footer icons for skins.
- $wgFooterLinkCacheExpiry (removed in 1.39) โ Expiry time for the footer link cache, in seconds, or 0 if disabled.
- $wgForceDeferredUpdatesPreSend โ Force deferred updates to be run before sending a response to the client, instead of attempting to run them after sending the response.
- $wgForcedRawSMaxage โ Default maximum age (in seconds) for raw CSS/JavaScript accesses.
- $wgForceHTTPS โ Redirect insecure HTTP requests to HTTPS.
- $wgForceUIMsgAsContentMsg โ Array of UI messages that should be treated as content messages.
- $wgForeignFileRepos โ An array of repository structure for foreign repositories.
- $wgForeignUploadTargets โ Configuration for foreign upload targets for the Upload dialog .
- $wgFragmentMode โ Determines how section IDs should be encoded
G
- $wgGalleryOptions โ Default settings for the
<gallery>
tag. - $wgGenerateThumbnailOnParse โ Allow thumbnail rendering on page view.
- $wgGitBin โ Path to the git binary.
- $wgGitInfoCacheDirectory โ Directory where GitInfo will look for pre-computed cache files.
- $wgGitRepositoryViewers โ Map of Git repository URLs to their gitweb interface URLs
- $wgGrammarForms โ Used for
{{GRAMMAR:}}
parser function. - $wgGrantPermissionGroups โ Used to define grant groups and assign grants to them.
- $wgGrantPermissions โ Used to define grants and assign permissions to them.
- $wgGrantRiskGroups (introduced in 1.42) โ Group grants by risk level.
- $wgGroupInheritsPermissions โ Groups that should inherit permissions from another group.
- $wgGroupPermissions โ Use this to set access rights for groups and users in these groups.
- $wgGroupsAddToSelf โ Use this to allow users to add themselves to specified groups via Special:Userrights.
- $wgGroupsRemoveFromSelf โ Use this to allow users to remove themselves from specified groups via Special:Userrights.
H
- $wgHashedSharedUploadDirectory โ Whether to hash the shared upload directory.
- $wgHashedUploadDirectory โ If true, uses the
/a/ab/foo.jpg
directory structure. - $wgHiddenPrefs โ Disable certain user preferences.
- $wgHideIdentifiableRedirects โ Protects user's privacy when doing redirects
- $wgHideInterlanguageLinks โ Hide interlanguage links from the sidebar.
- $wgHideUserContribLimit โ The maximum number of edits a user can have and can still be hidden by users with the
hideuser
permission. - $wgHKDFAlgorithm (removed in 1.43) โ Algorithm for HMAC-based key derivation function (fast, cryptographically secure random numbers).
- $wgHKDFSecret (removed in 1.43) โ Secret for HMAC-based key derivation function (fast, cryptographically secure random numbers).
- $wgHooks โ Global list of hooks.
- $wgHTCPMulticastTTL โ HTCP multicast purging
- $wgHTCPRouting โ Routing configuration for HTCP multicast purging.
- $wgHtml5Version โ Defines the value of the version attribute in the
<html>
tag, if any. - $wgHTMLFormAllowTableFormat (removed in 1.42) โ Allow form components to render tables.
- $wgHTTPConnectTimeout โ Timeout for connections done internally (in seconds)
- $wgHTTPMaxTimeout โ The maximum HTTP request timeout in seconds.
- $wgHTTPMaxConnectTimeout โ The maximum HTTP connect timeout in seconds.
- $wgHTTPImportTimeout โ Timeout for HTTP requests done internally for transwiki imports, in seconds.
- $wgHTTPProxy โ Proxy to use for cURL requests
- $wgHttpsPort โ Port where you have HTTPS running. Supports HTTPS on non-standard ports.
- $wgHTTPTimeout โ Timeout for HTTP requests done via cURL.
I
- $wgIgnoreImageErrors โ If true, inline scaled images will still produce
<img>
tags ready for output instead of showing an error message. - $wgIllegalFileChars (deprecated in 1.41) โ Override the default list of illegal characters in file names.
- $wgImageLimits โ A list of user-selectable limits for the image thumbnail size on image description pages.
- $wgImageMagickConvertCommand โ The command used to invoke ImageMagick.
- $wgImageMagickTempDir โ Temporary directory used for ImageMagick.
- $wgImagePreconnect โ Add a preconnect link for browsers to a remote FileRepo host..
- $wgImgAuthDetails โ Display reason access to uploaded file was denied to users (img_auth only)
- $wgImgAuthPath โ The base path for
img_auth.php
. - $wgImgAuthUrlPathMap โ Map of relative URL directories to match to internal
mwstore://
base storage paths. - $wgImplicitGroups โ Groups that are not shown on Special:Listusers or somewhere else
- $wgImplicitRights (introduced in 1.41) โ A list of implicit rights, in addition to the ones defined by the core.
- $wgImportSources โ List of interwiki prefixes for wikis we'll accept as sources for Special:Import
- $wgImportTargetNamespace โ Optional default target namespace for interwiki imports.
- $wgIncludeLegacyJavaScript (removed in 1.39) โ Whether to include the mediawiki.legacy JavaScript library (old wikibits.js), and its dependencies.
- $wgInstallerInitialPages (introduced in 1.44) โ Pages to autocreate after installing MediaWiki.
- $wgInternalServer โ Internal server name as known to Squid, if different than
$wgServer
. - $wgInterlanguageLinkCodeMap โ Map of interlanguage link codes to language codes to override what is shown as the language name when the interwiki code does not match it exactly.
- $wgInterwikiCache โ Interwiki cache as an associative array.
- $wgInterwikiExpiry โ Expiry time for memcached cache of
interwiki
table. - $wgInterwikiFallbackSite โ Used by maintenance scripts to dump
interwiki
table - $wgInterwikiLogoOverride (introduced in 1.41) โ List of interwiki logos overrides.
- $wgInterwikiMagic โ Treat language links as magic connectors, not inline links.
- $wgInterwikiPrefixDisplayTypes (removed in 1.39) โ Mapping of interwiki index prefixes to descriptors that can be used to change the display of interwiki search results.
- $wgInterwikiScopes โ Used by
getInterwikiCache()
to retrieve from interwiki database file - $wgInvalidateCacheOnLocalSettingsChange โ Setting this to true will invalidate all cached pages whenever
LocalSettings.php
is changed - $wgInvalidPasswordReset โ Specifies if users should be sent to a password-reset form on login in case of an inadequate password.
- $wgInvalidRedirectTargets โ Array of invalid page redirect targets.
- $wgInvalidUsernameCharacters โ Characters to prevent during new account creations.
- $IP โ The full path to the installation directory.
J
- $wgJobBackoffThrottling โ Number of times work items of a job type can be run per second.
- $wgJobClasses โ Maps jobs to their handling classes.
- $wgJobQueueIncludeInMaxLagFactor โ Whether to include the number of jobs that are queued for the API's maxlag parameter.
- $wgJobRunRate โ Number of jobs to perform per request.
- $wgJobSerialCommitThreshold (removed in 1.42) โ Make job runners commit changes for replica DB-lag prone jobs one job at a time.
- $wgJobTypeConf โ Configuration for job storage.
- $wgJobTypesExcludedFromDefaultQueue โ Jobs that must be explicitly requested, i.e. aren't run by job runners unless special flags are set.
- $wgJpegTran โ Path to jpegtran, for lossless JPEG rotation.
- $wgJpegPixelFormat โ Sets YUV chroma subsampling mode for JPEG thumbnails
- $wgJpegQuality โ When scaling a JPEG thumbnail, this is the quality we request from the backend.
K
L
- $wgLangObjCacheSize (removed in 1.37) โ Language cache size, or really how many languages can we handle simultaneously without degrading to crawl speed.
- $wgLanguageCode โ Site language code.
- $wgLanguageConverterCacheType โ The cache type for storing language conversion tables.
- $wgLBFactoryConf โ Configuration for the ILBFactory service
- $wgLearnerEdits โ Determines the number of edits needed to qualify at the "Learner" experience level.
- $wgLearnerMemberSince โ Determines the number of days needed since account creation to qualify at the "Learner" experience level.
- $wgLegacyEncoding โ Set this to the character set, which you used before you updated to MediaWiki 1.5 (eg 'ISO-8859-1'). MediaWiki will then perform a temporary character set conversion when loading old revisions, which are not marked with "utf-8" flag (revisions created with MediaWiki 1.4 and earlier).
- $wgLegacyJavaScriptGlobals (removed in 1.37) โ Whether or not to assign configuration variables to the global window object.
- $wgLegacySchemaConversion (removed in 1.39) โ Option to speed up the conversion step for large sites when migrating the schema from 1.4 to 1.5
- $wgLegalTitleChars (deprecated in 1.41) โ Override the default list of illegal characters in page titles.
- $wgLinkHolderBatchSize โ LinkHolderArray batch size.
- $wgLoadFileinfoExtension (removed in 1.22.0 ) โ Switch for loading the FileInfo extension by PECL at runtime.
- $wgLoadScript โ The URL path to load.php.
- $wgLocalDatabases โ Other wikis on this site, can be administered from a single developer account.
- $wgLocalFileRepo โ A single repository structure for the local repository.
- $wgLocalHTTPProxy โ Reverse proxy to use for requests to domains in $wgLocalVirtualHosts
- $wgLocalInterwiki (removed in 1.35) โ Interwiki prefix for this wiki.
- $wgLocalInterwikis โ Array of interwiki prefixes for this wiki.
- $wgLocalisationCacheConf โ Localisation cache configuration.
- $wgLocalStylePath โ Same as
$wgStylePath
, but shouldn't point to an external domain. - $wgLocaltimezone โ Fake out the timezone that the server thinks it's in.
- $wgLocalTZoffset โ Add a distance to the server timezone in minutes.
- $wgLocalVirtualHosts โ Local virtual hosts.
- $wgLockManagers โ Array of configuration arrays for each lock manager.
- $wgLogActions โ Lists the message key string for formatting individual events of each type and action when listed in the logs.
- $wgLogActionsHandlers โ Same as
$wgLogActions
, but values are LogFormatter derived class names. - $wgLogExceptionBacktrace โ Whether to send the exception backtrace to the error log.
- $wgLoggedOutMaxAge (removed in 1.38) โ Cache TTL for the user agent sent as max-age, for logged out users.
- $wgLogHeaders โ Lists the message key string for descriptive text to be shown at the top of each log type.
- $wgLoginLanguageSelector โ Show a bar of language selection links in the user login and user registration forms.
- $wgLogNames โ Lists the message key string for each log type.
- $wgLogo โ The URL of the site logo.
- $wgLogoHD (removed in 1.42) โ URLs for HD versions of the site logo.
- $wgLogos โ The URL path to various wiki logos.
- $wgLogRestrictions โ Restricts log access to those who have a certain right.
- $wgLogTypes โ List of log types.
M
- $wgMainCacheType โ Object cache setting
- $wgMainPageIsDomainRoot โ Controls if the main page should be served as the domain root.
- $wgMainStash โ Replicated object cache setting
- $wgMainWANCache (removed in 1.40) โ Main wide area network cache configuration.
- $wgMangleFlashPolicy (removed in 1.40) โ Whether to mangle any
<cross-domain-policy>
(Adobe cross-domain policy) tags, to prevent XSS attacks. - $wgManualRevertSearchRadius โ Maximum number of revisions of a page that will be checked against every new edit made to determine whether the edit was a manual revert.
- $wgMasterWaitTimeout (deprecated in 1.24) โ How long to wait for a slave to catch up to the master.
- All Math-related settings were removed from MediaWiki core in version 1.18. See Extension:Math .
- $wgMaxAnimatedGifArea โ Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnail.
- $wgMaxArticleSize โ Maximum page size in kibibytes.
- $wgMaxCredits โ Set this to the number of authors that you want to be credited below an article text.
- $wgMaxExecutionTimeForExpensiveQueries โ Max execution time for queries of several expensive special pages such as RecentChanges in milliseconds.
- $wgMaxGeneratedPPNodeCount (removed in 1.35) โ A complexity limit on template expansion: the maximum number of nodes generated by
Preprocessor::preprocessToObj()
- $wgMaxImageArea โ Don't thumbnail an image if it will use too much working memory.
- $wgMaximalPasswordLength (removed in 1.42) โ Specifies the maximal length of a user password.
- $wgMaximumMovedPages โ Maximum number of pages to move at once when moving subpages with a page.
- $wgMaxInterlacingAreas โ Array of max pixel areas for interlacing per MIME type.
- $wgMaxJobDBWriteDuration โ Max time (in seconds) a job-generated transaction can spend in writes.
- $wgMaxMsgCacheEntrySize โ Maximum entry size in the message cache, in bytes.
- $wgMaxNameChars โ Maximum number of bytes in username.
- $wgMaxPPExpandDepth โ Stack depth limit for expansion with the preprocessor.
- $wgMaxPPNodeCount โ A complexity limit on template expansion: the maximum number of nodes visited by
PPFrame::expand()
- $wgMaxRedirectLinksRetrieved โ Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination
- $wgMaxRedirects (removed in 1.39) โ Max number of redirects to follow when resolving redirects.
- $wgMaxShellFileSize โ Maximum file size created by shell processes under linux, in KiB.
- $wgMaxShellMemory โ Maximum amount of virtual memory available to shell processes under Linux, in KiB.
- $wgMaxShellTime โ Maximum CPU time in seconds for shell processes under Linux.
- $wgMaxShellWallClockTime โ Limit shell commands duration using real time.
- $wgMaxSigChars โ Maximum wiki code length for customized signatures.
- $wgMaxTemplateDepth โ Maximum recursion depth for templates within templates.
- $wgMaxTocLevel โ Maximum indent level of the table of contents (ToC).
- $wgMaxUploadSize โ Maximum size of uploaded files (in bytes)
- $wgMaxUserDBWriteDuration โ Max time (in seconds) a user-generated transaction can spend in writes.
- $wgMediaHandlers โ Plugins for media file type handling.
- $wgMediaInTargetLanguage โ Whether translatable media (currently, only SVG images) should be shown in page's target language
- $wgMemCachedDebug โ Will be set to false in Setup.php, if the server isn't working.
- $wgMemCachedPersistent โ Whether to use persistent connections to Memcached servers.
- $wgMemCachedServers โ Memcached servers
- $wgMemCachedTimeout โ Server connection timeout in microseconds.
- $wgMemoryLimit โ The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit if it's below this amount.
- $wgMessageCacheType โ Message cache setting
- $wgMessagesDirs โ Extension messages directories.
- $wgMetaNamespace โ Name used for the meta namespace.
- $wgMetaNamespaceTalk โ Name of the project talk namespace.
- $wgMetricsFormat (removed in 1.40) โ Output format for the MetricsFactory service, e.g. 'statsd'.
- $wgMetricsTarget (removed in 1.40) โ Output target URI for the MetricsFactory service, e.g. udp://127.0.0.1:8125.
- $wgMetricsPrefix (removed in 1.40) โ Service name prefix for the MetricsFactory service.
- $wgMicroStashType (introduced in 1.42) โ Central store for reliable short-lived data.
- $wgMimeDetectorCommand โ Sets an external MIME detector program.
- $wgMimeInfoFile โ Sets the MIME type info file to be used by MimeAnalyzer.php .
- $wgMimeType โ The type to send in the
Content-Type
header. - $wgMimeTypeBlacklist (removed in 1.37) โ MIME types to disallow if $wgVerifyMimeType is enabled.
- $wgMimeTypeExclusions โ MIME types to disallow if $wgVerifyMimeType is enabled.
- $wgMimeTypeFile โ Sets the MIME type definition file to be used by MimeAnalyzer.php .
- $wgMinimalPasswordLength (removed in 1.42) โ Specifies the minimal length of a user password.
- $wgMinUploadChunkSize โ Minimum upload chunk size, in bytes.
- $wgMiserMode โ Enable/disable database-intensive features
- $wgMultiShardSiteStats โ Whether
site_stats
table should have multiple rows. - $wgMultiContentRevisionSchemaMigrationStage (removed in 1.39) โ RevisionStore table schema migration stage (content, slots, content_models & slot_roles tables).
- $wgMWLoggerDefaultSpi โ Default service provider for creating MWLogger instances.
N
- $wgNamespaceAliases โ Provide additional names for namespaces.
- $wgNamespaceContentModels โ Content types defined for a given namespace
- $wgNamespaceProtection โ Which namespaces can be edited by whom?
- $wgNamespaceRobotPolicies โ Allow customisation of robot policies on a per-namespace basis.
- $wgNamespacesToBeSearchedDefault โ Which namespaces should be searched?
- $wgNamespacesWithSubpages โ Which namespaces should support subpages?
- $wgNativeImageLazyLoading โ Toggles native image lazy loading, via the "loading" attribute.
- $wgNewPasswordExpiry โ The time, in seconds, after which an emailed temporary password expires.
- $wgNewUserLog โ Whether to maintain a log of newusers, which can be viewed at Special:Log/newusers.
- $wgNoFollowDomainExceptions โ External links to these domain names (or any subdomains) will not be set to
rel="nofollow"
. - $wgNoFollowLinks โ If true, external URL links in wiki text will be given the
rel="nofollow"
attribute. - $wgNoFollowNsExceptions โ Namespaces in which Manual:$wgNoFollowLinks doesn't apply.
- $wgNonincludableNamespaces โ Use this to deny inclusion of pages from specific namespaces.
- $wgNoReplyAddress โ Reply-to address for automatically generated emails.
O
- $wgObjectCaches โ Advanced object cache configuration.
- $wgObjectCacheSessionExpiry โ Expiry time to use for session storage in seconds.
- $wgOldRevisionParserCacheExpireTime โ The expiry time for the parser cache for old revisions, in seconds.
- $wgOpenSearchDefaultLimit โ Integer defining default number of entries to show on OpenSearch call.
- $wgOpenSearchDescriptionLength โ Minimum length of extract in
<Description>
. - $wgOpenSearchTemplate (removed in 1.42) โ Template for OpenSearch suggestions.
- $wgOpenSearchTemplates โ Templates for OpenSearch suggestions.
- $wgOpenTelemetryConfig (introduced in 1.43) โ Configuration for OpenTelemetry instrumentation, or
null
to disable it. - $wgOriginTrials โ Origin Trials tokens.
- $wgOutputPipelineStages (introduced in 1.43) โ OutputPipelineStages to add to the DefaultOutputPipeline.
- $wgOverrideHostname โ Override server hostname detection with a hardcoded value.
- $wgOverrideSiteFeed โ Override the site's default rss/atom feed that appears on every page.
- $wgOverrideUcfirstCharacters โ List of Unicode characters for which capitalization is overridden in Language::ucfirst.
P
- $wgPageCreationLog โ Whether to maintain a log of new page creations, which can be viewed at Special:Log/create.
- $wgPageInfoTransclusionLimit โ Limit template transclusion on InfoAction
- $wgPageLanguageUseDB โ Allows to change the page language for MediaWiki pages
- $wgPageLinksSchemaMigrationStage (introduced in 1.41) โ The pagelinks table schema migration stage, for normalising pl_namespace and pl_title fields.
- $wgPagePropLinkInvalidations โ Page property link table invalidation lists.
- $wgPagePropsHaveSortkey (removed in 1.36) โ Set to false if the
page_props
table doesn't have app_sortkey
column - $wgParserCacheExpireTime โ Expiration time (in seconds) of cached parser information
- $wgParserCacheFilterConfig (introduced in 1.42) โ Per-namespace configuration for the ParserCache filter.
- $wgParserCacheNewKeySchemaRatio (introduced in 1.44) โ Ratio for use of new parser cache key schema.
- $wgParserCacheType โ Parser cache setting
- $wgParserCacheUseJson (removed in 1.39) โ Enable JSON serialization for ParserCache.
- $wgParserConf (removed in 1.36) โ Parser configuration.
- $wgParserEnableLegacyHeadingDOM (introduced in 1.43) โ Enable legacy HTML structure for headings in the output from the Parser.
- $wgParserEnableLegacyMediaDOM (deprecated in 1.41) โ Enable legacy media HTML structure in the output from the Parser.
- $wgParserEnableUserLanguage (introduced in 1.43) โ Set this to
true
to allow the{{USERLANGUAGE}}
magic word to return the actual user language. - $wgParserOutputHooks (removed in 1.41) โ Parser output hooks.
- $wgParserTestFiles (removed in 1.40) โ Parser test suite files to be run by parserTests.php.
- $wgParserTestMediaHandlers โ Media handler overrides for parser tests (they don't need to generate actual thumbnails, so a mock will do)
- $wgParsoidCacheConfig โ Configuration for the caching related to parsoid output. The configuration contains the following keys:
- $wgParsoidFragmentSupport (introduced in 1.44) โ Enable fragment support in Parsoid (transclusions returning html).
- $wgParsoidSelectiveUpdateSampleRate (introduced in 1.43) โ Sample rate for collecting statistics on Parsoid selective update.
- $wgParsoidSettings โ Default Parsoid configuration.
- $wgPasswordAttemptThrottle โ Limit password attempts per IP per address.
- $wgPasswordConfig โ Configuration for built-in password types.
- $wgPasswordDefault โ Default password type to use when hashing user passwords.
- $wgPasswordExpirationDays โ The number of days that a user's password is good for.
- $wgPasswordExpireGrace โ The number of seconds after a user's password expires during which they can log in without a password change.
- $wgPasswordPolicy โ Specifies various settings related to password strength and security.
- $wgPasswordReminderResendTime โ Minimum time, in hours, which must elapse between password reminder emails.
- $wgPasswordResetRoutes โ Whether to allow password resets identified by various bits of data.
- $wgPasswordSender โ Password reminder email address.
- $wgPhpCli โ Executable path of PHP cli client (php/php5).
- $wgPHPSessionHandling โ Whether to use PHP session handling (
$_SESSION
andsession_*()
functions) - $wgPingback โ If true, MediaWiki will report back data about its installation from time to time to aid developers
- $wgPoolCountClientConf (introduced in 1.40) โ Configuration array for the PoolCounter client.
- $wgPoolCounterConf โ Configuration for processing pool control.
- $wgPopularPasswordFile (removed in 1.35) โ Where popular password file is located.
- $wgPreprocessorCacheThreshold โ Preprocessor caching threshold.
- $wgPreviewOnOpenNamespaces โ Namespaces where preview-on-first-edit is forced.
- $wgPriorityHints (removed in 1.39) โ Enable client-side Priority Hints.
- $wgPriorityHintsRatio (removed in 1.39) โ Ratio of requests that should get Priority Hints when the feature is enabled.
- $wgPrivilegedGroups (introduced in 1.40.1) โ List of groups which should be considered privileged (user accounts belonging in these groups can be abused in dangerous ways).
- $wgProfileLimit (removed in 1.35) โ Only record profiling info for pages that took longer than this number of seconds to load.
- $wgProfileOnly (removed in 1.35) โ Don't put non-profiling info into log file
- $wgProfiler โ Settings related to profiling.
- $wgProhibitedFileExtensions โ Files with these extensions will never be allowed as uploads.
- $wgPropagateErrors โ If true, the MediaWiki error handler passes errors/warnings to the default error handler after logging them.
- $wgProxyList โ A list of IP addresses to be banned
- $wgProxyWhitelist โ Proxy allowlist: list of addresses that are assumed to be non-proxy despite what the other methods might say.
- $wgPutIPinRC โ Log IP addresses in the recentchanges table.
Q
- $wgQueryCacheLimit โ Number of rows to cache in 'querycache' table when miser mode is on.
- $wgQueryPageDefaultLimit โ Integer defining default number of entries to show on query pages
R
- $wgRangeContributionsCIDRLimit โ Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
- $wgRateLimits โ Simple rate limiter options to brake edit floods.
- $wgRateLimitsExcludedIPs โ Array of IPs/CIDR ranges which should never trigger the rate limiter.
- $wgRawHtml โ Allow raw, unchecked HTML in
<html>...</html>
sections. - $wgRawHtmlMessages โ List of messages which might contain raw HTML.
- $wgRCChangedSizeThreshold โ Highlight character count difference lower than this.
- $wgRCEngines (deprecated in 1.38) โ Legacy mapping from URI schemes to RCFeed subclasses.
- $wgRCFilterByAge โ Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be stored.
- $wgRCLinkDays โ List days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
- $wgRCLinkLimits โ List changes limits options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
- $wgRCFeeds โ Configuration for sending RC updates
- $wgRCMaxAge โ Items in the recentchanges table are periodically purged; entries older than this many seconds will go.
- $wgRCShowChangedSize โ Show the amount of changed characters in recent changes.
- $wgRCShowWatchingUsers โ Show watching users in recent changes, watchlist and page history views.
- $wgRCWatchCategoryMembership โ Treat category membership changes as a RecentChange.
- $wgReadOnly โ Disallows editing, displaying the string given as the reason.
- $wgReadOnlyFile โ If this file is found, the database is locked for the reason given in the contents of the file.
- $wgReadOnlyWatchedItemStore โ Set this to
true
to put the wiki watchlists into read-only mode. - $wgReauthenticateTime โ Time frame for re-authentication
- $wgRecentChangesFlags โ Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
- $wgRedirectOnLogin โ Redirect users to page on login
- $wgRedirectSources โ Regular expression to restrict URLs which will be displayed as "redirected from" links.
- $wgReferrerPolicy โ Value for the referrer policy meta tag.
- $wgRegisterInternalExternals โ Whether to register external links pointing to the same server.
- $wgRememberMe โ Configures RememberMe authentication request added by AuthManager.
- $wgRemoveCredentialsBlacklist โ List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials and the removeauthenticationdata API.
- $wgRemoveGroups โ Controls who can remove specific groups using Special:Userrights.
- $wgRenderHashAppend โ Append a configured value to the parser cache and the sitenotice cache keys.
- $wgReportToEndpoints โ List of endpoints for the Reporting API.
- $wgReportToExpiry โ Expiry of the endpoint definition for the Reporting API.
- $wgRepositoryBaseUrl โ Base URL for a repository wiki.
- $wgRequestTimeLimit โ Set a limit on server request wall clock time.
- $wgReservedUsernames โ List of account names that cannot exist.
- $wgResourceBasePath โ Default
remoteBasePath
value for resource loader modules. - $wgResourceLoaderClientPreferences (introduced in 1.40) (removed in 1.41) โ Enable client-side preferences for unregistered users.
- $wgResourceLoaderDebug โ The default debug mode (on/off) for ResourceLoader requests.
- $wgResourceLoaderEnableJSProfiler โ When enabled, execution of JavaScript modules is profiled client-side.
- $wgResourceLoaderEnableSourceMapLinks (introduced in 1.41) โ Whether to include a SourceMap header in ResourceLoader responses for JavaScript modules.
- $wgResourceLoaderMaxage โ How long a CDN or browser may cache a ResourceLoader HTTP response.
- $wgResourceLoaderMaxQueryLength โ Maximum query string length for ResourceLoader requests.
- $wgResourceLoaderSources โ Foreign module sources registry.
- $wgResourceLoaderStorageEnabled โ Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the Web Storage API.
- $wgResourceLoaderStorageVersion โ Cache version for client-side ResourceLoader module storage.
- $wgResourceLoaderUseObjectCacheForDeps (removed in 1.44) โ Use the main stash instead of the module_deps table for indirect dependency tracking
- $wgResourceLoaderValidateJS โ Validate JavaScript code loaded from wiki pages.
- $wgResourceModules โ Array of all extra defined modules that can later be loaded during the output.
- $wgResourceModuleSkinStyles โ Array of additional skin-provided stylesheets to existing ResourceLoader modules.
- $wgResponsiveImages โ Whether or not to output high-resolution images for high-DPI displays
- $wgRestAPIAdditionalRouteFiles โ Additional REST API Route files.
- $wgRestAllowCrossOriginCookieAuth โ Allows authenticated cross-origin requests to the REST API with session cookies.
- $wgRestPath โ The URL path to rest.php.
- $wgRestSandboxSpecs (introduced in 1.43) โ A list of OpenAPI specs to be made available for exploration on Special:RestSandbox.
- $wgRestrictDisplayTitle โ Restrict
{{DISPLAYTITLE}}
to titles that normalize to the same canonical database key - $wgRestrictionLevels โ Set of permission keys that can be selected on the "page protection" page.
- $wgRestrictionTypes โ Actions that can be restricted
- $wgRevertedTagMaxDepth โ Maximum depth (revision count) of reverts that will have their reverted edits marked with the mw-reverted change tag.
- $wgRevisionCacheExpiry โ Cache extracted revision text in MemCached.
- $wgRevisionSlotsCacheExpiry (introduced in 1.43) โ Revision slots may be cached in the main WAN cache and/or the local server cache to reduce load on the database.
- $wgRevokePermissions โ Permission keys revoked from users in each group.
- $wgRightsIcon โ Override for copyright metadata.
- $wgRightsPage โ Override for copyright metadata.
- $wgRightsText โ Override for copyright metadata.
- $wgRightsUrl โ Override for copyright metadata.
- $wgRunJobsAsync โ Controls whether on-request jobs are run asynchronously or synchronously.
S
- $wgScript โ The URL of index.php.
- $wgScriptPath โ The base URL path.
- $wgSearchForwardUrl โ Set this to a URL to forward search requests to some external location.
- $wgSearchHighlightBoundaries โ Regexp to match word boundaries
- $wgSearchMatchRedirectPreference โ Set
true
to allow logged-in users to set a preference whether or not matches in search results should force redirection to that page. - $wgSearchRunSuggestedQuery โ If search returns zero results and current search engine has a "did you mean" suggestion, results for the suggestion will be shown.
- $wgSearchSuggestCacheExpiry โ Expiry time for search suggestion responses.
- $wgSearchType โ Type of search used for the wiki.
- $wgSearchTypeAlternatives โ Alternative search types.
- $wgSecretKey โ This should always be customized to a secret, unique string in LocalSettings.php .
- $wgSecureLogin โ Whether to let user authenticate using https when they come from http.
- $wgSemiprotectedRestrictionLevels โ Restriction levels that are considered "semi-protected"
- $wgSend404Code โ Send 404 HTTP status for not found pages.
- $wgServer โ The base URL of the server.
- $wgServerName โ The name of the server without the protocol.
- $wgServiceWiringFiles โ List of service wiring files to be loaded by the default instance of MediaWikiServices.
- $wgSessionCacheType โ The cache type for storing session data.
- $wgSessionInsecureSecrets (removed in 1.43) โ Allows MediaWiki to work at the cost of storing sensitive session data insecurely.
- $wgSessionName โ Override to customize the session name.
- $wgSessionPbkdf2Iterations โ Number of internal PBKDF2 iterations to use when deriving session secrets.
- $wgSessionProviders โ Session provider configuration.
- $wgSessionSecret โ Secret for session storage.
- $wgSharedDB โ The name of the shared database.
- $wgSharedPrefix โ Table prefix to use on the shared database tables.
- $wgSharedSchema โ The table schema for the shared database
- $wgSharedTables โ List of database tables (without prefixes) to share when
$wgSharedDB
is enabled. - $wgSharedThumbnailScriptPath โ Same as
$wgThumbnailScriptPath
, but for shared uploads. - $wgSharedUploadDBname โ DB name with metadata about shared directory.
- $wgSharedUploadDBprefix โ DB prefix for shared image uploads
- $wgSharedUploadDirectory โ Path on the file system where shared uploads can be found.
- $wgSharedUploadPath โ Full path to the web server where shared uploads can be found.
- $wgSharpenParameter โ Sharpening parameter to ImageMagick.
- $wgSharpenReductionThreshold โ Reduction in linear dimensions below which sharpening will be enabled.
- $wgShellboxSecretKey โ The secret key for HMAC verification of Shellbox requests.
- $wgShellboxShell (introduced in 1.42) โ The POSIX-compatible shell to use when running scripts.
- $wgShellboxUrl (removed in 1.40) โ Shell commands can be run on a remote server using Shellbox.
- $wgShellboxUrls โ Shell commands can be run on a remote server using Shellbox .
- $wgShellCgroup โ Limit shell commands memory using linux Cgroups.
- $wgShellRestrictionMethod โ Method to use to restrict shell commands
- $wgShellLocale (removed in 1.38) โ Locale for
LC_ALL
. - $wgShortPagesNamespaceBlacklist (removed in 1.37) โ Optional array of namespaces which should be blacklisted from Special:ShortPages
- $wgShortPagesNamespaceExclusions โ Optional array of namespaces which should be excluded from Special:ShortPages
- $wgShowArchiveThumbnails โ Whether to show thumbnails for old images on the image description page.
- $wgShowCreditsIfMax โ If there are more than
$wgMaxCredits
authors, show$wgMaxCredits
of them. - $wgShowDBErrorBacktrace (removed in 1.37) โ If true, show a backtrace for database errors.
- $wgShowDebug โ Show debug data at bottom of content area
- $wgShowDiffToggleSwitch (introduced in 1.41) (deprecated in 1.41) โ Specifies if users should see the inline switch in diff pages.
- $wgShowExceptionDetails โ If set to true, uncaught exceptions will print a detailed stack trace to output.
- $wgShowEXIF โ Show EXIF data at the end of file description pages.
- $wgShowHostnames โ If set to
true
, exposes host names through API and HTML comments. - $wgShowLogoutConfirmation (introduced in 1.42) โ Whether to display a confirmation screen during user log out.
- $wgShowRollbackEditCount โ Maximum number to count when a rollback link is shown
- $wgShowSQLErrors (removed in 1.37) โ Whether to show SQL errors on "we're sorry, but there has been a database error" pages.
- $wgShowUpdatedMarker โ Show new changes: bold in watchlist, with "updated since my last visit" in history.
- $wgSidebarCacheExpiry โ Expiry time for the sidebar cache, in seconds.
- $wgSignatureAllowedLintErrors โ List of lint error codes which don't cause signature validation to fail.
- $wgSignatureValidation โ Behavior of signature validation.
- $wgSitemapNamespaces โ Array of namespaces identified by their IDs to generate a sitemap or false for all namespaces.
- $wgSitemapNamespacesPriorities โ Custom namespace priorities for sitemaps.
- $wgSitename โ The name of the site.
- $wgSiteNotice โ A message to be displayed at the top of every page.
- $wgSiteTypes โ Register handlers for specific types of sites.
- $wgSkinMetaTags โ An array of open graph tags which should be added by all skins.
- $wgSkinsPreferred โ List of preferred skins to be listed higher in Special:Preferences
- $wgSkipSkin (removed in 1.35) โ Specify the name of a skin that should not be presented in the list of available skins.
- $wgSkipSkins โ Specify the name of skins that should not be presented in the list of available skins.
- $wgSlaveLagCritical (removed in 1.36) โ If lag is higher than this value, show a more obvious warning than
$wgSlaveLagWarning
. - $wgSlaveLagWarning (removed in 1.36) โ If lag is higher than this value, show a warning in some special pages (like watchlist).
- $wgSMTP โ For using a direct (authenticated) SMTP server connection.
- $wgSoftBlockRanges โ IP ranges that should be considered soft-blocked (anon-only, account creation allowed)
- $wgSoftwareTags โ List of core tags to enable.
- $wgSortedCategories (introduced in 1.43) โ Whether to sort categories in OutputPage for display.
- $wgSpamRegex โ A regular expression pattern which, if the page content matched it, stops a page from being saved.
- $wgSpecialContributeSkinsDisabled (introduced in 1.40) (removed in 1.40) โ List of skins to not show the Special:Contribute page
- $wgSpecialContributeSkinsEnabled (introduced in 1.40) โ List of skins that show a link to the Special:Contribute page
- $wgSpecialPageCacheUpdates โ Additional functions to be performed with updateSpecialPages.php .
- $wgSpecialPages โ A list of custom special pages.
- $wgSpecialSearchFormOptions โ Options for Special:Search completion widget form created by SearchFormWidget class.
- $wgSpecialVersionShowHooks โ Whether to show the contents of $wgHooks in Special:Version.
- $wgSQLiteDataDir โ To override default SQLite data directory.
- $wgSQLMode โ Value for the MySQL
sql_mode
parameter - $wgSquidMaxage (removed in 1.35) โ Cache timeout for the squid.
- $wgSquidPurgeUseHostHeader (removed in 1.42) โ Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
- $wgSquidServers (removed in 1.35) โ An array of individual proxy servers to help MediaWiki detect if the request has been proxied.
But also to send back to the proxy PURGE commands on changes. - $wgSquidServersNoPurge (removed in 1.35) โ Same as
$wgSquidServers
, except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges - $wgStatsCacheType (removed in 1.42) โ The object cache type for stats storage.
- $wgStatsdMetricPrefix โ Prefix for metric names sent to $wgStatsdServer
- $wgStatsdSamplingRates (removed in 1.43) โ Sampling rate for statsd metrics as an associative array of patterns and rates.
- $wgStatsdServer โ A host or host:port of a statsd server.
- $wgStatsFormat (introduced in 1.40) โ Output format for the StatsFactory service, e.g. 'statsd'.
- $wgStatsPrefix (introduced in 1.40) โ Service name prefix for the StatsFactory service.
- $wgStatsTarget (introduced in 1.40) โ Output target URI for the StatsFactory service, e.g. udp://127.0.0.1:8125.
- $wgStrictFileExtensions โ Toggle whether users may upload files not covered by
$wgFileExtensions
. - $wgStructuredChangeFiltersLiveUpdatePollingRate โ Polling rate, in seconds, used by the 'live update' feature of Special:RecentChanges and Special:Watchlist
- $wgStyleDirectory โ The file system path to the skins directory.
- $wgStylePath โ The URL of the skins directory.
- $wgStyleSheetPath (removed in 1.38) โ Do not set
$wgStyleSheetPath
. Use$wgStylePath
instead. - $wgSummarySpamRegex โ Same as
$wgSpamRegex
except for edit summaries. - $wgSuspiciousIpExpiry โ Time in seconds to remember IPs for, for the purposes of logging IP changes within the same session.
- $wgSVGConverter โ A key from
$wgSVGConverters
to use as converter. - $wgSVGConverterPath โ Path to the directory of the SVG converter being used.
- $wgSVGConverters โ List of paths to Scalable Vector Graphics (SVG) converters.
- $wgSVGMaxSize โ Don't scale a SVG larger than this unless its native size is larger.
- $wgSVGMetadataCutoff โ Don't read SVG metadata beyond this point.
- $wgSVGNativeRendering (introduced in 1.41) โ Whether native rendering by the browser agent is allowed.
- $wgSVGNativeRenderingSizeLimit (introduced in 1.41) โ Limit on an SVG file's size for it to be rendered by the client, in bytes.
- $wgSysopEmailBans (removed in 1.35) โ Allow sysops to ban users from accessing Special:Emailuser.
T
- $wgTempAccountCreationThrottle (introduced in 1.42) โ Number of temporary accounts each IP address may create per specified period(s).
- $wgTempAccountNameAcquisitionThrottle (introduced in 1.42) โ Number of temporary accounts usernames each IP address may acquire per specified period(s).
- $wgTempCategoryCollations โ Additional category collations to store during LinksUpdate.
- $wgTemplateLinksSchemaMigrationStage (removed in 1.43) โ templatelinks table schema migration stage, for normalizing tl_namespace and tl_title fields.
- $wgTextModelsToParse โ Determines which types of text are parsed as wikitext.
- $wgThumbLimits โ List of image thumbnail sizes users can pick from.
- $wgThumbPath โ The base path for thumb_handler.php.
- $wgThumbnailBuckets โ List of intermediary thumbnail sizes to use to speed up thumbnail rendering.
- $wgThumbnailEpoch โ If rendered thumbnail files are older than this timestamp, they will be re-rendered on demand as if the file didn't already exist.
- $wgThumbnailMinimumBucketDistance โ Minimal distance between intermediary thumbnail size and target thumbnail size.
- $wgThumbnailNamespaces (introduced in 1.40) โ Defines what namespaces thumbnails will be displayed for in Special:Search.
- $wgThumbnailScriptPath โ Path to thumb.php , if you want thumbnail generation on the fly.
- $wgThumbUpright โ Scaling factor applied to width of images when parameter 'upright' is used.
- $wgTidyConfig โ Configuration of the HTML postprocessing tool to use for fixing invalid HTML code.
- $wgTiffThumbnailType โ The format and MIME type to convert TIFF images to.
- $wgTmpDirectory โ The path of the temporary directory.
- $wgTrackingCategories (deprecated in 1.25) โ The list of messages representing tracking categories which are listed at Special:TrackingCategories.
- $wgTransactionalTimeLimit โ Throttle for timing out transactional POST requests
- $wgTranscludeCacheExpiry โ Expiry time for interwiki transclusion cache
- $wgTranslateNumerals โ For Hindi, Arabic, and other languages with their own numeral systems, use local numerals instead of Western style (0-9) numerals in some areas of the interface.
- $wgTranslationAliasesDirs (introduced in 1.42) โ Message directories containing JSON files for localisation of special page aliases.
- $wgTrivialMimeDetection โ Switch for trivial MIME detection.
- $wgTrustedMediaFormats โ List of trusted media-types and MIME types.
- $wgTrxProfilerLimits โ Performance expectations for DB usage
U
- $wgUniversalEditButton โ Enable the UniversalEditButton for browsers that support it.
- $wgUnwatchedPageSecret โ If active watchers (per $wgWatchersMaxAge ) are this number or less, do not disclose it.
- $wgUnwatchedPageThreshold โ Allows users without the "unwatchedpages" user right to view the number of page watchers for a specified page via the "info" action if the number of watchers is above the specified threshold.
- $wgUpdateCompatibleMetadata โ Whether to automatically update the
img_metadata
field if it is outdated but compatible with the current version. - $wgUpdateRowsPerJob โ Number of rows to update per job.
- $wgUpdateRowsPerQuery โ Number of rows to update per query.
- $wgUpgradeKey โ Password that controls access to web-based updater.
- $wgUploadBaseUrl โ The base URL for uploaded images if shared upload directory isn't to be used
- $wgUploadDialog โ Configuration for Upload dialog and the files uploaded through it.
- $wgUploadDirectory โ The file system path of the upload directory.
- $wgUploadMaintenance โ To disable file delete/restore temporarily.
- $wgUploadMissingFileUrl โ Point wikilinks to missing files ("red file links") to a custom URL.
- $wgUploadNavigationUrl โ Point the upload navigation link in the sidebar to a custom URL.
- $wgUploadPath โ The path segment of the upload directory.
- $wgUploadSizeWarning โ Warn if uploaded files are larger than this.
- $wgUploadStashMaxAge โ The maximum age of temporary (incomplete) uploaded files.
- $wgUploadStashScalerBaseUrl (deprecated in 1.36) โ To enable remote on-demand scaling, set this to the thumbnail base URL.
- $wgUploadThumbnailRenderHttpCustomDomain โ When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HTTP request to.
- $wgUploadThumbnailRenderHttpCustomHost โ When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header.
- $wgUploadThumbnailRenderMap โ An array of thumbnail widths to be rendered at upload time.
- $wgUploadThumbnailRenderMethod โ The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRenderMap.
- $wgUrlProtocols โ Defines the protocols which are supported and translated in HTML by the mediawiki parser.
- $wgUseAjax (removed in 1.38) โ Enable AJAX support.
- $wgUseAutomaticEditSummaries โ Whether MediaWiki should make automatic edit summaries.
- $wgUseCategoryBrowser (removed in 1.38) โ Enable/Disable experimental breadcrumb (or dmoz-style) category browsing.
- $wgUseCdn โ Enable/disable page view caching.
- $wgUseCodexSpecialBlock (introduced in 1.42) โ Whether to use Codex in Special:Block form.
- $wgUseCombinedLoginLink โ Login / create account link behavior when it's possible for anonymous users to create an account.
- $wgUseContentMediaStyles (introduced in 1.41) (deprecated in 1.41) โ Temporary flag to stop shipping the styles for the legacy media HTML structure that has been replaced when $wgParserEnableLegacyMediaDOM is
false
. - $wgUseCopyrightUpload โ Set this to true if you want detailed copyright information forms on Upload.
- $wgUseDatabaseMessages โ Translation using MediaWiki: namespace.
- $wgUseEnotif โ Overall "use Enotif" setting
- $wgUseESI (deprecated in 1.33) โ If you run Squid3 with ESI support, enable this.
- $wgUseFileCache โ Create static HTML pages for unregistered viewers to reduce database traffic.
- $wgUseFilePatrol โ Use file patrolling to check new files on Special:NewFiles
- $wgUseGzip โ Use GZip to store cached pages.
- $wgUseImageMagick โ Set to true to use ImageMagick for image resizing.
- $wgUseImageResize โ Whether to enable dynamic server-side image resizing (thumbnailing)
- $wgUseInstantCommons โ Enable InstantCommons , i.e. the use of Wikimedia Commons as a shared repository
- $wgUseLegacyMediaStyles (introduced in 1.41) โ Temporary flag to re-enable the old thumbnail styles provided by core for the legacy media HTML structure.
- $wgUseLocalMessageCache โ Make a local copy of the message cache, in addition to memcached.
- $wgUseMediaWikiUIEverywhere (removed in 1.42) โ Applies MediaWiki UI wherever it can be supported.
- $wgUseNewMediaStructure (removed in 1.37) โ Emit using the new media structure described at, Parsing/Media structure
- $wgUseNPPatrol โ Use new pages patrolling to check for vandalism
- $wgUsePathInfo โ Whether to use 'pretty' URLs.
- $wgUsePigLatinVariant โ Whether to enable the pig latin variant of English (en-x-piglatin), used to ease variant development work.
- $wgUsePrivateIPs โ Whether private X-Forwarded-For IPs should be accepted
- $wgUseRCPatrol โ Use RC patrolling to check for vandalism
- $wgUserEmailConfirmationTokenExpiry โ The time, in seconds, after which a email address confirmation token expires.
- $wgUserEmailUseReplyTo โ Set to
true
to put the sending user's email in a Reply-To header instead of From. - $wgUserRegistrationProviders (introduced in 1.41) โ User registration timestamp provider classes
- $wgUserFallbackLanguages โ maximum number of fallback languages per user
- $wgUserrightsInterwikiDelimiter โ Character used as the separator between username and database name on Special:UserRights.
- $wgUsersNotifiedOnAllChanges โ Array of usernames who will be sent a notification email for every change which occurs on a wiki.
- $wgUseSameSiteLegacyCookies (removed in 1.42) โ Send a legacy cookie with an
ss0-
prefix whenSameSite=None
is sent. - $wgUseSharedUploads โ Whether to look in a shared repository when a file is not found locally
- $wgUseSiteCss โ Use the site's Cascading Style Sheets (CSS)
- $wgUseSiteJs โ Use the site's JavaScript page
- $wgUseSquid (removed in 1.35) โ Enable/disable Squid.
- $wgUseTagFilter โ Allow filtering by change tag in recentchanges, history, etc.
- $wgUseTinyRGBForJPGThumbnails โ Swaps JPGs that use sRGB ICC profile with TinyRGB profile
- $wgUseTwoButtonsSearchForm (removed in 1.36) โ Sidebar's search form behavior.
- $wgUseXssLanguage (introduced in 1.41) โ Whether to enable the x-xss language code, used to make checking for XSS issues more convenient.
V
- $wgValidSkinNames โ List of valid skin names. Skins can optionally use this variable to tell MediaWiki that they are available.
- $wgVariantArticlePath โ Used for links when having language's variants.
- $wgVaryOnXFP โ Whether to add
X-Forwarded-Proto
to theVary
header for API requests and RSS/Atom feeds. - $wgVectorResponsive โ Make Vector more responsive.
- $wgVectorUseIconWatch โ Watch and unwatch as a star icon rather than a link (for Vector skin only).
- $wgVectorUseSimpleSearch โ Search form behavior for Vector skin only.
- $wgVerifyMimeType โ Determines if the MIME type of uploaded files should be checked.
- $wgVerifyMimeTypeIE (removed in 1.40) โ Determines whether extra checks for Internet Explorer type detection should be applied.
- $wgVersion (deprecated in 1.35) โ MediaWiki version number.
- $wgVirtualRestConfig โ REST services configuration
- $wgVirtualDomainsMapping (introduced in 1.41) โ Mapping of virtual database domains to actual databases.
- $wgVueDevelopmentMode โ Whether to use the development version of Vue.js.
W
- $wgWANObjectCache (introduced in 1.40) โ Extra parameters to the WANObjectCache constructor.
- $wgWANObjectCaches (removed in 1.40) โ Advanced Wide-Area-Network cache configuration.
- $wgWantedPagesThreshold โ Minimum number of pages that must link to a page before it will appear on Special:Wantedpages.
- $wgWatchersMaxAge โ Page watchers inactive for more than this many seconds are considered inactive. Used mainly by action=info .
- $wgWatchlistExpiry โ Enable the watchlist expiry feature.
- $wgWatchlistExpiryMaxDuration โ Relative maximum duration for watchlist expiries, as accepted by strtotime().
- $wgWatchlistPurgeRate โ The per-edit rate at which expired watchlist items will be purged from the database.
- $wgWhitelistRead โ Pages anonymous user may see.
- $wgWhitelistReadRegexp โ Whitelists publicly readable titles with regular expressions.
- $wgWikidiff2Options (introduced in 1.41) โ Options for wikidiff2
- $wgWikiDiff2MovedParagraphDetectionCutoff (deprecated in 1.34) โ This setting controls the maximum number of paragraphs to compare before it bails out.
- $wgWikiFarmSettingsDirectory โ A directory that contains site-specific configuration files.
- $wgWikiFarmSettingsExtension โ The file extension to be used when looking up site-specific settings files in $wgWikiFarmSettingsDirectory , such as
'json'
or'yaml'
. - $wgWikiFarmSiteDetector (removed in 1.39) โ Callback to use to determine the name of the requested site for the current request.
X
- $wgXhtmlNamespaces โ Permit other XHTML namespaces in addition to the w3.org default.
- $wgXmlDumpSchemaVersion โ The schema to use by default when generating XML dumps.
- $wgXMLMimeTypes โ An array of XML MIME types we can detect via MimeMagic