Showing content from https://www.mediawiki.org/wiki/Manual:Configuration_settings_(alphabetical) below:
Manual:Configuration settings (alphabetical) - MediaWiki
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
).
-
Listed alphabetically | Listed by function | Category:MediaWiki configuration settings
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 via action=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) (removed in 1.45) – Whether on-wiki overrides for the
copyright
and history_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
- $wgAutoblockExemptions (introduced in 1.44) – List of IP addresses or CIDR ranges that are exempt from autoblocks.
- $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
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
- $wgCategoryLinksSchemaMigrationStage (introduced in 1.44) – Migration stage for
categorylinks
tables
- $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.
- $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' 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
is true
.
- $wgDummyLanguageCodes – List of language codes that have been renamed to new (correct) codes, or don't correspond to an actual interface language.
E
F
G
H
I
J
K
L
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
O
P
Q
R
S
- $wgScript – The URL of index.php.
- $wgScriptPath – The base URL path.
- $wgSearchForwardUrl – Set this to a URL to forward search requests to an 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 your 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
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 the new manage blocks interface at Special:Block.
- $wgUseCombinedLoginLink – Login / create account link behavior when it's possible for anonymous users to create an account.
- $wgUseContentMediaStyles (introduced in 1.41) (removed in 1.45) – 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 (removed in 1.39) – 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 when SameSite=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
W
X
Y
Z
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4