Manual:Configuration settings/id

Ini adalah indeks semua opsi konfigurasi yang didukung berdasarkan berkas.

Jangan pernah menyunting langsung ; salin baris yang sesuai ke   dan ubah yang diperlukan.


 * Listed alphabetically | Listed by function | Category:MediaWiki configuration settings


 * Listed alphabetically | Listed by function | Category:MediaWiki configuration settings

Umum

 * $wgProto - The secure server prefix.
 * $wgServer - The base URL of the server.
 * $wgServerName - The name of the server without the protocol. (eg, en.wikipedia.org)
 * $wgSitename - The name of the site. Should be changed
 * $wgVersion - Contains the current version of MediaWiki, as displayed to the user.

Jalur

 * $IP - The filesystem installation directory. Not in DefaultSettings.php.
 * $wgActionPaths - Paths for various user actions. Used to 'pretty' URLs.
 * $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.
 * $wgDirectoryMode - Default value for chmoding of new directories.
 * $wgDiff - Path to the GNU diff utility.
 * $wgDiff3 - Path to the GNU diff3 utility.
 * $wgFavicon - The URL of the site favicon.
 * $wgLoadScript - The URL path to load.php.
 * $wgLogo - The URL of the site logo.
 * $wgPhpCli - Executable name of PHP cli client (php/php5).
 * $wgRedirectScript - The URL of redirect.php, needed for backwards compatibility.
 * $wgScript - The URL of index.php.
 * $wgScriptExtension - Extension to append to script names by default.
 * $wgScriptPath - The base URL path.
 * $wgSQLiteDataDirMode - Default directory mode for SQLite data directory on creation.
 * $wgStockPath - For stock images that come with MediaWiki.
 * $wgStyleSheetDirectory - The file system path of the directory containing the stylesheets.
 * $wgStyleSheetPath - The URL of the directory containing the stylesheets.
 * $wgTmpDirectory - The URL of the temporary directory.
 * $wgUsePathInfo - Whether to use 'pretty' URLs.
 * $wgVariantArticlePath - Used for links when having language's variants.

See also TeX for LaTeX specific path settings.

See also Uploads for file/image upload path settings.

See also Skins for skins path settings.

See also Skins for skins path settings.

Objek global

 * $wgConf - Create a site configuration object. Not used for much in a default install.

Surel
See Also User Access: $wgEmailConfirmToEdit


 * $wgAdditionalMailParams - Additional email parameters.
 * $wgEmailAuthentication - Whether Email authentication (confirmation) is needed for that wiki for using any Email function (except password reminder which works independently from this setting)
 * $wgEmergencyContact - Site admin email address
 * $wgEnableEmail - Set to true to enable the e-mail basic features: Password reminders, etc.
 * $wgEnableUserEmail - Set to true to enable user-to-user e-mail.
 * $wgNoReplyAddress - Dummy address which should be accepted during mail send action.
 * $wgPasswordSender - Password reminder email address.
 * $wgPasswordSenderName - Password reminder name.
 * $wgPasswordReminderResendTime - Minimum time, in hours, which must elapse between password reminder.
 * $wgSMTP - For using a direct (authenticated) SMTP server connection.
 * $wgSysopEmailBans - Allow sysops to ban users from accessing Emailuser.
 * $wgUserEmailUseReplyTo - Should the sending user's email be in a Reply-To header instead of From.

Notifikasi surel (Enotif)

 * ''Actual notifications for each users are defined in the options. You can change defaults with $wgDefaultUserOptions.


 * $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)
 * $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.
 * $wgEnotifUseRealName - Use real name instead of username in e-mail "from" field
 * $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)
 * $wgUsersNotifiedOnAllChanges (formerly $wgUsersNotifedOnAllChanges!) - Array of usernames who will be sent a notification email for every change which occurs on a wiki

Basis data

 * $wgAllDBsAreLocalhost - Make all database connections secretly go to localhost. Useful for debugging.
 * $wgBufferSQLResults - Use buffered queries by default.
 * $wgCheckDBSchema
 * $wgDBAvgStatusPoll - Time before the server get a SHOW STATUS query under overload conditions.
 * $wgDBconnection -
 * $wgDBerrorLog - File to log database errors to.
 * $wgDBname - Name of the database.
 * $wgDBpassword - The password for $wgDBuser.
 * $wgDBport - Database port.
 * $wgDBprefix - Table name prefix.
 * $wgDBschema - On some databases this allows separate logical namespace for application data.
 * $wgDBserver - Database host name or ip address.
 * $wgDBtype - Type of database.
 * $wgDBuser - Database username.
 * $wgLocalDatabases - Other wikis on this site, can be administered from a single developer account.
 * $wgSearchType - Type of DB search used.
 * $wgSecondaryMessageDB - DB to fall back on if the message isn't in the main DB.
 * $wgSqlLogFile
 * $wgSQLMode - SQL mode
 * $wgSqlTimeout

LoadBalancer

 * $wgAlternateMaster - A map of database name to connection index.
 * $wgDBClusterTimeout - When to give error messages.
 * $wgDBloads - Database load balancer.
 * $wgDBservers - Database load balancer.
 * $wgDefaultExternalStore - The place to put new revisions.
 * $wgLBFactoryConf - Load balancer factory configuration.
 * $wgMasterWaitTimeout - How long to wait for a slave to catch up to the master.
 * $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).

MySQL

 * $wgDBminWordLen - Used to discard words that MySQL will not return any results for shorter values configure mysql directly.
 * $wgDBmysql4 - Set to true to use enhanced fulltext search.
 * $wgDBmysql5 - Set to true to set MySQL connection into UTF-8 encoding
 * $wgDBTableOptions - MySQL table options to use during installation or update.
 * $wgDBtransactions - Set to true if using InnoDB tables.
 * $wgExternalServers - An array of external MySQL servers.

PostgreSQL

 * $wgDBmwschema - Schema that Postgres stores the MediaWiki tables in. Defaults to 'mediawiki'
 * $wgDBts2schema - Schema that the Tsearch2 tables live in for Postgres. Defaults to 'public'

