Manual:Configuration settings (alphabetical)
From MediaWiki.org
This is an index of all supported configuration settings 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.
Note: Settings removed in versions of MediaWiki prior to 1.19 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[edit | edit source]
- $wgAccountCreationThrottle - Number of accounts each IP address may create, 0 to disable. Requires memcached.
- $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
- $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 nicer highlighted text in search results.
- $wgAdvertisedFeedTypes - Feed types that should be provided by default.
- $wgAggregateStatsID - Allows statistics to be aggregated over more than one wiki when using udp logging.
- $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 - Use AJAX to preview licensing for uploads.
- $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.
- $wgAllowAsyncCopyUploads - Allow asynchronous copy uploads.
- $wgAllowCategorizedRecentChanges - Allow to filter the recentchanges by a category or one of its sub(subsubsub...)categories
- $wgAllowChunkedUploads - (removed in 1.22) Allow chunked uploading.
- $wgAllowCopyUploads - Allow uploads from URLs as well as local files.
- $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. - $wgAllowHTMLEmail - Set to true to enable HTML emails.
- $wgAllowImageMoving - Enable file renaming.
- $wgAllowImageTag - Allow
<img>
tag to be used in wikitext. - $wgAllowJavaUploads - Allow Java archive uploads.
- $wgAllowMicrodataAttributes - Enable HTML5 microdata attributes for use in wikitext.
- $wgAllowPageInfo - (removed in 1.20) Allow the "info" action.
- $wgAllowPrefChange - (removed in 1.22) Policies for how each preference is allowed to be changed, in the presence of external authentication.
- $wgAllowRdfaAttributes - Enable RDFa attributes for use in wikitext.
- $wgAllowRealName - (removed in 1.21) Whether or not to allow real name fields.
- $wgAllowSchemaUpdates - Allow database schema updates to be executed with update.php script.
- $wgAllowSiteCSSOnRestrictedPages - Allow site-wide CSS on restricted special pages.
- $wgAllowSlowParserFunctions - Allow other parser functions like "pagesinnamespace".
- $wgAllowSpecialInclusion - Allow special page inclusions such as
{{Special:Allpages}}
. - $wgAllowTitlesInSVG - 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.
- $wgAlwaysUseTidy - Always use Tidy
- $wgAmericanDates - Use 'mdy' instead of 'dmy' as the default date format, e.g. 'May 12' instead of '12 May'.
- $wgAntiLockFlags - (removed in 1.25) 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.
- $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.
- $wgAPIGeneratorModules - (removed in 1.21) This setting is ignored
- $wgAPIMaxDBRows - Maximum number of rows to scan in API database queries.
- $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 - Log file or URL (TCP or UDP) to log API requests to.
- $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 article.
- $wgArticlePath - The URL template used to create article links.
- $wgArticleRobotPolicies - Allow customisation of robot policies on a per-article basis.
- $wgAsyncHTTPTimeout - Timeout for asynchronous HTTP requests.
- $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 'autoconfirmed' group membership.
- $wgAutoConfirmCount - Number of edits an account requires before it is autoconfirmed; passing both this AND the time requirement ($wgAutoConfirmAge) is needed
- $wgAutocreatePolicy - (removed in 1.22) Policy to create new accounts with external authentication.
- $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.
§B[edit | edit source]
- $wgBetterDirectionality - (removed in 1.23) Better directionality support.
- $wgBlockAllowsUTEdit - Allow blocked users to edit their talk pages
- $wgBlockCIDRLimit - Maximum CIDR range when blocking an IP range.
- $wgBlockDisablesLogin - Blocked users will not be allowed to login
- $wgBlockOpenProxies - (removed in 1.22) Automatic open proxy test on edit.
- $wgBreakFrames - Break out of framesets. This can be used to prevent external sites from framing your site with ads.
- $wgBrowserBlackList - Browser blacklist for non-Unicode-compliant browsers.
- $wgBug34832TransitionalRollback - (removed in 1.21) Rollback a few bugs (features) related to language variant conversion introduced in 1.19
§C[edit | edit source]
- $wgCacheDirectory - Directory for caching interface messages 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.
- $wgCanonicalLanguageLinks - Whether to enable canonical language links in meta data.
- $wgCanonicalServer - Server name with protocol to use for links to the wiki from other places
- $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.
- $wgCheckFileExtensions - Check if the file extension is allowed on upload.
- $wgCheckUserForceSummary - Make filling in the "reason" field for CheckUser checks compulsory (bug 18613).
- $wgCleanSignatures - Substitute templates in signatures.
- $wgCleanupPresentationalAttributes - (removed in 1.20.1) Put as much as possible presentational HTML attributes in CSS.
- $wgClockSkewFudge - Fudge time to add to cache timestamps to adjust for clock skew.
- $wgColorErrors - Whether to color command-line error messages.
- $wgCommandLineDarkBg - Assume a dark terminal background for maintenance scripts.
- $wgCommandLineMode - Indicates whether MW is running in command-line mode. Should never be set manually!
- $wgCompiledFiles - (removed in 1.24) A list of files that should be compiled into a HipHop build, in addition to those listed in $wgAutoloadClasses.
- $wgCompressRevisions - Compress new page revisions if possible
- $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 - How to react if a plain text version of a non-text Content object is requested using
ContentHandler::getContentText()
- $wgContentHandlerUseDB - 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
- $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.
- $wgCookieSecure - Whether cookies are secured.
- $wgCopyrightIcon - (deprecated in 1.17) Set this to some HTML to override the rights icon with an arbitrary logo.
- $wgCopyUploadAsyncTimeout - HTTP timeout (in seconds) for asynchronous upload by URL
- $wgCopyUploadProxy - HTTP proxy to use for copy upload requests.
- $wgCopyUploadsDomains - Limit
$wgAllowCopyUploads
to a specific whitelist - $wgCopyUploadsFromSpecialUpload - Add an interface to Special:Upload to enable uploading from URLs
- $wgCopyUploadTimeout - HTTP timeout (in seconds) for upload by URL
- $wgCountCategorizedImagesAsUsed - On Special:Unusedimages, consider images "used" if they are put into a category.
- $wgCountTotalSearchHits - (removed in 1.24) Allow the default search engine to count the total number of search matches, to be shown on Special:Search.
- $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.
- $wgCustomConvertCommand - Use another resizing converter, e.g. GraphicMagick.
§D[edit | edit source]
- $wgDBadminpassword - The password for $wgDBadminuser.
- $wgDBadminuser - Database username used by the maintenance scripts.
- $wgDBAhandler - (removed in 1.23) Selects which DBA handler
- $wgDBAvgStatusPoll - Average time between SHOW STATUS queries in overload conditions.
- $wgDBClusterTimeout (removed in 1.24) - When to give error messages.
- $wgDBcompress - Whether to use compression in DB connection.
- $wgDBerrorLog - File to log database errors to.
- $wgDBerrorLogTZ - Timezone to use in the error log.
- $wgDBmwschema - Schema that Postgres stores the MediaWiki tables in. Defaults to 'mediawiki'
- $wgDBmysql4 - (removed in 1.19) Set to true to use enhanced fulltext search.
- $wgDBmysql5 - Set to true to set MySQL connection into UTF-8 encoding (experimental)
- $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.
- $wgDBTableOptions - MySQL table options to use during installation or update.
- $wgDBtestpassword - (removed in 1.22) The password for $wgDBtestuser.
- $wgDBtestuser - (removed in 1.22) Database username that has permission to create and drop the test databases only.
- $wgDBtransactions - (removed in 1.20) Set to true if using InnoDB tables.
- $wgDBtype - Type of database.
- $wgDBuser - Database username.
- $wgDBWindowsAuthentication - Use Integrated Windows Authentication rather than
$wgDBuser
- $wgDebugAPI - Enable API debugging by removing some restrictions like POST-only
- $wgDebugComments - Include portions of log output in page HTML comment
- $wgDebugDBTransactions - Trace lifecycle of the database transaction (opening, commit, rollback)
- $wgDebugDumpSql - Dump SQL queries to debug output
- $wgDebugFunctionEntry - Whether to additionally output a debug message on every
wfProfileIn()
andwfProfileOut()
call. - $wgDebugLogFile - The file name of the debug log, or empty if disabled. wfDebug() appends to this file.
- $wgDebugLogGroups - Direct
wfDebugLog()
output for certain groups to files other than$wgDebugLogFile
. - $wgDebugLogPrefix - Prefix for debug log lines.
- $wgDebugPrintHttpHeaders - Print HTTP headers for every request in the debug information.
- $wgDebugProfiling - (removed in 1.23) Detects non-matching wfProfileIn/wfProfileOut calls
- $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
- $wgDebugTidy - Put tidy warnings in HTML comments, only works for internal tidy.
- $wgDebugTimestamps - Prefix debug messages with relative timestamp.
- $wgDebugToolbar - Display the debugging toolbar
- $wgDefaultExternalStore - Default external store for new revisions.
- $wgDefaultLanguageVariant - Default variant code, if false, the default will be the language code.
- $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.
- $wgDeleteRevisionsLimit - Integer of how many revisions an article 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.
- $wgDeviceDetectionClass - (removed in 1.21) Name of the class used for mobile device detection.
- $wgDiff - Path to the GNU diff utility.
- $wgDiff3 - Path to the GNU diff3 utility.
- $wgDirectoryMode - Default
chmod
permission value for newly created directories. - $wgDisableAnonTalk - Disable talk pages for anonymous users (not logged in).
- $wgDisableCookieCheck - Disables session cookies
- $wgDisableCounters - Disable page view counters.
- $wgDisabledActions - (removed in 1.23) Array of disabled article actions, e.g. view, edit, dublincore, delete, etc.
- $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.
- $wgDisableSearchContext - Setting this 'false' enables display of additional information on specific date/page revisions in search results.
- $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.
- $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 - Path of the djvutoxml executable.
- $wgDjvuTxt - Path of the djvutxt DjVu text extraction utility.
- $wgDnsBlacklistUrls - List of DNS blacklists to use, if
$wgEnableDnsBlacklist
is true. - $wgDocType - (removed in 1.22) The doc type to use in the
<!DOCTYPE>
declaration. - $wgDTD - (removed in 1.22) Specifies the DTD in the DOCTYPE declaration for page output.
- $wgDummyLanguageCodes - List of language codes that have been renamed to new (correct) codes, or don't correspond to an actual interface language.
§E[edit | edit source]
- $wgEditEncoding - Characters not explicitly converted by output encoding
- $wgEdititis - Display user edit counts in various prominent places.
- $wgEditPageFrameOptions - Control framing of wiki pages globally.
- $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
- $wgEnableAPI - Enable direct access to the data API through api.php.
- $wgEnableAutoRotation - Whether to enable image auto-rotation based on EXIF information
- $wgEnableCanonicalServerLink - Output a
<link rel="canonical">
tag on every page indicating the canonical server which should be used, i.e.$wgServer
or$wgCanonicalServer
. - $wgEnableCreativeCommonsRdf - (removed in 1.19) Include Creative Commons licensing information in page output (in RDF format)
- $wgEnableDnsBlacklist - Whether to use DNS blacklists in
$wgDnsBlacklistUrls
to check for open proxies. - $wgEnableDublinCoreRdf - (removed in 1.19)
- $wgEnableImageWhitelist - Enable an on-wiki image whitelist at MediaWiki:External image whitelist if $wgAllowExternalImages is false.
- $wgEnableJavaScriptTest - Allows running of JavaScript test suites via Special:JavaScriptTest (such as QUnit).
- $wgEnableMWSuggest - (removed in 1.20) Enable suggestions while typing in search boxes.
- $wgEnableNewpagesUserFilter - (removed in 1.24) Enable user search in Special:Newpages.
- $wgEnableOpenSearchSuggest - Enable OpenSearch suggestions requested by MediaWiki.
- $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.
- $wgEnableParserLimitReporting - Controls whether the NewPP limit report is output in a HTML comment.
- $wgEnableProfileInfo - Controls the availability of profileinfo.php.
- $wgEnableScaryTranscluding - Enable scary transclusion (transcluding from another wiki)
- $wgEnableSearchContributorsByIP - Whether searching for an IP address will be redirected to that IP's contributions page.
- $wgEnableSelenium - (removed in 1.22) Enable selenium tests.
- $wgEnableSidebarCache - If true, cache the sidebar navigation links.
- $wgEnableSorbs - (deprecated in 1.16) Use http.dnsbl.sorbs.net to check for open proxies.
- $wgEnableTooltipsAndAccesskeys - (removed in 1.19) Whether to enable application of access keys and tooltips
- $wgEnableUploads - Allow images and other files to be uploaded through the wiki.
- $wgEnableUserEmail - Set to true to enable user-to-user email.
- $wgEnableWriteAPI - Allow the API to be used to perform write operations (page edits, rollback, etc.) when an authorized user accesses it.
- $wgExperimentalHtmlIds - Should we allow a broader set of characters in id attributes, per HTML5?
- $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 - Email notifications also for "minor edits" (user preference is shown and user needs to opt-in)
- $wgEnotifRevealEditorAddress - Set to true to insert the page editor's email address into the email notifications Reply-To address
- $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. - $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 - Enable the full-history option on Special:Export.
- $wgExportAllowListContributors - Whether to allow to list all contributors while exporting a page.
- $wgExportFromNamespaces - Whether to allow the "export all pages in namespace" option.
- $wgExportMaxHistory - Special:Export requests for history of pages with more revisions than this will be rejected.
- $wgExportMaxLinkDepth - Maximum value of the "pagelink-depth" parameter in Special:Export.
- $wgExtensionAssetsPath - URL to extensions directory.
- $wgExtensionCredits - Global list of extension credits
- $wgExtensionFunctions - A list of callback functions which are called once MediaWiki is fully initialised.
- $wgExtensionMessagesFiles - Extension messages files.
- $wgExtensionsDirectory - (removed in 1.22) Filesystem extensions directory.
- $wgExternalAuthConf - (removed in 1.22) Configuration for the external authentication.
- $wgExternalAuthType - (removed in 1.22) Use some particular type of external authentication.
- $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.
- $wgExtNewFields - Extension defined fields to be added to existing tables
- $wgExtNewIndexes - Extension defined indexes to be added to existing tables
- $wgExtNewTables - Extension Defined tables to be added on schema change
- $wgExtPGAlteredFields - Extension defined columns to be altered in tables
- $wgExtPGNewFields - Extension defined fields to be added to existing tables
- $wgExtraGenderNamespaces - Same as $wgExtraNamespaces, but for namespaces with gender distinction.
- $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.
- $wgExtraRandompageSQL - (removed in 1.19) Filter for Special:Randompage. Part of a WHERE clause.
- $wgExtraSubtitle - (removed in 1.24) The subtitle to appear under every title.
§F[edit | edit source]
- $wgFavicon - The URL of the site favicon.
- $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 eg Recentchanges, Newpages.
- $wgFetchCommonsDescriptions - Whether to fetch commons image description pages and display them on the local wiki.
- $wgFileBackends - File backend structure configuration.
- $wgFileBlacklist - 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.
- $wgFileStore - (removed in 1.24) File storage paths; currently used only for deleted files.
- $wgFilterCallback - (deprecated in 1.17) Similarly (to $wgSpamRegex) if this function returns true
- $wgFilterLogTypes - Show/hide links on Special:Log will be shown for these log types.
- $wgFixArabicUnicode - Set this to true to clean up archaic Unicode sequences in Arabic text.
- $wgFixDoubleRedirects - Fix double redirects after a page move.
- $wgFixMalayalamUnicode - Set this to true to clean up archaic Unicode sequences in Malayalam text.
- $wgFooterIcons - Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code
- $wgForcedRawSMaxage - Default maximum age (in seconds) for raw CSS/JavaScript accesses.
- $wgForceUIMsgAsContentMsg - Array of UI messages that should be treated as content messages.
- $wgForeignFileRepos - An array of repository structure for foreign repositories.
§G[edit | edit source]
- $wgGalleryOptions - Default settings for the <gallery> tag.
- $wgGenerateThumbnailOnParse - Allow thumbnail rendering on page view.
- $wgGitBin - Path to the git binary.
- $wgGitRepositoryViewers - Map of Git repository URLs to their gitweb interface URLs
- $wgGoToEdit - (removed in 1.24) 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 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[edit | edit source]
- $wgHandheldForIPhone - (removed in 1.22) Apply "screen" and "handheld" media also apply to the iPhone/iPod Touch Mobile Safari.
- $wgHandheldStyle - (removed in 1.22) Style for media="handheld".
- $wgHashedSharedUploadDirectory - Whether to hash the shared upload directory.
- $wgHashedUploadDirectory - If true, uses the /a/ab/foo.jpg directory structure.
- $wgHiddenPrefs - Disable certain user preferences.
- $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. - $wgHipHopBuildDirectory - (removed in 1.22) The build directory for HipHop compilation.
- $wgHipHopBuildType - (removed in 1.22) The HipHop build type.
- $wgHipHopCompilerProcs - (removed in 1.22) Number of parallel processes to use during HipHop compilation.
- $wgHitcounterUpdateFreq - Sets how often page counters should be updated.
- $wgHooks - Global list of hooks.
- $wgHTCPMulticastAddress - (removed in 1.24) What address to send udp HTCP purge packets if being used
- $wgHTCPMulticastRouting - (removed in 1.24) Renamed to
$wgHTCPRouting
in MediaWiki 1.24 - $wgHTCPMulticastTTL - HTCP multicast purging - time to live
- $wgHTCPPort - (removed in 1.24) Port for HTCP multicast purging
- $wgHTCPRouting - Routing configuration for HTCP multicast purging.
- $wgHtml5 - (removed in 1.22) Whether to output an HTML 5 doctype.
- $wgHtml5Version - Defines the value of the version attribute in the
<html>
tag, if any. - $wgHTMLFormAllowTableFormat - Allow form components to render tables.
- $wgHTTPConnectTimeout - Timeout for connections done internally (in seconds)
- $wgHttpOnlyBlacklist - (removed in 1.23) User agent blacklist for HttpOnly mode.
- $wgHTTPProxy - Proxy to use for cURL requests
- $wgHTTPTimeout - Timeout for HTTP requests done via cURL.
§I[edit | edit source]
- $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.
- $wgImageLimits - A list of user-selectable limits for the image thumbnail size on image description pages.
- $wgImageMagickConvertCommand - The command used to invoke ImageMagick.
- $wgImageMagickIdentifyCommand - (removed in 1.23) The identify command shipped with ImageMagick
- $wgImageMagickTempDir - Temporary directory used for ImageMagick.
- $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)
- $wgImplicitGroups - Groups that aren't shown on Special:Listusers or somewhere else
- $wgImportSources - List of interwiki prefixes for wikis we'll accept as sources for Special:Import (for sysops and users given appropriate permissions).
- $wgImportTargetNamespace - Optional default target namespace for interwiki imports.
- $wgIncludeLegacyJavaScript - Whether to include the mediawiki.legacy JavaScript library (old wikibits.js), and its dependencies.
- $wgInternalServer - Internal server name as known to Squid, if different than $wgServer.
- $wgInterwikiCache - Set to a file path to enable the CDB interwiki cache.
- $wgInterwikiExpiry - Expiry time for memcached cache of interwiki table.
- $wgInterwikiFallbackSite - Used by maintenance scripts to dump interwiki table
- $wgInterwikiMagic - Treat language links as magic connectors, not inline links.
- $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[edit | edit source]
- $wgJavaScriptTestConfig - Configuration for javascript testing.
- $wgJobBackoffThrottling - Number of times work items of a job type can be run per second.
- $wgJobClasses - Maps jobs to their handling classes.
- $wgJobRunRate - Number of jobs to perform per request.
- $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.
- $wgJsMimeType - (removed in 1.22) Media type (MIME type) to use for JavaScript scripts.
§K[edit | edit source]
§L[edit | edit source]
- $wgLanguageCode - Site language code. Should be one of the ./language/Language(.*).php files.
- $wgLanguageConverterCacheType - The cache type for storing language conversion tables.
- $wgLBFactoryConf - Load balancer factory configuration.
- $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 - Whether or not to assign configuration variables to the global window object.
- $wgLegacySchemaConversion - Option to speed up the conversion step for large sites when migrating the schema from 1.4 to 1.5
- $wgLegalTitleChars - Override the default list of illegal characters in page titles.
- $wgLicenseTerms - (removed in 1.23) Array of metadata terms.
- $wgLinkHolderBatchSize - LinkHolderArray batch size.
- $wgLoadFileinfoExtension - (removed in 1.22) 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.
- $wgLocalInterwiki - (deprecated in 1.23)
- $wgLocalInterwikis - Array of interwiki prefixes for this wiki.
- $wgLocalisationCacheConf - Localisation cache configuration.
- $wgLocalMessageCacheSerialized - (removed in 1.22) Defines format of local cache : true - Serialized object, false - PHP source file (Warning - security risk)
- $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.
- $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 functions callbacks. - $wgLogExceptionBacktrace - Whether to send the exception backtrace to the error log.
- $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.
- $wgLogRestrictions - Restricts log access to those who have a certain right.
- $wgLogTypes - List of log types.
§M[edit | edit source]
- $wgMainCacheType - Object cache setting
- $wgMaintenanceScripts - (removed in 1.23) Array for extensions to register their maintenance scripts with the system.
- $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 article size in kilobytes.
- $wgMaxCredits - Set this to the number of authors that you want to be credited below an article text.
- $wgMaxGeneratedPPNodeCount - 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.
- $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.
- $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.
- $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.
- $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.
- $wgMaxTocLevel - Maximum indent level of toc.
- $wgMaxUploadSize - Maximum size of uploaded files (in bytes)
- $wgMediaHandlers - Plugins for media file type handling.
- $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 project namespace.
- $wgMetaNamespaceTalk - Name of the project talk namespace.
- $wgMimeDetectorCommand - Sets an external MIME detector program.
- $wgMimeInfoFile - Sets the MIME type info file to be used by MimeMagic.php.
- $wgMimeType - The type to send in the
Content-Type
header. - $wgMimeTypeBlacklist - MIME types to disallow if $wgVerifyMimeType is enabled.
- $wgMimeTypeFile - Sets the MIME type definition file to be used by MimeMagic.php.
- $wgMinimalPasswordLength - Specifies the minimal length of a user password.
- $wgMiserMode - Enable/disable database-intensive features
- $wgMsgCacheExpiry - When a message in cache expires (in seconds).
- $wgMWSuggestTemplate - (removed in 1.20) Template for internal MediaWiki suggestion engine.
§N[edit | edit source]
- $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?
- $wgNamespacesToBeSearchedHelp - Namespaces to be searched when user clicks the "Help" tab on Special:Search
- $wgNamespacesWithSubpages - Which namespaces should support subpages?
- $wgNewPasswordExpiry - The time, in seconds, after which an emailed temporary password expires.
- $wgNewUserLog - Whether to maintain a log of newusers 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 $wgNoFollowLinks doesn't apply.
- $wgNonincludableNamespaces - Use this to deny inclusion of pages from specific namespaces.
- $wgNoReplyAddress - Reply-to address for automatically generated emails.
§O[edit | edit source]
- $wgObjectCaches - Advanced object cache configuration.
- $wgObjectCacheSessionExpiry - The expiry time to use for session storage when
$wgSessionsInObjectCache
is enabled, in seconds. - $wgOldChangeTagsIndex - (removed in 1.22) Use old names for change_tags indices.
- $wgOpenSearchDefaultLimit - Integer defining default number of entries to show on OpenSearch call.
- $wgOpenSearchTemplate - Template for OpenSearch suggestions.
- $wgOverrideHostname - Override server hostname detection with a hardcoded value.
- $wgOverrideSiteFeed - Override the site's default rss/atom feed that appears on every page.
§P[edit | edit source]
- $wgPageInfoTransclusionLimit - Limit template transclusion on InfoAction
- $wgPagePropLinkInvalidations - Page property link table invalidation lists.
- $wgPagePropsHaveSortkey - Set to false if the
page_props
table doesn't have app_sortkey
column - $wgPageShowWatchingUsers - (removed in 1.25) Show watching users in Page views.
- $wgParserCacheExpireTime - Expiration time (in seconds) of cached parser information
- $wgParserCacheType - Parser cache setting
- $wgParserConf - Parser configuration.
- $wgParserOutputHooks - Parser output hooks.
- $wgParserTestFiles - Parser test suite files to be run by parserTests.php.
- $wgParserTestRemote - (removed in 1.24) Specifies target CodeReview installation to send test result data from "parserTests.php --upload".
- $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.
- $wgPasswordReminderResendTime - Minimum time, in hours, which must elapse between password reminder emails.
- $wgPasswordResetRoutes - Whether to allow password resets identified by various bits of data.
- $wgPasswordSalt (deprecated in 1.24) - For compatibility with old installations set to false.
- $wgPasswordSender - Password reminder email address.
- $wgPasswordSenderName - (removed in 1.23) Password reminder ($wgPasswordSender) name.
- $wgPhpCli - Executable name of PHP cli client (php/php5).
- $wgPoolCounterConf - Configuration for processing pool control.
- $wgPreloadJavaScriptMwUtil - Whether to preload the mediawiki.util module as blocking module in the top queue.
- $wgPreprocessorCacheThreshold - Preprocessor caching threshold.
- $wgPreviewOnOpenNamespaces - Namespaces where preview-on-first-edit is forced.
- $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 number of seconds to load.
- $wgProfileOnly - (deprecated in 1.23) Don't put non-profiling info into log file
- $wgProfilePerHost - Should application server host be put into profiling table?
- $wgProfileToDatabase - (removed in 1.23) Log sums from profiling into "profiling" table in db.
- $wgProxyList - Big list of banned IP addresses.
- $wgProxyMemcExpiry - (removed in 1.22) Expiration time for cached proxy IPs.
- $wgProxyPorts - (removed in 1.22) Ports we want to scan for a proxy.
- $wgProxyScriptPath - (removed in 1.22) Script used to scan for proxies.
- $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.
§Q[edit | edit source]
- $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[edit | edit source]
- $wgRateLimitLog - (deprecated in 1.23) Set to a filename to log rate limiter hits.
- $wgRateLimits - Simple rate limiter options to brake edit floods.
- $wgRateLimitsExcludedIPs - Array of IPs which should never trigger the rate limiter.
- $wgRawHtml - Allow raw, unchecked HTML in <html>...</html> sections.
- $wgRC2UDPAddress - (removed in 1.24) Address used when sending RC updates via UDP.
- $wgRC2UDPInterwikiPrefix - (removed in 1.24) Whether to prefixes the page name used in the RC feed.
- $wgRC2UDPOmitBots - (removed in 1.24) Omit bot edits from UDP output
- $wgRC2UDPPort - (removed in 1.24) Port used when sending RC updates via UDP.
- $wgRC2UDPPrefix - (removed in 1.24) Prefix used when sending RC updates via UDP.
- $wgRCChangedSizeThreshold - Highlight character count difference lower than this.
- $wgRCEngines - Configuration for RC feed protocol engines
- $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.
- $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.
- $wgRecentChangesFlags - Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
- $wgRedirectOnLogin - Redirect users to a specific page on login.
- $wgRedirectScript - (removed in 1.22) The URL of redirect.php.
- $wgRedirectSources - Regular expression to restrict URLs which will be displayed as "redirected from" links.
- $wgRegisterInternalExternals - Whether to register external links pointing to the same server.
- $wgRemoveGroups - Controls who can remove specifics groups using Special:Userrights.
- $wgRenderHashAppend - Append a configured value to the parser cache and the sitenotice cache keys.
- $wgRepositoryBaseUrl - Base URL for a repository wiki.
- $wgRequirePasswordforEmailChange - Whether the user must enter their password to change their email address
- $wgReservedUsernames - List of account names that cannot exist.
- $wgResourceBasePath - Default 'remoteBasePath' value for resource loader modules.
- $wgResourceLoaderDebug - The default debug mode (on/off) for ResourceLoader requests.
- $wgResourceLoaderInlinePrivateModules - (removed in 1.19) Whether to embed private modules inline with HTML output or to bypass caching and check the user parameter against.
- $wgResourceLoaderLESSImportPaths - Default import paths for LESS modules.
- $wgResourceLoaderMaxage - Maximum time in seconds to cache resources served by the resource loader.
- $wgResourceLoaderMaxQueryLength - Maximum query string length for resource loader requests.
- $wgResourceLoaderMinifierMaxLineLength - Maximum line length when minifying JavaScript.
- $wgResourceLoaderMinifierStatementsOnOwnLine - Put each statement on its own line when minifying JavaScript.
- $wgResourceLoaderSources - Foreign module sources registry.
- $wgResourceLoaderUseESI - Enable embedding of certain resources using Edge Side Includes.
- $wgResourceLoaderValidateJS - Whether to parse JavaScript module prior to minification to validate them.
- $wgResourceLoaderValidateStaticJS - Whether to parse statically-sourced (file-backed) JavaScript resources prior to minification to validate them.
- $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
- $wgRestrictDisplayTitle - Restrict
{{DISPLAYTITLE}}
to titles that normalize to the same canonical DB key. - $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.
- $wgRevokePermissions - Permission keys revoked from users in each group.
- $wgRightsIcon - Copyright icon
- $wgRightsPage - Page describing the site license
- $wgRightsText - Text describing the site license
- $wgRightsUrl - URL describing the site license
- $wgRunJobsAsync - Controls whether on-request jobs are run asynchronously or synchronously.
§S[edit | edit source]
- $wgScript - The URL of index.php.
- $wgScriptExtension - Extension to append to script names by default.
- $wgScriptPath - The base URL path.
- $wgSearchEverythingOnlyLoggedIn - (removed in 1.24) If set to true the 'searcheverything' preference will be effective only for logged-in users.
- $wgSearchForwardUrl - Set this to a URL to forward search requests to some external location.
- $wgSearchHighlightBoundaries - Regexp to match word boundaries
- $wgSearchSuggestCacheExpiry - Expiry time for search suggestion responses.
- $wgSearchType - Type of search used for the wiki.
- $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.
- $wgSecureLoginDefaultHTTPS - (removed in 1.22) Keep users logged in via HTTPS
- $wgSeleniumConfigFile - (removed in 1.22) Selenium configuration file.
- $wgSeleniumTestConfigs - (removed in 1.22) Configuration for selenium test suites.
- $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.
- $wgSessionCacheType - The cache type for storing session data. Used if
$wgSessionsInObjectCache
is true. - $wgSessionHandler - Used to set php's session.save_handler.
- $wgSessionName - Override to customize the session name.
- $wgSessionsInMemcached - (deprecated in 1.20) Store session data in the object cache, rather than on the filesystem.
- $wgSessionsInObjectCache - Whether to store sessions in object cache.
- $wgSharedDB - The name of the shared database.
- $wgSharedPrefix - Table prefix to use on the shared database tables.
- $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 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.
- $wgShellCgroup - Limit shell commands memory using linux Cgroups.
- $wgShellLocale - Locale for
LC_CTYPE
. - $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 - If true, show a backtrace for database errors.
- $wgShowDebug - Show debug data at bottom of content area
- $wgShowExceptionDetails - If set to true, uncaught exceptions will print a complete 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.
- $wgShowIPinHeader - Show the IP in the user bar for anonymous users.
- $wgShowRollbackEditCount - Maximum number to count when a rollback link is shown
- $wgShowSQLErrors - 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.
- $wgSitemapNamespaces - Array of namespaces 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.
- $wgSiteStatsAsyncFactor - Sets how often site statistics should be updated.
- $wgSiteSupportPage - The title of the support page in your wiki.
- $wgSkipSkin - (deprecated in 1.23) Specify the name of a skin that should not be presented in the list of available skins.|newvarname=$wgSkipSkins|newvarlink=Manual:$wgSkipSkins}} == Details ==Specify the name of a skin that should not be presented in the list of available skins.Use for blacklisting a skin which you do not want to remove from the
skins
directory.Deprecated since version 1.23.Use$wgSkipSkins
instead.For example:$wgSkipSkin = "cologneblue";
$wgSkipSkins[] = "cologneblue";// or alternatively...$wgSkipSkins = array( "cologneblue" );
- $wgSkipSkins - Specify the name of skins that should not be presented in the list of available skins.
- $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 - (removed in 1.24) URL to the Sorbs blacklist.
- $wgSortSpecialPages - (removed in 1.24) Whether or not to sort special pages in Special:SpecialPages.
- $wgSpamRegex - A regular expression pattern which stops a page from being saved.
- $wgSpecialPageCacheUpdates - Additional functions to be performed with updateSpecialPages.php.
- $wgSpecialPageGroups - (deprecated in 1.21) 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.
- $wgSQLMode - SQL mode
- $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 - Toggle whether users may upload files not covered by
$wgFileExtensions
. - $wgStyleDirectory - The file system path to the skins directory.
- $wgStylePath - The URL of the skins directory.
- $wgStyleSheetPath - Do not set
$wgStyleSheetPath
. Use$wgStylePath
instead. - $wgStyleVersion - Appended in the query string of static CSS and JS to clear client side cache when changing this.
- $wgSummarySpamRegex - Same as
$wgSpamRegex
except for edit summaries. - $wgSVGConverter - A key from
$wgSVGConverters
to use as converter. - $wgSVGConverterPath - Path to 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.
- $wgSysopEmailBans - Allow sysops to ban users from accessing Special:Emailuser.
§T[edit | edit source]
- $wgThumbLimits - List of image thumbnail sizes users can pick from.
- $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.
- $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.
- $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 tidy extension to use an in-process tidy library instead of spawning a separate program.
- $wgTidyOpts - Options passed to tidy on the command line.
- $wgTiffThumbnailType - The format and MIME type to convert TIFF images to.
- $wgTmpDirectory - The path of the temporary directory.
- $wgTrackingCategories - The list of messages representing tracking categories which are listed at Special:TrackingCategories.
- $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.
§U[edit | edit source]
- $wgUDPProfilerHost - Host for UDP profiler.
- $wgUDPProfilerPort - Port for UDP profiler.
- $wgUniversalEditButton - Enable the UniversalEditButton for browsers that support 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 upgrades.
- $wgUploadBaseUrl - The base URL for uploaded images if shared upload directory isn't to be used
- $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 URL of the upload directory.
- $wgUploadSizeWarning - Warn if uploaded files are larger than this.
- $wgUploadStashMaxAge - The maximum age of temporary (incomplete) uploaded files.
- $wgUploadStashScalerBaseUrl - To enable remote on-demand scaling, set this to the thumbnail base URL.
- $wgUrlProtocols - Defines the protocols which are supported and translated in HTML by the mediawiki parser.
- $wgUseAjax - Enable AJAX support.
- $wgUseAutomaticEditSummaries - Whether MediaWiki should make automatic edit summaries.
- $wgUseCategoryBrowser - Enable/Disable experimental dmoz-like category browsing.
- $wgUseCombinedLoginLink - Login / create account link behavior when it's possible for anonymous users to create an account.
- $wgUseCommaCount - (removed in 1.24) 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 - (removed in 1.22) Do
DELETE
/INSERT
for link updates instead of incremental. - $wgUseDynamicDates - (removed in 1.21) Enable to allow rewriting dates in page text.
- $wgUseEnotif - Overall "use Enotif" setting
- $wgUseESI - If you run Squid3 with ESI support, enable this.
- $wgUseETag - Whether MediaWiki should send an ETag header.
- $wgUseExternalEditor - Determine if users are allowed to edit using external editor interface.
- $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 - Set to true to use ImageMagick for image resizing.
- $wgUseImageResize - Whether to enable dynamic server-side image resizing (thumbnailing)
- $wgUseInstantCommons - Enable the use of Wikimedia Commons as a shared repository
- $wgUseLocalMessageCache - Make a local copy of the message cache, in addition to memcached.
- $wgUseMediaWikiUIEverywhere - Applies MediaWiki UI wherever it can be supported.
- $wgUseNPPatrol - Use new pages patrolling to check for vandalism
- $wgUsePathInfo - Whether to use 'pretty' URLs.
- $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.
- $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.
- $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 - Enable/disable Squid.
- $wgUseTagFilter - Allow filtering by change tag in recentchanges, history, etc.
- $wgUseTidy - Use tidy to make sure HTML output is sane.
- $wgUseTrackbacks - (removed in 1.19) Allow blog style trackbacks to be attached to articles
- $wgUseTwoButtonsSearchForm - Sidebar's search form behavior.
- $wgUseXVO - Send X-Vary-Options header for better caching (requires patched Squid).
§V[edit | edit source]
- $wgValidateAllHtml - Validate the overall output using tidy and refuse to display the page if it's not valid.
- $wgValidSkinNames - List of valid skin names. Is used by skins to tell MediaWiki that they are available.
- $wgVariantArticlePath - Used for links when having language's variants.
- $wgVaryOnXFP - Whether to add X-Forwarded-Proto to the Vary and X-Vary-Options headers for API requests and RSS/Atom feeds.
- $wgVectorCombineUserTalk - (removed in 1.21) Appearance, in Vector, of user page and talk page labels in personal tools.
- $wgVectorShowVariantName - (removed in 1.19) Show the name of the current variant as a label in the variants drop-down menu.
- $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.
- $wgVersion - MediaWiki version number. You should not change this!
§W[edit | edit source]
- $wgWantedPagesThreshold - Minimum number of pages that must link to a page before it will appear on Special:Wantedpages.
- $wgWellFormedXml - Whether to try to make our HTML output well-formed XML.
- $wgWhitelistRead - Pages anonymous user may see.
- $wgWhitelistReadRegexp - Whitelists publicly readable titles with a regex.
§X[edit | edit source]
- $wgXhtmlDefaultNamespace - (removed in 1.22) Namespace to use when outputting in XHTML mode.
- $wgXhtmlNamespaces - Permit other namespaces in addition to the w3.org default.
- $wgXMLMimeTypes - An array of XML MIME types we can detect via MimeMagic
§Y[edit | edit source]
§Z[edit | edit source]
Language: | English • Deutsch • 日本語 • русский |
---|