Manual:Configuration settings (alphabetical)
From MediaWiki.org
This is an index of all supported configuration options based on the DefaultSettings.php
file.
Never edit DefaultSettings
; copy 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.
- Listed alphabetically | Listed by function | Category:MediaWiki configuration settings
[edit] A
- $wgAccountCreationThrottle - Number of accounts each IP address may create, 0 to disable. Requires memcached.
- $wgActionPaths - Paths for various user actions. Used to 'pretty' URLs.
- $wgActiveUserDays - The number of days a person must make edits to be considered an "active" user
- $wgActiveUserEditCount (deprecated in 1.16) - The number of edits a person must make to be considered an "active" user
- $wgAddGroups - allow finer control over usergroup assignment.
- $wgAdvancedSearchHighlighting - Set to true to have nicer highligted text in search results.
- $wgAjaxExportList - List of functions in AjaxFunctions.php that are callable via action=ajax.
- $wgAjaxLicensePreview - Allow preview licences during upload via AJAX.
- $wgAjaxSearch (deprecated in 1.14) - Enables search-suggestions.
- $wgAjaxUploadDestCheck - Enable AJAX check for file overwrite, pre-upload.
- $wgAjaxWatch - Enable watching/unwatching pages using AJAX.
- $wgAllDBsAreLocalhost - Make all database connections secretly go to localhost. Useful for debugging.
- $wgAllowCategorizedRecentChanges - Allow to filter the recent changes by a category or one of its sub(subsubsub...)categories
- $wgAllowCopyUploads - Allow uploads from URLs as well as local files.
- $wgAllowDisplayTitle - Allows use of DISPLAYTITLE magic word.
- $wgAllowExternalImages - Whether to allow inline image pointing to other websites.
- $wgAllowExternalImagesFrom - If $wgAllowExternalImages is false, you can specify an exception here.
- $wgAllowImageMoving - Allow to move images, experimental
- $wgAllowPageInfo (deprecated in 1.19) - Allow the "info" action, very inefficient at the moment.
- $wgAllowSlowParserFunctions - Allow other parser functions like "pagesinnamespace".
- $wgAllowSpecialInclusion - Allow special page inclusions such as
{{Special:Allpages}}
. - $wgAllowTitlesInSVG - If true, <title> will be allowed in files with an "image/svg" MIME type.
- $wgAllowUserCss - Allow user Cascading Style Sheets (CSS)
- $wgAllowUserJs - Allow user Javascript pages
- $wgAlternateMaster (deprecated in 1.13) - A map of database name to connection index.
- $wgAlwaysUseTidy
- $wgAmericanDates - Enable for English module to print dates as eg 'May 12' instead of '12 May'.
- $wgAntiLockFlags - Anti-lock flags.
- $wgAntivirus - Internal name of virus scanner.
- $wgAntivirusRequired - Determines if a failed virus scan (
AV_SCAN_FAILED
) will cause the file to be rejected. - $wgAntivirusSetup - Configuration for different virus scanners.
- $wgAPIListModules - API list module extensions.
- $wgAPIMaxDBRows - Maximum amount of rows to scan in a DB query in the API.
- $wgAPIMetaModules - API meta module extensions.
- $wgAPIModules - API module extensions.
- $wgAPIPropModules - API prop module extensions.
- $wgAppleTouchIcon - Optional URL to an icon to use when bookmarking to the home screen on Apple handheld devices.
- $wgArticlePath - The URL template used to create article links.
- $wgArticleRobotPolicies - Allow customisation of robot policies on a per-article basis.
- $wgAuth - Authentication plugin. See AuthPlugin.
- $wgAutoblockExpiry - Number of seconds before autoblock entries expire
- $wgAutoConfirmAge - Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group membership. This can be used to limit privileges of new accounts.
- $wgAutoConfirmCount - Number of edits an account requires before it is autoconfirmed; passing both this AND the time requirement ($wgAutoConfirmAge) is needed
- $wgAutoloadClasses - Array mapping class names to filenames, for autoloading.
- $wgAutopromote - Conditions of automatic promotion of user to specific groups.
- $wgAvailableRights - A list of available rights, in addition to the ones defined by the core.
[edit] B
- $wgBlockAllowsUTEdit - Allow blocked users to edit their talk pages
- $wgBlockOpenProxies - Automatic open proxy test on edit.
- $wgBreakFrames - Break out of framesets.
- $wgBrowserBlackList - Browser Blacklist for unicode non compliant browsers.
[edit] C
- $wgCacheEpoch - Set this to current time to invalidate all prior cached pages.
- $wgCachePages - Allow client-side caching of pages
- $wgCacheSharedUploads - Cache shared metadata in memcached.
- $wgCacheVaryCookies - A list of cookies that vary the cache.
- $wgCapitalLinks - Set this to false to avoid forcing the first letter of links to capitals.
- $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.
- $wgCategoryPrefixedDefaultSortkey (deprecated in 1.17) - Apply/remove page prefix (namespace name) at default category sortkey
- $wgCheckDBSchema (deprecated in 1.11)
- $wgCheckFileExtensions - This is a flag to determine whether or not to check file extensions on upload.
- $wgCheckSerialized (deprecated in 1.16) - Check if serialised files are up to date.
- $wgCleanSignatures - If true, removes (substitutes) templates in "~~~~" signatures.
- $wgClockSkewFudge - Helps avoid cache problems due to timer resolution.
- $wgColorErrors - Whether to color command-line error messages.
- $wgCommandLineMode - Indicates whether MW is running in command-line mode. Should never be set manually!
- $wgCommandLineDarkBg
- $wgCompressRevisions - If this is set on, all future revisions will be compressed on page save, but only if zlib support is available and enabled in PHP.
- $wgConf - Create a site configuration object. Not used for much in a default install.
- $wgContentNamespaces - Namespaces which are considered to contain real content, or articles.
- $wgCookieDomain - Set to set an explicit domain on the login cookies.
- $wgCookieExpiration - Number of seconds before HTTP cookies expire.
- $wgCookieHttpOnly - Set authentication cookies to httpOnly to prevent stealing by JS, in browsers that support this feature.
- $wgCookiePath
- $wgCookiePrefix - Custom cookie prefix.
- $wgCookieSecure - Whether cookies are secured.
- $wgCopyrightIcon (deprecated in 1.17) - Set this to some HTML to override the rights icon with an arbitrary logo.
- $wgCountCategorizedImagesAsUsed - On Special:Unusedimages, consider images "used" if they are put into a category.
- $wgCustomConvertCommand - Use another resizing converter, e.g. GraphicMagick.
[edit] D
- $wgDBadminpassword - The password for $wgDBadminuser.
- $wgDBadminuser - Database username used by the maintenance scripts.
- $wgDBAvgStatusPoll - Time before the server get a SHOW STATUS query under overload conditions.
- $wgDBClusterTimeout - When to give error messages.
- $wgDBerrorLog - File to log MySQL errors to.
- $wgDBmwschema - Schema that Postgres stores the MediaWiki tables in. Defaults to 'mediawiki'
- $wgDBmysql5 - Set to true to set MySQL connection into UTF-8 encoding
- $wgDBname - Name of the database.
- $wgDBpassword - The password for $wgDBuser.
- $wgDBport - Database port.
- $wgDBprefix - Table name prefix.
- $wgDBserver - Database host name or ip address.
- $wgDBservers - Database load balancer.
- $wgDBTableOptions - MySQL table options to use during installation or update.
- $wgDBtransactions (deprecated in 1.20) - Set to true if using InnoDB tables.
- $wgDBts2schema - Schema that the Tsearch2 tables live in for Postgres. Defaults to 'public'
- $wgDBtype - Type of database.
- $wgDBuser - Database username.
- $wgDebugAPI - Enable API debugging by removing some restrictions like POST-only
- $wgDebugComments
- $wgDebugDBTransactions - Trace lifecycle of the database transaction (opening, commit, rollback)
- $wgDebugDumpSql
- $wgDebugFunctionEntry - Output debug message on every wfProfileIn/wfProfileOut
- $wgDebugLogFile - The file name of the debug log, or empty if disabled. wfDebug() appends to this file.
- $wgDebugLogGroups - Direct wfDebugLog() output to file rather than $wgDebugLogFile on a group basis.
- $wgDebugProfiling - Detects non-matching wfProfileIn/wfProfileOut calls
- $wgDebugRawPage - Avoid overlapping debug entries by leaving out CSS.
- $wgDebugRedirects
- $wgDebugSquid (deprecated in 1.16) - Lots of debugging output from SquidUpdate.php
- $wgDebugTidy - Put tidy warnings in HTML comments, only works for internal tidy.
- $wgDefaultExternalStore - The place to put new revisions.
- $wgDefaultLanguageVariant - Default variant code, if false, the default will be the language code.
- $wgDefaultRobotPolicy - Default robots exclusion policy for the wiki.
- $wgDefaultSkin - The default skin.
- $wgDefaultUserOptions - Settings added to this array will override the language globals for the user preferences used by anonymous visitors and newly created accounts.
- $wgDeleteRevisionsLimit - Integer of how many revisions an article must have before the bigdelete right is required to delete it.
- $wgDiff - Path to the GNU diff utility.
- $wgDiff3 - Path to the GNU diff3 utility.
- $wgDirectoryMode - Default value for chmoding of new directories.
- $wgDisableAnonTalk - Disable talk pages for anonymous users (IPs).
- $wgDisableCookieCheck
- $wgDisableCounters
- $wgDisabledActions (deprecated in 1.18) - Array of disabled article actions, e.g. view, edit, dublincore, delete, etc.
- $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 (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.
- $wgDisableSearchContext
- $wgDisableSearchUpdate - If you've disabled search semi-permanently, this also disables updates to the table.
- $wgDisableTextSearch - Disables full text search.
- $wgDisableTitleConversion - Whether to enable language variant conversion for links.
- $wgDjvuDump - Path of 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 - Path of the djvutoxml executable.
- $wgDocType - The doc type to use in the
<!DOCTYPE !>
declaration. - $wgDTD
[edit] E
- $wgEditEncoding
- $wgEditPageFrameOptions - Control framing of wiki pages globally.
- $wgEmailAuthentication - Whether Email authentication (confirmation) is needed for that wiki for using any Email function (except password reminder which works independently from this setting)
- $wgEmailConfirmToEdit - Require a confirmed address to edit pages (for version 1.6 and newer)
- $wgEmergencyContact - Site admin email address
- $wgEnableAPI - Enable direct access to the data API through api.php.
- $wgEnableCascadingProtection (deprecated in 1.13) - Enable cascade protection.
- $wgEnableCreativeCommonsRdf (deprecated in 1.19) - Includes licensing information derived from Creative Commons licenses.
- $wgEnableDnsBlacklist - Use DNS blacklists in $wgDnsBlacklistUrls to check for open proxies.
- $wgEnableDublinCoreRdf (deprecated in 1.19)
- $wgEnableEmail - Set to true to enable the e-mail basic features: Password reminders, etc.
- $wgEnableImageWhitelist - Enable an on-wiki image whitelist at MediaWiki:External image whitelist if $wgAllowExternalImages is false.
- $wgEnableMWSuggest - Enable suggestions while typing in search boxes.
- $wgEnableParserCache - Keep parsed pages in a cache (objectcache table, turck, or memcached) to speed up output of the same page viewed by another user with the same options.
- $wgEnableScaryTranscluding - Enable scary transclusion (transcluding from another wiki)
- $wgEnableSidebarCache
- $wgEnableSorbs (deprecated in 1.16) - Use http.dnsbl.sorbs.net to check for open proxies.
- $wgEnableUploads - Set to true to allow logged-in users to upload files.
- $wgEnableUserEmail - Set to true to enable user-to-user e-mail.
- $wgEnableWriteAPI - Allow the API to be used to perform write operations (page edits, rollback, etc.) when an authorised user accesses it.
- $wgEnotifFromEditor - Email notifications appear to be coming from the page editor (not from Wiki server)
- $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 - Email notifications also for "minor edits" (user preference is shown and user needs to opt-in)
- $wgEnableNewpagesUserFilter - Enable user search in Special:Newpages.
- $wgEnotifRevealEditorAddress - reply-to address of Email notifications may be filled with page editor's address (user preference is shown and user needs to opt-in)
- $wgEnotifUseJobQ - Send mails via the job queue.
- $wgEnotifUserTalk - Email notifications can be sent for first change on a user_talk page (user preference is shown and user needs to opt-in)
- $wgEnotifWatchlist - Email notifications can be sent for the first change on watched pages (user preference is shown and user needs to opt-in)
- $wgExceptionHooks - Hooks that are used for outputting exceptions.
- $wgExemptFromUserRobotsControl - An array of namespace keys in which the __INDEX__/__NOINDEX__ magic words will not function.
- $wgExpensiveParserFunctionLimit - Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
- $wgExportAllowHistory - Enable the full-history option on Special:Export.
- $wgExportAllowListContributors
- $wgExportMaxHistory - Special:Export requests for history of pages with more revisions than this will be rejected.
- $wgExtensionAliasesFiles (deprecated in 1.16) - Aliases for special pages provided by extensions.
- $wgExtensionCredits -
- $wgExtensionMessagesFiles - Extension messages files.
- $wgExtensionFunctions - Global list of extension credits
- $wgExternalDiffEngine - Name of the external diff engine to use.
- $wgExternalLinkTarget - Set a default target for external links.
- $wgExternalServers - An array of external MySQL servers.
- $wgExternalStores - External stores allow including content from non database sources following URL links.
- $wgExtraLanguageNames - List of language names or overrides for default names in Names.php.
- $wgExtraNamespaces - Additional namespaces.
- $wgExtraRandompageSQL (deprecated in 1.16) - Filter for Special:Randompage. Part of a WHERE clause.
- $wgExtraSubtitle - The subtitle to appear under every title.
[edit] F
- $wgFavicon - The URL of the site favicon.
- $wgFeed - Toggle syndication feeds on and off.
- $wgFeedCacheTimeout - 'Minimum timeout for cached Recentchanges feed, in seconds.
- $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 eg Recentchanges, Newpages.
- $wgFetchCommonsDescriptions - Whether to fetch commons image description pages and display them on the local wiki.
- $wgFileBlacklist - Files with these extensions will never be allowed as uploads.
- $wgFileCacheDirectory - This is the directory where cached page will be saved when using file caching.
- $wgFileExtensions - This is the list of preferred extensions for uploading files. Uploading files with extensions not in this list will trigger a warning.
- $wgFileStore (deprecated in 1.17) - File storage paths; currently used only for deleted files.
- $wgFilterCallback - Similarly (to $wgSpamRegex) if this function returns true
- $wgFooterIcons
- $wgForceUIMsgAsContentMsg
- $wgForcedRawSMaxage - Default maximum age for raw CSS/JS accesses.
- $wgForeignFileRepos - An array of repository structure for foreigns repositories.
[edit] G
- $wgGenerateThumbnailOnParse - Allow thumbnail rendering on page view.
- $wgGitRepositoryViewers - Map GIT revision numbers and repository URLs to their respective gitweb URLs in Special:Version
- $wgGoToEdit - Go button goes straight to the edit screen if the article doesn't exist
- $wgGrammarForms - Used for {{GRAMMAR:}} parser function.
- $wgGroupPermissions - Use this to set access rights for groups and users.
- $wgGroupsAddToSelf - allow users to add themselves from specified groups via Special:Userrights
- $wgGroupsRemoveFromSelf - allow users to remove themselves from specified groups via Special:Userrights+
[edit] H
- $wgHandheldForIPhone - If set, 'screen' and 'handheld' media also apply to the iPhone/iPod Touch Mobile Safari.
- $wgHandheldStyle - Style for media="handheld".
- $wgHashedSharedUploadDirectory - Whether to hash the shared upload directory.
- $wgHashedUploadDirectory - If true, use the /a/ab/foo.png directory structure.
- $wgHideInterlanguageLinks - Hide interlanguage links from the sidebar.
- $wgHiddenPrefs - Disable certain user preferences.
- $wgHitcounterUpdateFreq - Sets how often page counters should be updated.
- $wgHooks - Global list of hooks.
- $wgHTCPMulticastAddress - Not used yet. Commented out.
- $wgHTCPMulticastTTL
- $wgHTCPPort
- $wgHttpOnlyBlacklist - User agent blacklist for HttpOnly mode.
- $wgHTTPProxy - Proxy to use for CURL requests.
- $wgHTTPTimeout - Timeout for HTTP requests done via CURL.
[edit] I
- $wgIgnoreImageErrors - If true, inline scaled images will still produce <img> tags ready for output instead of showing an error message.
- $wgIllegalFileChars - Override the default list of illegal characters in file names.
- $wgImgAuthDetails - Display reason access to uploaded file was denied to users(img_auth only)
- $wgImgAuthPublicTest - Test to see if img_auth set up correctly (img_auth only)
- $wgImageLimits - Limit images on image description pages to a user-selectable limit.
- $wgImageMagickConvertCommand - Set to the command used to evoke ImageMagick.
- $wgImplicitGroups - Array of groups that aren't shown on e.g. Special:Listusers.
- $wgImportSources - List of interwiki prefixes for wikis we'll accept as sources for Special:Import (for sysops).
- $wgImportTargetNamespace - Optional default target namespace for interwiki imports.
- $wgInputEncoding (deprecated in 1.19) - The encoding of the input text.
- $wgInternalServer - Internal server name as known to Squid, if different.
- $wgInterwikiCache
- $wgInterwikiExpiry - Expiry time for cache of interwiki table.
- $wgInterwikiFallbackSite
- $wgInterwikiMagic - Treat language links as magic connectors, not inline links.
- $wgInterwikiScopes
- $IP - The filesystem installation directory. Not in DefaultSettings.php.
[edit] J
- $wgJsMimeType - Select which media type (MIME type) to use for JavaScript
- $wgJobClasses - Maps jobs to their handling classes.
- $wgJobRunRate - Speed of the background task job queue (e.g. update of links)
[edit] K
[edit] L
- $wgLanguageCode - Site language code. Should be one of the ./language/Language(.*).php files.
- $wgLBFactoryConf - Load balancer factory configuration.
- $wgLegacyEncoding - Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked with "utf-8" flag.
- $wgLegalTitleChars - Override the default list of illegal characters in page titles.
- $wgLegacySchemaConversion (deprecated) - Option to speed up the conversion step for large sites when migrating the schema from 1.4 to 1.5
- $wgLinkCacheMemcached (deprecated in 1.17) - Cache links using object cache setting (memcache, Turck MMCache, eAccelerator, etc.)
- $wgLivePreview (deprecated in 1.15) - Experimental preview feature to fetch rendered text over an XMLHttpRequest from JavaScript.
- $wgLoadFileinfoExtension - Switch for loading the FileInfo extension by PECL at runtime.
- $wgLocalDatabases - Other wikis on this site, can be administered from a single developer account.
- $wgLocalFileRepo - A single repository structure for the local repository.
- $wgLocalInterwiki - The Interwiki prefix of this wiki. It should always be changed in LocalSettings.php.
- $wgLocalMessageCache (deprecated in 1.16) - Directory for local copy of message cache, for use in addition to memcached.
- $wgLocalMessageCacheSerialized - Defines format of local cache.
- $wgLocaltimezone - Fake out the timezone that the server thinks it's in.
- $wgLocalTZoffset - add a distance to the timezone of the server
- $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 functions callbacks.
- $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.
- $wgLogRestrictions
- $wgLogTypes - List of log types.
- $wgLogo - The URL of the site logo.
- $wgLogQueries
[edit] M
- $wgMainCacheType - Replaces $wgUseMemCached.
- $wgMasterWaitTimeout - How long to wait for a slave to catch up to the master.
- $wgMathDirectory (deprecated) - The file system path of the directory containing LaTeX math images.
- $wgMathPath (deprecated) - The URL base of the directory containing LaTeX math images.
- $wgMaxArticleSize - Maximum article size in kilobytes.
- $wgMaxCredits - Set this to the number of authors that you want to be credited below an article text.
- $wgMaxImageArea - Don't thumbnail an image if it will use too much working memory.
- $wgMaximumMovedPages - Maximum number of pages to move at once when moving subpages with a page.
- $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.
- $wgMaxRedirectLinksRetrieved - Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
- $wgMaxRedirects - Max number of redirects to follow when resolving redirects.
- $wgMaxShellFileSize - Maximum file size created by shell processes under linux, in KB.
- $wgMaxShellMemory - Maximum amount of virtual memory available to shell processes under linux, in KB.
- $wgMaxSigChars - Maximum customized signature length.
- $wgMaxSquidPurgeTitles - Maximum number of titles to purge in any one client operation
- $wgMaxTemplateDepth - Maximum recursion depth for templates within templates.
- $wgMaxTocLevel - Maximum indent level of toc.
- $wgMaxUploadSize - Maximum size of uploaded files.
- $wgMediaHandlers - Plugins for media file type handling.
- $wgMemCachedDebug - Will be set to false in Setup.php, if the server isn't working.
- $wgMemCachedPersistent
- $wgMemCachedServers
- $wgMessageCacheType - Message cache setting.
- $wgMetaNamespace - The name used for the meta-namespace.
- $wgMetaNamespaceTalk - The name used for the meta-namespace talk pages.
- $wgMimeDetectorCommand - Sets an external mime detector program.
- $wgMimeInfoFile - Sets the mime type info file to use by MimeMagic.php.
- $wgMimeType - The type to send in the
Content-Type
header. - $wgMimeTypeBlacklist - Files with these mime types will never be allowed as uploads if $wgVerifyMimeType is enabled.
- $wgMimeTypeFile - Sets the mime type definition file to use by MimeMagic.php.
- $wgMinimalPasswordLength - Specifies the minimal length of a user password.
- $wgMiserMode - If true, disable database-intensive features
- $wgMsgCacheExpiry - When a message in cache expires (in seconds).
- $wgMWSuggestTemplate - Template for internal MediaWiki suggestion engine.
[edit] N
- $wgNamespaceAliases - override default names for namespaces
- $wgNamespaceRobotPolicies
- $wgNamespaceProtection - Set the minimum permissions required to edit pages in each namespace. If you list more than one permission, a user must have all of them to edit pages in that namespace.
- $wgNamespacesToBeSearchedDefault - Which namespaces should be searched?
- $wgNamespacesWithSubpages - Which namespaces should support subpages?
- $wgNoFollowLinks - If true, external URL links in wiki text will be given the
rel="nofollow"
attribute. - $wgNoFollowNsExceptions - Namespaces in which $wgNoFollowLinks doesn't apply.
- $wgNonincludableNamespaces - Pages in namespaces in this array can not be used as templates.
- $wgNoReplyAddress - Dummy address which should be accepted during mail send action.
[edit] O
- $wgOpenSearchTemplate - Template for OpenSearch suggestions.
- $wgOutputEncoding (deprecated in 1.19) - The encoding of the output text.
- $wgOverrideSiteFeed - Override the site's default rss/atom feed that appears on every page.
[edit] P
- $wgPagePropLinkInvalidations - Page property link table invalidation lists.
- $wgPageShowWatchingUsers - Show watching users in Page views.
- $wgParserCacheExpireTime
- $wgParserCacheType - Parser cache setting.
- $wgParserConf - Parser configuration.
- $wgParserOutputHooks - Parser output hooks.
- $wgParserTestFiles - Parser test suite files to be run by parserTests.php.
- $wgPasswordAttemptThrottle - Limit password attempts per IP per address.
- $wgPasswordReminderResendTime - Minimum time, in hours, which must elapse between password reminder.
- $wgPasswordSalt - For compatibility with old installations set to false.
- $wgPasswordSender - Password reminder email address.
- $wgPasswordSenderName - Password reminder ($wgPasswordSender) name
- $wgProfileCallTree - If true, print a raw call tree instead of per-function report
- $wgProfileLimit - Only record profiling info for pages that took longer than this
- $wgProfileOnly - Don't put non-profiling info into log file
- $wgProfilePerHost - Should application server host be put into profiling table?
- $wgProfileToDatabase - Log sums from profiling into "profiling" table in db.
- $wgProfiling (deprecated in 1.18) - Enable for more detailed by-function times in debug log
- $wgProto (deprecated in 1.18) - The secure server prefix.
- $wgProxyList - Big list of banned IP addresses. In the keys not the values.
- $wgProxyMemcExpiry
- $wgProxyPorts
- $wgProxyScriptPath
- $wgProxyWhitelist - Proxy whitelist, 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.
[edit] Q
- $wgQueryCacheLimit - Number of rows to cache in 'querycache' table when miser mode is on.
- $wgQueryPageDefaultLimit - Default number of entries to show on query pages.
[edit] R
- $wgRateLimitsExcludedGroups (deprecated in 1.13) - Array of groups which should never trigger the rate limiter.
- $wgRateLimitLog - Set to a filename to log rate limiter hits.
- $wgRateLimits - Simple rate limiter options to brake edit floods.
- $wgRawHtml - Allow raw, unchecked HTML in <html>...</html> sections.
- $wgRC2UDPAddress -Address used.
- $wgRC2UDPOmitBots - Omit bot.
- $wgRC2UDPPort - Port used.
- $wgRC2UDPPrefix - Prefix used.
- $wgRCChangedSizeThreshold - Highlight character count difference lower than this.
- $wgRCFilterByAge - Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be stored.
- $wgRCLinkDays - Days limit.
- $wgRCLinkLimits - Changes limit.
- $wgRCMaxAge - Recentchanges items 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.
- $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.
- $wgRequirePasswordforEmailChange - Whether the user must enter their password to change their e-mail address
- $wgRedirectOnLogin - Redirect users to a specific page on login.
- $wgRedirectScript - The URL of redirect.php, needed for backwards compatibility.
- $wgRedirectSources - Regular expression to restrict URLs which will be displayed as 'redirected from' links.
- $wgRemoteUploads (deprecated in 1.17) - Set to true to enable the upload link while local uploads are disabled.
- $wgRemoveGroups - allow finer control over usergroup assignment.
- $wgRepositoryBaseUrl - Base URL for a repository wiki.
- $wgReservedUsernames - List of account names that cannot exist.
- $wgResponsiveImages - Use responsive images for high-density displays.
- $wgRestrictionLevels - Set of permission keys that can be selected on the 'page protection' page.
- $wgRestrictionTypes - Actions that can be restricted.
- $wgRevisionCacheExpiry - Cache extracted revision text in MemCached.
- $wgRightsIcon - Copyright icon
- $wgRightsPage - Page describing the site license
- $wgRightsText - Text describing the site license
- $wgRightsUrl - URL describing the site license
[edit] S
- $wgSaveDeletedFiles (deprecated in 1.11)
- $wgScript - The URL of index.php.
- $wgScriptExtension - Extension to append to script names by default.
- $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.
- $wgSearchType - Type of DB search used.
- $wgSecretKey - This should always be customised in LocalSettings.php
- $wgServer - The base URL of the server.
- $wgServerName (deprecated in 1.17) - The name of the server without the protocol. (eg, "en.wikipedia.org")
- $wgSessionsInMemcached
- $wgSessionName - Override to customise the session name.
- $wgSharedDB - The name of the shared database.
- $wgSharedPrefix - Prefix to use for the shared database.
- $wgSharedTables - Tables to use in shared database
- $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 on 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.
- $wgShowCreditsIfMax - If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
- $wgShowExceptionDetails - If set to true, uncaught exceptions will print a complete stack trace to output.
- $wgShowEXIF - Show EXIF data.
- $wgShowHostnames - If set to true, exposes host names through API and HTML comments.
- $wgShowIPinHeader - Show the IP in the user bar for anonymous users by default.
- $wgShowSQLErrors - Whether to show "we're sorry, but there has been a database error" pages.
- $wgShowUpdatedMarker - Show "Updated (since my last visit)" marker in RC view, watchlist and history.
- $wgSidebarCacheExpiry - Expiry time for the sidebar cache.
- $wgSitemapNamespaces - Array of namespaces to generate a sitemap or false for all namespaces.
- $wgSitename - The name of the site. Should be changed
- $wgSiteNotice - If set, a notice will show up at the top of every page, defined at [[MediaWiki:Sitenotice]], formatted as for any wiki page.
- $wgSiteSupportPage - A page where you users can receive donations.
- $wgSkinExtensionFunctions (deprecated in 1.18)
- $wgSkipSkin - Specify the name of a skin that should not be presented in the list of available skins.
- $wgSkipSkins - More of the same as $wgSkipSkin.
- $wgSlaveLagCritical - If lag is higher than this value, show a more obvious warning than $wgSlaveLagWarning.
- $wgSlaveLagWarning - 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.
- $wgSorbsUrl (deprecated in 1.16) - URL to the Sorbs blacklist.
- $wgSortSpecialPages - Whether or not to sort special pages in Special:Specialpages.
- $wgSpamRegex - Text matching this regex will be recognised as spam.
- $wgSpecialPageGroups - List of special pages, followed by what subtitle they should go under at Special:SpecialPages
- $wgSpecialPages - A list of custom special pages.
- $wgSpecialVersionShowHooks - Whether to show the contents of $wgHooks in Special:Version.
- $wgSQLiteDataDir - To override default SQLite data directory.
- $wgSQLiteDataDirMode (deprecated in 1.17) - Default directory mode for SQLite data directory on creation.
- $wgSquidMaxage - Cache timeout for the squid.
- $wgSquidServers - A list of proxy servers (ips if possible) to purge on changes.
- $wgSquidServersNoPurge - Same as $wgSquidServers, except they aren't purged.
- $wgStatsMethod - Destination for wfIncrStats() data.
- $wgStrictFileExtensions - If this is turned off, users may override the warning for files not covered by $wgFileExtensions.
- $wgStyleDirectory - The file system path to the skins directory.
- $wgStylePath - The URL of the skins directory.
- $wgStyleSheetPath - The URL of the directory containing the stylesheets.
- $wgStyleVersion - Appended in the query string of static CSS and JS to clear client side cache when changing this.
- $wgSVGConverter - A key from $wgSVGConverters to use as converter.
- $wgSVGConverterPath - If not in the executable PATH, specify.
- $wgSVGConverters - Scalable Vector Graphics (SVG) may be uploaded as images.
- $wgSVGMaxSize - Don't scale a SVG larger than this unless its native size is larger.
- $wgSysopEmailBans - Allow sysops to ban users from accessing Emailuser.
- $wgSysopRangeBans (deprecated in 1.18) - Allow sysops to ban IP ranges
- $wgSysopUserBans (deprecated in 1.18) - Allow sysops to ban logged-in users
[edit] T
- $wgTexvc (deprecated) - Location of the texvc binary.
- $wgThumbLimits - List of image sizes users can pick from.
- $wgThumbnailEpoch - If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if the file didn't already exist.
- $wgThumbnailScriptPath - Give a path here to use thumb.php for thumbnail generation on client request, instead of generating them on render and outputting a static URL.
- $wgThumbUpright - Adjust width of upright images when parameter 'upright' is used
- $wgTidyBin - Should be set to the path of the tidy binary.
- $wgTidyConf - Should be set to the path of the tidy configuration file.
- $wgTidyInternal - Controls the use of the PECL extension to use an inprocess tidy library instead of spawning a separate program.
- $wgTidyOpts - Options passed to tidy on the command line.
- $wgTmpDirectory - The URL of the temporary directory.
- $wgTranscludeCacheExpiry - Expiry time for interwiki transclusion.
- $wgTranslateNumerals - For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.
- $wgTrivialMimeDetection - Switch for trivial mime detection.
- $wgTrustedMediaFormats - List of trusted media-types and mime types.
[edit] U
- $wgUDPProfilerHost - Host for UDP profiler.
- $wgUDPProfilerPort - Port for UDP profiler.
- $wgUniversalEditButton - Enables the UniversalEditButton for browsers that support it.
- $wgUpdateRowsPerJob - Number of rows to update per job.
- $wgUpdateRowsPerQuery - Number of rows to update per query.
- $wgUploadBaseUrl
- $wgUploadDirectory - The file system path of the upload directory.
- $wgUploadNavigationUrl - Point the upload navigation link to an external URL.
- $wgUploadPath - The URL of the upload directory.
- $wgUploadSizeWarning - Warn if uploaded files are larger than this.
- $wgUrlProtocols - Defines the protocols which are supported and translated in HTML by the mediawiki parser.
- $wgUseAjax - Enables search Suggestions.
- $wgUseAutomaticEditSummaries - Turn off automatic edit summaries.
- $wgUseCategoryBrowser - Disable experimental dmoz-like category browsing.
- $wgUseCommaCount (deprecated in 1.18) - Specifies the criteria used to define a 'valid article' when counting.
- $wgUseCopyrightUpload - Set this to true if you want detailed copyright information forms on Upload.
- $wgUseDatabaseMessages - Translation using MediaWiki: namespace.
- $wgUseDumbLinkUpdate - Do
DELETE
/INSERT
for link updates instead of incremental. - $wgUseDynamicDates - Enable to allow rewriting dates in page text. DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES.
- $wgUseESI - If you run Squid3 with ESI support, enable this.
- $wgUseETag
- $wgUseExternalEditor - Activate external editor interface for files and pages.
- $wgUseFileCache - This will cache static pages for non-logged-in users to reduce database traffic on public sites.
- $wgUseGzip - Use GZip to store cached pages.
- $wgUseImageMagick - Resizing can be done using PHP's internal image libraries or using ImageMagick.
- $wgUseImageResize (deprecated) - Set $wgUseImageResize to true if you want to enable dynamic server side image resizing ("Thumbnails")
- $wgUseInstantCommons - Enables InstantCommons, a feature that allows to use Wikimedia's Commons images for your wiki.
- $wgUseMemCached (deprecated in 1.17) - Use memcache, using the servers set in $wgMemCachedServers.
- $wgUseNPPatrol - Use new pages patrolling to check for vandalism.
- $wgUsePathInfo - Whether to use 'pretty' URLs.
- $wgUseRCPatrol - Use RC Patrolling to check for vandalism
- $wgUserEmailUseReplyTo - Should the sending user's email be in a Reply-To header instead of From.
- $wgUsersNotifiedOnAllChanges - Array of usernames who will be sent a notification email for every change which occurs on a wiki.
- $wgUseSharedUploads - Whether to look in the shared repository if no file of the given name is found in the local repository (for [[Image:..]], [[Media:..]] links).
- $wgUseSiteCss - Use the site's Cascading Style Sheets (CSS)
- $wgUseSiteJs - Use the site's Javascript page
- $wgUseSquid - Enable/disable Squid.
- $wgUseOldSearchUI (deprecated in 1.16) - Controls the search screen UI
- $wgUseTeX (deprecated) - Enables the use of <math> (TeX) tags.
- $wgUseTidy - Use tidy to make sure HTML output is sane.
- $wgUseTrackbacks (deprecated in 1.19) Enable blog-style trackback links
[edit] V
- $wgValidateAllHtml - Validate the overall output using tidy and refuse to display the page if it's not valid.
- $wgValidSkinNames
- $wgVariantArticlePath - Used for interwiki links.
- $wgVerifyMimeType - Determines if the mime type of uploaded files should be checked
- $wgVersion - Contains the current version of MediaWiki, as displayed to the user. You should not change this!
[edit] W
- $wgWantedPagesThreshold - Minimum number of links required before a page is listed on Special:Wantedpages
- $wgWhitelistRead - Pages anonymous user may see.
[edit] X
- $wgXhtmlDefaultNamespace
- $wgXhtmlNamespaces - Permit other namespaces in addition to the w3.org default.
- $wgXMLMimeTypes - An array of XML mime types we can detect via MimeMagic.
[edit] Y
[edit] Z
Language: | English • Deutsch • 日本語 • русский |
---|