SQLite

 * $wgSQLiteDataDir - To override default SQLite data directory.

Basis data bersama

 * $wgSharedDB - The name of the shared database.
 * $wgSharedPrefix - Prefix to use for the shared database.
 * $wgSharedTables - Tables to use in shared database

Simpanan terkompresi

 * $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.
 * $wgDisableOutputCompression - Disable output compression (compression is enabled by default if zlib is available).

Shared DB settings

 * – The name of the shared database.
 * – Prefix to use for the shared database.
 * – Tables to use in shared database.
 * – The table schema for the shared database.

Compressed Storage Support

 * – 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.
 * – Disable output compression (compression is enabled by default if zlib is available).

Migration

 * – Controls how actor data is read/written to the database.
 * - Controls how change tags are read/written to the database.
 * - Controls how comments are read/written to the database.
 * - Controls how multi content revision data are read/written to the database.

Pelokalan

 * $wgAmericanDates - Enable for English module to print dates as eg 'May 12' instead of '12 May'.
 * $wgBetterDirectionality - Experimental better directionality support.
 * $wgDisabledVariants - Disabled variants for language variant conversion.
 * $wgDisableLangConversion - Whether to enable language variant conversion.
 * $wgDisableTitleConversion - Whether to enable language variant conversion for links.
 * $wgDummyLanguageCodes - List of language codes that don't correspond to an actual language.
 * $wgEditEncoding - Characters not explicitly converted by output encoding
 * $wgForceUIMsgAsContentMsg - Array of UI messages that should be treated as content messages
 * $wgInputEncoding - The encoding of the input text.
 * $wgInterwikiMagic - Treat language links as magic connectors, not inline links.
 * $wgLanguageCode - Site language code. Should be one of the ./languages/messages/Messages(.*).php files.
 * $wgLanguageFile - Filename of a language file generated by dumpMessages.php.
 * $wgLegacyEncoding - Set this to eg 'ISO-8859-1' to perform character set conversion when loading old revisions not marked with utf-8 flag.
 * $wgLoginLanguageSelector - Show a bar of language selection links in the user login and user registration forms.
 * $wgMsgCacheExpiry - When a message in cache expires (in seconds).
 * $wgOutputEncoding - The encoding of the output text.
 * $wgUseDatabaseMessages - Translation using MediaWiki: namespace.
 * $wgUseDynamicDates - Enable to allow rewriting dates in page text. DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES.
 * $wgUseLatin1 - Enable ISO-8859-1 compatibility mode.

Timezone settings

 * $wgLocaltimezone - Fake out the timezone that the server thinks it's in.
 * $wgLocalTZoffset - Add a distance to the timezone of the server.

Chinese-specific

 * $wgZhdaemonHost - The host which zhdaemon is on. This is only used if $wgUseZhdaemon is set.
 * $wgZhdaemonPort - The port on $wgZhdaemonHost which zhdaemon is on.
 * $wgUseZhdaemon - Whether to use zhdaemon to perform Chinese text processing.

Hindi/Arabic-specific

 * $wgTranslateNumerals - For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.

Debug/log

 * $wgColorErrors - Whether to color command-line error messages.
 * $wgDebugComments - Include portions of log output in page HTML comment.
 * $wgDebugDumpSql - Dump SQL queries to debug output
 * $wgDebugLogFile - The file name of the debug log, or empty if disabled. wfDebug appends to this file.
 * $wgDebugLogGroups - Selective debug logs on a group basis.
 * $wgDebugLogPrefix - Prefix for debug log lines
 * $wgDebugPrintHttpHeaders - Print HTTP headers for every request in the debug information.
 * $wgDebugRawPage - Avoid overlapping debug entries by leaving out CSS.
 * $wgDebugRedirects - Displays redirect location instead of actually redirecting to the target URL
 * $wgDebugTimestamps - Prefix debug messages with relative timestamp.
 * $wgDevelopmentWarnings - Whether to throw PHP notices for some possible error conditions and for deprecated functions.
 * $wgIgnoreSQLErrors - Whether to disable automatic generation of "we're sorry, but there has been a database error" pages.
 * $wgJobLogFile - Log file for job execution.
 * $wgLogQueries - enable logging of enquiries; requires Extension AskSql
 * $wgShowDBErrorBacktrace - If true, show a backtrace for database errors.
 * $wgShowDebug - Display debug data at the bottom of the main content area.
 * $wgShowSQLErrors - Whether to show "We're sorry, but there has been a database error." pages.
 * $wgShowExceptionDetails - If set to true, uncaught exceptions will print a complete stack trace to output.
 * $wgStatsMethod - Destination for wfIncrStats data.

Pemprofilan

 * $wgDebugFunctionEntry - Output debug message on every wfProfileIn/wfProfileOut
 * $wgDebugProfiling - Detects non-matching wfProfileIn/wfProfileOut calls
 * $wgDebugSquid - Lots of debugging output from SquidUpdate.php
 * $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?
 * $wgProfilerType - If not empty, specifies profiler type to load.
 * $wgProfileSampleRate - Only profile every n requests when profiling is turned on
 * $wgProfileToCommentUser - Put profiling data in HTML comments in the output file, for a given user only.
 * $wgProfileToDatabase - Log sums from profiling into profiling table in db.
 * $wgProfiling - Enable for more detailed by-function times in debug log
 * $wgUDPProfilerHost - Host for UDP profiler.
 * $wgUDPProfilerPort - Port for UDP profiler.

