Manual:Configuration settings (alphabetical)
(Redirected from Help:Configuration settings (alphabetical))
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