Kustomisasi situs

 * $wgBreakFrames - Break out of framesets. This can be used to prevent external sites from framing your site.
 * $wgCanonicalLanguageLinks - Whether to enable cononical language links in meta data.
 * $wgCapitalLinks - Set this to false to avoid forcing the first letter of links to capitals.
 * $wgCapitalLinkOverrides - Per namespace configuration for $wgCapitalLinks
 * $wgDefaultLanguageVariant - Default variant code, if false, the default will be the language code.
 * $wgEnableNewpagesUserFilter - Enable user search in Special:Newpages.
 * $wgExtraLanguageNames - List of language names or overrides for default names in Names.php.
 * $wgExtraRandompageSQL - Filter for Special:Randompage. Part of a WHERE clause.
 * $wgExtraSubtitle - The subtitle to appear under every title.
 * $wgHideInterlanguageLinks - Hide interlanguage links from the sidebar.
 * $wgIllegalFileChars - Override the default list of illegal characters in file names.
 * $wgLegalTitleChars - Override default list of illegal characters in page titles.
 * $wgMaxArticleSize - Maximum article size in kilobytes.
 * $wgMaxRedirects - Max number of redirects to follow when resolving redirects.
 * $wgMetadataWhitelist - Full name of the page containing templates names that will be allowed as metadata.
 * $wgNavigationLinks - Navigation links for the user sidebar.
 * $wgNoFollowDomainExceptions - External links to these domain names (or any subdomains) will not be set to
 * $wgNoFollowLinks - If true, external URL links in wiki text will be given the  attribute.
 * $wgPageShowWatchingUsers - Show watching users in Page views.
 * $wgRestrictionLevels - Set of permission keys that can be selected on the 'page protection' page.
 * $wgSiteNotice - A message to be displayed at the top of every page.
 * $wgSiteSupportPage - A page where your users can donate.
 * $wgStyleVersion - Appended in the query string of static CSS and JS to clear client side cache when changing this.
 * $wgUniversalEditButton - Enable the UniversalEditButton for browsers that support it
 * $wgUrlProtocols - Defines the protocols which are supported and translated in HTML by the MediaWiki parser.
 * $wgUseExternalEditor - Activate external editor interface for files and pages.
 * $wgUseMetadataEdit - Whether to use metadata edition.

Ajax

 * $wgAjaxExportList - List of functions in  that are callable via
 * $wgAjaxSearch - Enable use of AJAX auto-suggestion for the search bar.
 * $wgAjaxUploadDestCheck - Enable AJAX check for file overwrite, pre-upload.
 * $wgAjaxWatch - Enable watching/unwatching pages using AJAX.
 * $wgUseAjax - Enable use of AJAX features

CSS/Js

 * $wgAllowUserCss - Allow user Cascading Style Sheets (CSS)
 * $wgAllowUserJs - Allow user Javascript pages
 * $wgForcedRawSMaxage - Default maximum age for raw CSS/JS accesses.
 * $wgHandheldForIPhone - If set, 'screen' and 'handheld' media also apply to the iPhone/iPod Touch Mobile Safari.
 * $wgHandheldStyle - Style for media="handheld".
 * $wgUseSiteCss - Use the site's Cascading Style Sheets (CSS).
 * $wgUseSiteJs - Use the site's Javascript page.

Resource loader

 * $wgResourceLoaderDebug - The default debug mode (on/off) for of ResourceLoader requests.
 * $wgResourceLoaderInlinePrivateModules - Whether to embed private modules inline with HTML output or to bypass caching and check the user parameter against.
 * $wgResourceLoaderMaxage - Maximum time in seconds to cache resources served by the resource loader.
 * $wgResourceLoaderUseESI - Enable embedding of certain resources using Edge Side Includes.

Ruang nama

 * $wgContentNamespaces - Namespaces which are considered to contain real content, or articles.
 * $wgExtraNamespaces - Additional namespaces.
 * $wgMetaNamespace - The name used for the meta-namespace.
 * $wgMetaNamespaceTalk - The name used for the meta-namespace talk pages.
 * $wgNamespaceAliases - Additional names for namespaces.
 * $wgNamespaceProtection - Default protection levels for namespaces.
 * $wgNamespacesToBeSearchedDefault - Which namespaces should be searched?
 * $wgNamespacesToBeSearchedHelp - Namespaces to be searched when user clicks the "Help" tab on Special:Search.
 * $wgNamespacesToBeSearchedProject - Additional namespaces that will be added to default search for "project".
 * $wgNamespacesWithSubpages - Which namespaces should support subpages?
 * $wgNoFollowNsExceptions - Namespaces where the nofollow setting ($wgNoFollowLinks) is overridden.
 * $wgNonincludableNamespaces - Pages in namespaces in this array can not be used as templates.
 * $wgPreviewOnOpenNamespaces - Namespaces that have special treatment where they should be preview-on-open.
 * $wgSitemapNamespaces - Array of namespaces to generate a sitemap or false for all namespaces.

Output

 * – Enable HTML 5 microdata attributes for use in wikitext, if $wgHtml5 is also true.
 * – Enable RDFa attributes for use in wikitext.
 * – Whether to put as much as possible presentational HTML attributes in CSS.
 * – Whether to enable application of access keys and tooltips
 * – Whether to output an HTML 5 doctype. See.
 * – Defines the value of the version attribute in the &lt;html&gt; tag, if any.
 * – Whether to try to make our HTML output well-formed XML.
 * – The type to send in the  header.
 * – Whether to mangle any cross-domain-policy (Adobe cross-domain policy) tags, to prevent XSS attacks.
 * – Send 404 HTTP status for not found pages.
 * – Output a &lt;link rel="canonical"&gt; tag on every page indicating the canonical server which should be used, i.e. $wgServer or $wgCanonicalServer.
 * – Applies MediaWiki UI wherever it can be supported.
 * – Allow form components to render tables.
 * – Permit other namespaces in addition to the w3.org default.

The following settings are only used if is set to "false" :
 * – The doc type to use in the  declaration.
 * – Specifies the DTD in the DOCTYPE declaration for page output.
 * – Default XHTML namespace

Robot policies

 * – Allow customisation of robot policies on a per-article basis.
 * – Default robot exclusion policy for the wiki.
 * – An array of namespace keys in which the __INDEX__/__NOINDEX__ magic words will not function.
 * – Allow customisation of robot policies on a per-namespace basis.

Mobile support

 * – Name of the class used for mobile device detection.

Content Security Policy

 * Controls Content-Security-Policy header
 * Controls Content-Security-Policy-Report-Only header

Site Statistics

 * – Method used to determine if a page in a content namespace should be counted as a valid article.
 * – Namespaces which are considered to contain real content, or articles (affects Special:Random and Special:Statistics).
 * – On Special:Unusedimages, consider images used if they are put into a category.
 * – Disable view counter shown in the footer of an article/page as: "This page has been accessed X times"
 * – Sets how often page counters should be updated.
 * – Sampling rate for statsd metrics as an associative array of patterns and rates
 * – Specifies the criteria used to define a 'valid article' when counting.
 * – Sets how often site statistics should be updated.
 * – Minimum number of links required before a page is listed on Special:Wantedpages

Skins

 * – The default skin.
 * – Fallback skin used when the skin defined by $wgDefaultSkin can't be found.
 * – Abstract list of footer icons for skins in place of old copyrightico and poweredbyico code.
 * – Same as, but shouldn't point to an external domain.
 * – Specify the name of a skin that should not be presented in the list of available skins.
 * – More of the same as $wgSkipSkin.
 * – The URL of the skins directory.
 * – Login / create account link behavior when it's possible for anonymous users to create an account.
 * – List of valid skin names.
 * – Search form behavior for Vector skin only.
 * – Watch and unwatch as an icon rather than a link for Vector skin only.

Category

 * – A version indicator for collations that will be stored in cl_collation for all new rows.
 * – On category pages, show thumbnail gallery for images belonging to that category instead of listing them as articles.
 * – Paging limit for items in categories.
 * – Enable DMOZ-like category tree at the bottom of pages
 * – List of messages representing tracking categories

Cache

 * – Directory for caching data in the local filesystem.
 * – Set this to current time to invalidate all prior cached pages.
 * – Overwrite the caching key prefix with custom value.
 * – Helps avoid cache problems due to timer resolution.
 * – Selects which DBA handler to use.
 * – Set this to current time to invalidate cache of extensions loaded using.
 * – Setting this to true will invalidate all cached pages whenever LocalSettings.php is changed.
 * – The cache type for storing language conversion tables.
 * – Replaces.
 * – Advanced object cache configuration.
 * – The expiry time to use for session storage when is enabled, in seconds.
 * – Number of rows to cache in 'querycache' table when miser mode is on.
 * – Cache extracted revision text in MemCached.
 * – If rendered thumbnail files are older than this timestamp, they will be rerendered on demand as if the file didn't already exist.
 * – Whether MediaWiki should send an ETag header.
 * – Use GZip to store cached pages.
 * – Number of rows to update per query.
 * – Store session data in the object cache, rather than on the filesystem.
 * – The cache type for storing session data.
 * – Whether to store sessions in object cache.


 * See: Interwiki for Interwiki cache settings.

Client side caching

 * – Allow client-side caching of pages

File Cache
Settings for Server side file caching.
 * – Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
 * – This will cache static pages for non-logged-in users to reduce database traffic on public sites.

Message Cache

 * – Instead of caching everything, keep track which messages are requested and load only most used messages.
 * – Localisation cache configuration.
 * – Defines format of local cache.
 * – Maximum entry size in the message cache, in bytes.
 * – Message cache setting.
 * – Make a local copy of the message cache, in addition to memcached

Sidebar Cache

 * – If true, cache the sidebar navigation links.
 * – Expiry time for the sidebar cache.

Parser Cache

 * – 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.
 * – Append a configured value to the parser cache and the sitenotice cache keys.
 * – Expiration time (in seconds) of cached parser information
 * – Parser cache setting.

Memcached settings
Settings for configuring the Memcached memory-based object store (if you are using it) has more details.
 * – Will be set to false in Setup.php, if the server isn't working.
 * – Whether to use persistent memcached connections.
 * – Array of Memcached servers.
 * – Server connection timeout in microseconds

Interwiki

 * – Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected from" link.
 * – Enable "scary " (transcluding from another wiki)
 * – Extra interwiki prefixes to treat as language code
 * – List of interwiki prefixes for wikis we'll accept as sources for Special:Import (for sysops).
 * – The interwiki prefix of this wiki.
 * – The interwiki prefixes of this wiki.
 * – Regular expression to restrict URLs which will be displayed as 'redirected from' links.
 * – Expiry time for interwiki transclusion.

Interwiki cache

 * See interwiki cache for more information.


 * – Whether to enable the interwiki cache.
 * – Expiry time for cache of interwiki table.
 * – Used by maintenance scripts to dump interwiki table.
 * – Used by getInterwikiCache to retrieve from interwiki database file.

Access
Wiki locking, blocking/banning, and some other related settings.


 * – Array of allowed values for the "action" parameter for normal pages.
 * – Conditions of automatic promotion of user to specific groups.
 * – Automatically add a usergroup to any user who matches certain conditions.
 * – Number of accounts each IP address may create, 0 to disable. Requires memcached.
 * – Allow the info action, very inefficient at the moment.
 * – Maximum CIDR range when blocking an IP range.
 * – Integer of how many revisions an article must have before the bigdelete right is required to delete it.
 * – Array of disabled article actions, e.g. view, edit, dublincore, delete, etc.
 * – Enable cascade protection.
 * – Similarly (to ) if this function returns true.
 * – Specifies if users should be sent to a password-reset form on login in case of an inadequate password.
 * – The time, in seconds, when an emailed temporary password expires.
 * – Limit password attempts per IP per address.
 * – Configuration for built-in password types.
 * – Default password type to use when hashing user passwords.
 * – Whether to allow password resets identified by various bits of data.
 * – For compatibility with old installations set to false.
 * – Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
 * – Actions that can be restricted.
 * – A regular expression pattern which stops a page from being saved.
 * – Same as $wgSpamRegex except for edit summaries
 * – (since 1.29) Determines whether to set a cookie when a user is autoblocked. Doing so means that a blocked user, even after logging out and moving to a new IP address, will still be blocked. This is false by default.
 * – (since 1.29) IP ranges that should be considered soft-blocked (anon-only, account creation allowed).

See Manual:Preventing access for more methods and settings concerning access. See also Manual:User rights for more information about $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups, etc.


 * See User Access for User Access settings.

Rate limiter

 * – Set to a filename to log rate limiter hits.
 * – Simple rate limiter options to brake edit floods.
 * – Array of IPs which should never trigger the rate limiter.

API

 * – Enable direct access to the data API through api.php.
 * – Allow the API to be used to perform write operations (page edits, rollback, etc.) when an authorised user accesses it.
 * – Allow the API to be accessed by cross domain AJAX from specified domains
 * – Domains that should not be allowed to make AJAX requests, even if they match one of the domains allowed by $wgCrossSiteAJAXdomains
 * – Set the timeout for the API help text cache.
 * – Control framing of api pages.
 * – Log file or URL (TCP or UDP) to log API requests to
 * – The ApiQueryQueryPages module should skip pages that are redundant to true API queries.

Wiki locking

 * – Disallows editing, displaying the string given as the reason.
 * – If this file is found, the database is locked for the reason given in the contents of the file.

Reduction

 * – Maximum number of rows to scan in a DB query in the API.
 * – The maximum size (in bytes) of an API result.
 * – The maximum number of uncached diffs that can be retrieved in one API request.
 * – Replaced by the hook.
 * – Disable all query pages if miser mode is on, not just some.
 * – Array of special pages that should not be updated.
 * – If you've disabled search semi-permanently, this also disables updates to the table.
 * – Disables full text search (including title search).
 * – Display user edit counts in various prominent places.
 * – Fix double redirects after a page move.
 * – Array of invalid page redirect targets.
 * – Maximum number of pages to move at once when moving subpages with a page.
 * – If true, disable database-intensive features
 * – If set to true, exposes host names through API and HTML comments.
 * – Maximum number to count when a rollback link is shown.
 * – Do /  for link updates instead of incremental.

Uploads
Uploads have to be specially set up to be secure.


 * – Allow preview licences during upload via AJAX.
 * – Allow uploads from URLs, not just local files.
 * – Domains that are allowed to be used in upload from URLs.
 * – Allow Java archive uploads.
 * – This is a flag to determine whether or not to check file extensions on upload.
 * – Proxy to use for copy upload requests.
 * – Allow asynchronous copy uploads.
 * – Whether to disable the upload system's checks for HTML/JavaScript.
 * – Enables uploads and shows link to upload page
 * – File backend structure configuration.
 * – Files with these extensions will never be allowed as uploads.
 * – This is the list of preferred extensions for uploading files. Uploading files with extensions not in this list will trigger a warning.
 * – Indicates where deleted images are to be stored.
 * – If true, use the /a/ab/foo.png directory structure.
 * – Display reason access to uploaded file was denied to users(img_auth only)
 * – Test to see if img_auth set up correctly (img_auth only)
 * – A single repository structure for the local repository.
 * – Array of configuration arrays for each lock manager.
 * – Minimum upload chunk size, in bytes.
 * – If this is turned off, users may override the warning for files not covered by.
 * – What directory to place deleted uploads in
 * – To disable image delete/restore temporarily.
 * – Point the upload link for missing files to an external URL.
 * – Point the upload navigation link to an external URL.
 * – The URL of the upload directory.
 * – Warn if uploaded files are larger than this.
 * – The maximum age of temporary (incomplete) uploaded files.
 * – Maximum size for file uploads.
 * – Indicates that deleted images are to be stored for later undeletion.

Shared uploads
These settings are kept for backward compatibility, see for the new setting, or  if you only need read access to images on Commons.
 * – Cache shared metadata in memcached.
 * – An array of repository structure for foreign repositories.
 * – Array of foreign file repository names (set in $wgForeignFileRepos) that are allowable upload targets for the upload dialog.
 * – Whether to hash the shared upload directory.
 * – Base URL for a repository wiki.
 * – DB name with metadata about shared directory.
 * – DB prefix for shared image uploads.
 * – Path on the file system where shared uploads can be found.
 * – Full path on the web server where shared uploads can be found.
 * – Whether to look in the shared repository if no file of the given name is found in the local repository (for [[Image:..|Image:..]], [[Media:..|Media:..]] links).
 * – set this "true" if you want to integrate media-descriptions, stored in the commonswiki

MIME types

 * – Media type (MIME type) to use for JavaScript scripts.
 * – Switch for loading the FileInfo extension by PECL at runtime.
 * – Sets an external mime detector program.
 * – Sets the mime type info file to use by.
 * – Sets the mime type definition file to use by.
 * – Switch for trivial mime detection.
 * This is not a configuration setting, but a global state variable. It should be used solely by thumb.php!


 * – Determines if the mime type of uploaded files should be checked.
 * – Determines whether extra checks for Internet Explorer type detection should be applied.
 * – Files with these mime types will never be allowed as uploads if $wgVerifyMimeType is enabled.
 * – An array of XML mime types we can detect via MimeMagic.

See also: Manual:Mime type detection

Images

 * – Allow to move images
 * – Use another resizing converter, e.g. GraphicMagick.
 * – Whether to enable image auto-rotation based on Exif information
 * – Path to the exiv2 executable.
 * – Default parameters for the &lt;gallery> tag.
 * – If true, inline scaled images will still produce &lt;img&gt; tags ready for output instead of showing an error message.
 * – Limit images on image description pages to a user-selectable limit.
 * – Path to the jpegtran utility.
 * – Don't thumbnail an image if it will use too much working memory.
 * – Plugins for media file type handling.
 * parameters for upload path
 * – List of trusted media-types and mime types.

See also: Manual:Configuring file uploads

DjVu

 * – Path of the djvudump executable.
 * – File extension for the DJVU post processor output.
 * – Path of the DJVU post processor.
 * – Path of the ddjvu DJVU renderer.
 * – Path of the djvutoxml executable.
 * – Path of the djvutxt DJVU text extraction utility.

EXIF

 * – Determines whether EXIF metadata is to be displayed. Set to false for not showing data.
 * – Whether to automatically update the img_metadata field if the metadata field is outdated but compatible with the current version.

ImageMagick
Set $wgUseImageMagick to true to use ImageMagick instead of the builtin functions.
 * – The convert command shipped with ImageMagick.
 * – The identify command shipped with ImageMagick
 * – Temporary directory used for ImageMagick.
 * – Sharpening parameter to ImageMagick.
 * – Reduction in linear dimensions below which sharpening will be enabled.
 * – Resizing can be done using PHP's internal image libraries or using ImageMagick. The latter supports more file formats than PHP, which only supports PNG, GIF, JPG, XBM and WBMP.
 * – When this variable is true and JPGs use the sRGB ICC profile, swaps it for the more lightweight (and free) TinyRGB profile when generating thumbnails.

SVG

 * – If true, &lt;title&gt; will be allowed in files with an "image/svg" MIME type.
 * – A key from $wgSVGConverters to use as converter.
 * – If not in the executable PATH, specify.
 * – Scalable Vector Graphics (SVG) may be uploaded as images.
 * – Don't scale a SVG larger than this unless its native size is larger.
 * – Don't read SVG metadata beyond this point.

Thumbnail settings

 * – Set $wgUseImageResize to true if you want to enable dynamic server side image resizing (Thumbnails)
 * – Allow thumbnail rendering on page view.
 * – Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnail.
 * – Same as $wgThumbnailScriptPath, but for shared uploads.
 * – Whether to show thumbnails for old images on the image description page.
 * – Array of extension and mime type to transform TIFF images to.
 * – Give a path here to use for thumbnail generation on client request, instead of generating them on render and outputting a static URL.
 * – Adjust width of upright images when parameter 'upright' is used.
 * – List of image sizes users can pick from.
 * – Use responsive images for high-density displays.
 * – List of intermediary thumbnail sizes to use to speed up thumbnail rendering.
 * – Minimal distance between intermediary thumbnail size and target thumbnail size.
 * – Sets YUV chroma subsampling mode for JPEG thumbnails

Antivirus

 * – Internal name of virus scanner.
 * – Determines if a failed virus scan will cause the file to be rejected.
 * – Configuration for different virus scanners.

Parser

 * – Allow the magic word  to override  the title of a page.
 * – Whether to allow inline image pointing to other websites.
 * – If is false, you can specify exceptions here.
 * – Allow slow parser functions like "pagesinnamespace".
 * – Allow tag to be used in wikitext.
 * – If is false, this will enable an on-wiki image whitelist at.
 * – If true, removes (substitutes) templates in " ~ " signatures.
 * – Should we allow a broader set of characters in id attributes, per HTML5?
 * – Maximum number of calls per parse to expensive parser functions such as PAGESINCATEGORY.
 * – Set a default target for external links.
 * – Used for parser function.
 * – LinkHolderArray batch size.
 * – A complexity limit on template expansion: the maximum number of nodes generated by
 * – Stack depth limit for expansion with the preprocessor.
 * – A complexity limit on template expansion: the maximum number of nodes visited by
 * – Maximum recursion depth for templates within templates.
 * – Maximum indent level of the.
 * – Parser configuration.
 * – Parser test suite files to be run by parserTests.php.
 * – Specifies target CodeReview installation to send test result data from "parserTests.php --upload"
 * – Preprocessor caching threshold.
 * – Whether to register external links pointing to the same server.
 * – Restrict DISPLAYTITLE to titles that normalize to the same canonical DB key.

HTML

 * – Allow raw, unchecked HTML in ... sections.

Tidy
Tidy is an open source tool that cleans up broken HTML. You can use this to ensure that broken HTML in articles doesn't affect the layout of your wiki. While Tidy itself is going to be replaced, the configuration settings can still be used for the replacements.


 * – Configuration of the HTML postprocessing tool to use for fixing invalid HTML code.
 * – Put tidy warnings in HTML comments, only works for internal tidy.
 * – Should be set to the path of the tidy binary.
 * – Should be set to the path of the tidy configuration file.
 * - Controls the use of the PECL extension to use an inprocess tidy library instead of spawning a separate program.
 * – Options passed to tidy on the command line.
 * – Use tidy to make sure HTML output is sane.
 * – Validate the overall output using tidy and refuse to display the page if it's not valid.
 * – Validate the overall output using tidy and refuse to display the page if it's not valid.


 * See also: Manual:Build Tidy from source.

Special pages

 * – List of log types that can be filtered by action types
 * – Allow special page inclusions such as.
 * – Whether to allow exporting the entire wiki into a single file.
 * – Enable the full-history option on Special:Export.
 * – Whether to allow to list all contributors while exporting a page.
 * – Whether to allow the "export all pages in namespace" option
 * – Special:Export requests for history of pages with more revisions than this will be rejected.
 * – Maximum value of the "pagelink-depth" parameter in Special:Export.
 * – Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
 * – Show/hide links on Special:Log will be shown for these log types
 * – Optional default target namespace for interwiki imports.
 * – Lists the message key string for formatting individual events of each type and action when listed in the logs.
 * – Same as, but values are functions callbacks.
 * – Lists the message key string for descriptive text to be shown at the op of each log type.
 * – Lists the message key string for each log type.
 * – Restricts log access to those who have a certain right.
 * – List of log types.
 * – Default number of entries to show on query pages.
 * – Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
 * – Redirect a user to a specific page when they log in.
 * – Whether to let user authenticate using https when they come from http.
 * – Whether or not to sort special pages in Special:Specialpages.
 * – List of special pages, followed by what subtitle they should go under at Special:SpecialPages
 * – Whether to show the contents of $wgHooks in Special:Version.
 * – Use new pages patrolling to check for vandalism.

Recent changes
See also Help:Recent changes and


 * – Allow to filter the recentchanges by a category or one of its sub(subsubsub...)categories
 * – Whether to put user rights log entries for autopromotion in recent changes
 * – Log IP addresses in the recentchanges table.
 * – Highlight character count difference lower than this.
 * – Filter $wgRCLinkDays to avoid showing links for values higher than $wgRCMaxAge.
 * – Changes limit.
 * – Days limit.
 * – Recentchanges items are periodically purged; entries older than this many seconds will go.
 * – Show the amount of changed characters in recent changes.
 * – Show watching users in recent changes, watchlist and page history views.
 * – Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
 * – Show "Updated (since my last visit)" marker in RC view, watchlist and history.
 * – Polling rate, in seconds, used by the 'live update' feature of Special:RecentChanges and Special:Watchlist (if RCFilters is enabled)
 * – Use RC Patrolling to check for vandalism.
 * – Page watchers inactive for more than this many seconds are considered inactive.
 * – If active watchers (per above) are this number or less, do not disclose it.

UDP updates
Send Recent changes updates via UDP. See: Manual:Simple IRC RC Bot


 * – Feed engine configuration
 * – Feed formatting and destination configuration
 * – Address used.
 * – Whether to prefixes the page name used in the RC feed.
 * – Omit bot.
 * – Port used.
 * – Prefix used.

Users

 * – The number of days a person must be idle before they're considered inactive
 * – Number of seconds an account is required to age before it's given the implicit 'autoconfirm' group membership.
 * – Number of edits an account requires before it's given the implicit 'autoconfirm' group membership.
 * – Whether to allow user-preferences implemented in CSS
 * – Settings added to this array will override the default settings for the user preferences used by anonymous visitors and newly created accounts.
 * – Disable talk pages for anonymous users (IPs).
 * – Disable certain user preferences.
 * – Algorithm for HMAC-based key derivation function (fast, cryptographically secure random numbers).
 * – Secret for HMAC-based key derivation function (fast, cryptographically secure random numbers).
 * – Characters to prevent during new account creations.
 * – Maximum number of bytes in username.
 * – Maximum customized signature length.
 * – Specifies the minimal length of a user password.
 * – Whether to maintain a log of newusers at Special:Log/newusers.
 * – Number of days after which user passwords expire.
 * – Grace period for password expiry.
 * – Specifies various settings related to password strength and security.
 * – List of account names that cannot exist.
 * – Show the IP in the user bar for anonymous users by default.
 * – Character used as a delimiter when testing for interwiki userrights.

Authentication

 * – Session provider configuration.
 * – Register authentication providers to use with AuthManager.
 * – Manual override for authentication provider configuration.
 * – Default central id lookup implementation to use.
 * – Register central ID lookup providers.
 * – When changed, all existing sessions are invalidated.
 * – Time frame for re-authentication.
 * – Whether to allow security-sensitive operations when reauthentication is not possible.
 * – Use some particular type of external authentication.
 * – Configuration for the external authentication.
 * – Policy to create new accounts with external authentication.
 * – Policies for how each preference is allowed to be changed, in the presence of external authentication.

User Access

 * – Controls who can add specific groups using Special:Userrights.
 * – Number of seconds before autoblock entries expire.
 * – Allow blocked users to edit their talk pages.
 * – Disallow blocked users to login.
 * – Require users to confirm email address before they can edit, true to enable.
 * – Used to define grants and assign permissions to them.
 * – Used to define grant groups and assign grants to them.
 * – Use this to set access rights for groups and users. See also
 * – allow users to add themselves from specified groups via Special:Userrights
 * – allow users to remove themselves from specified groups via Special:Userrights
 * – Array of groups that aren't shown on e.g. Special:Listusers.
 * – Controls who can remove specific groups using Special:Userrights.
 * – Rights revoked from users in each group.
 * – Pages anonymous user may see.

User agent

 * – Browser blacklist for Unicode non compliant browsers.

Cookies

 * – A list of cookies that vary the cache.
 * – Set to set an explicit domain on the login cookies.
 * – Number of seconds before HTTP cookies expire.
 * – Set authentication cookies to httpOnly to prevent stealing by JS, in browsers that support this feature.
 * – Explicitly declared "path" for cookies at the cookie domain.
 * – Custom cookie prefix.
 * – Whether cookies are secured.
 * – Disables session cookies.
 * – Duration in seconds to use for "Keep me logged in" sessions.
 * – User agent blacklist for HttpOnly mode.
 * – Used to set php's session.save_handler.
 * – Override to customise the session name.

Feed

 * – Toggle syndication feeds on and off.
 * – Which feed types should be provided by default.
 * – 'Minimum' timeout for cached Recentchanges feed, in seconds.
 * – Available feeds objects.
 * – When generating Recentchanges RSS/Atom feed, diffs will not be generated for pages larger than this size.
 * – Set maximum number of results to return in syndication feeds (RSS, Atom) for eg Recentchanges, Newpages.
 * – Override the site's default rss/atom feed that appears on every page.

Copyright

 * – Set this to some HTML to override the copyrights icon with an arbitrary logo.
 * – Includes licensing information derived from Creative Commons licenses.
 * – Use RDF metadata
 * – Array of metadata terms.
 * – Set this to the number of authors that you want to be credited below an article text.
 * – Copyright icon
 * – Page describing the site license
 * – Text describing the site license
 * – URL describing the site license
 * – If there are more than authors, show $wgMaxCredits of them.
 * – Set this to true if you want detailed copyright information forms on Upload.

Search

 * – For Vector skin only. Set true to use one icon search button. Set false to use separate Go & Search buttons.
 * – Set to true to have nicer highlighted text in search results.
 * – Enable suggestions while typing in search boxes.
 * – Go button goes straight to the edit screen if the article doesn't exist.
 * – Template for internal MediaWiki suggestion engine.
 * – Enable OpenSearch suggestions requested by MediaWiki.
 * – Template for OpenSearch suggestions.
 * – Whether searching for an IP address will be redirected to that IP's contributions page.
 * – Set this to a URL to forward search requests to some external location.
 * – If set to true the 'searcheverything' preference will be effective only for logged-in users.
 * – Regexp to match word boundaries.
 * – Expiry time for search suggestion responses.
 * – Whether have the default search engine count total search matches to present in the Special:Search UI.
 * – Sidebar's search form behavior

HTTP client

 * - Whether to respect/honour the request ID provided by the incoming request via the `X-Request-Id` header.
 * – Timeout for asynchronous http request.
 * - Timeout for connections done internally (in seconds).
 * – Proxy to use for CURL requests.
 * – Timeout for HTTP requests done via CURL.
 * - Local virtual hosts.
 * - Local virtual hosts.

Jobs

 * – Speed of the background task job queue (e.g. update of links).
 * – When $wgJobRunRate > 0, try to run jobs asynchronously, spawning a new process to handle the job execution, instead of blocking the request until the job execution finishes.
 * – Maps jobs to their handling classes.
 * – Jobs that must be explicitly requested, i.e. aren't run by job runners unless special flags are set.
 * – Number of rows to update per job.
 * – Limits how often jobs of a given type can run.
 * – Limits the maximum number of backlinks that can be invalidated when a page is editted.
 * – Configuration for job storage.
 * – Which aggregator to use for tracking which queues have jobs.

Proxies

 * – Automatic open proxy test on edit.
 * – Use http.dnsbl.sorbs.net to check for open proxies.
 * – URL to the Sorbs blacklist.
 * – Whether to use DNS blacklists in $wgDnsBlacklistUrls to check for open proxies
 * – List of DNS blacklists to use, if $wgEnableDnsBlacklist is true
 * – Replaced by.
 * – Big list of banned IP addresses.
 * – expiration time for cached proxy IPs.
 * – Ports we want to scan for a proxy.
 * – Script used to scan for proxies.
 * – Proxy whitelist, list of addresses that are assumed to be non-proxy despite what the other methods might say
 * – This should always be customised in LocalSettings.php
 * – Whether forwarded private IPs should be accepted.

Squid
These settings configure MediaWiki when using a caching HTTP proxy server. They apply to caching using Varnish as well as Squid.
 * – Internal server name as known to Squid, if different.
 * – Maximum number of titles to purge in any one client operation
 * – Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
 * – Cache timeout for the HTTP proxy.
 * – A list of proxy servers (ips if possible) to purge on changes.
 * – Same as $wgSquidServers, except they aren't purged.
 * – If you run Squid3 with ESI support, enable this.
 * – Enable/disable support for a caching HTTP proxy.
 * – Send X-Vary-Options header for better caching (requires patched Squid).
 * – Whether to add X-Forwarded-Proto to the Vary and X-Vary-Options headers for API requests and RSS/Atom feeds.

HTCP multicast purging

 * – Address to use for HTCP multicast purging
 * – TTL for HTCP multicast purging
 * – Port for HTCP multicast purging
 * – Routing configuration for HTCP multicast purging

Extensions

 * – API list module extensions.
 * – API meta module extensions.
 * – API module extensions.
 * – API prop module extensions.
 * – Authentication plugin. See.
 * – Array mapping class names to filenames, for autoloading.
 * – A list of available rights, in addition to the ones defined by the core.
 * – Disable internal search so that extensions can implement it.
 * – Hooks that are used for outputting exceptions.
 * – Global list of extension credits.
 * – Extension Functions
 * – Extension messages files.
 * – Filesystem extensions directory.
 * – Array of files with list(s) of extension entry points to be used in.
 * – External stores allow including content from non database sources following URL links.
 * – Global list of hooks.
 * – Page property link table invalidation lists.
 * – Parser output hooks.
 * – Additional functions to be performed with updateSpecialPages.php.
 * – A list of custom special pages.

Maintenance Scripts setting

 * – Allow database schema updates to be executed with maintenance/update.php.
 * – For colorized maintenance script output.
 * – Indicates whether MediaWiki is running in command-line mode. Should never be set manually!
 * – The password for $wgDBadminuser.
 * – Database username used by the maintenance scripts.
 * – The password for $wgDBtestuser.
 * – Database username that has permission to create and drop the test databases only.
 * – The build directory for HipHop compilation.
 * – The HipHop build type.
 * – Number of parallel processes to use during HipHop compilation.
 * – Array for extensions to register their maintenance scripts with the system.
 * – Enable selenium tests
 * – Configuration for selenium test suites.
 * – Selenium configuration file
 * – Used for enabling the web upgrade script

Miscellaneous settings

 * – Whether edits should be prepared via AJAX as users type edit summaries.
 * – Whether to always convert certain Unicode sequences to modern ones regardless of the content language.
 * – Anti-lock flags.
 * – A list of files that should be compiled into a HipHop build, in addition to those listed in $wgAutoloadClasses.
 * – Map GIT revision numbers and repository URLs to their respective gitweb URLs in Special:Version
 * – Use external C++ diff engine (module wikidiff from the extensions package).
 * – Set this to true to clean up archaic Unicode sequences in Arabic text.
 * – Set this to true to clean up archaic Unicode sequences in Malayalam text (Default true if  = "ml").
 * – Option to speed up the conversion step for large sites when migrating the schema from 1.4 to 1.5.
 * – Maximum file size created by shell processes under Linux, in KB.
 * – Maximum amount of virtual memory available to shell processes under Linux, in KB.
 * – Maximum CPU time in seconds for shell processes under linux.
 * – The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit if it's below this amount.
 * – Whether to maintain a log of new page creations at Special:Log/create.
 * – Controls if MediaWiki should report back data about its installation from time to time to aid developers.
 * – Configuration for processing pool control.
 * – Locale for.
 * – Whether MediaWiki should make automatic edit summaries.
 * – Allow filtering by change tag in recentchanges, history, etc.
 * – Whether to use trackbacks.