Manual:Configuration settings

From MediaWiki.org
Jump to: navigation, search

Contents

This is an index of all supported configuration options based on the DefaultSettings.php file.

Never edit DefaultSettings.php; copy appropriate lines to LocalSettings.php instead and amend them as appropriate.

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

[edit] General Settings

[edit] Paths

See also TeX for LaTeX specific path settings.
See also Uploads for file/image upload path settings.
See also Skins for skins path settings.

[edit] Global Objects

[edit] Email settings

See Also User Access: $wgEmailConfirmToEdit


[edit] Email notification (Enotif) settings

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

[edit] Database settings

[edit] LoadBalancer settings

[edit] MySQL specific

[edit] PostgreSQL specific

[edit] SQLite specific

[edit] Shared DB settings

[edit] Compressed Storage Support

[edit] Localization

[edit] Timezone settings

[edit] Chinese-specific

[edit] Hindi/Arabic-specific

[edit] Debug/logging

[edit] Profiling

[edit] Site customization

[edit] Ajax

[edit] CSS/Js

[edit] Resource loader

[edit] Namespaces

[edit] Output

The following settings are only used if $wgHtml5 is set to "false":

[edit] Robot policies

[edit] Site Statistics

[edit] Skins

[edit] Category

[edit] Cache

Main article: Manual:Cache

See Interwiki for Interwiki cache settings.

[edit] Client side caching

[edit] File Cache

Setting for Server side file caching

[edit] Message Cache

[edit] Sidebar Cache

[edit] Parser Cache

[edit] Persistent Link Cache

[edit] Memcached settings

Settings for configuring the Memcached memory-based object store (if you are using it) docs/memcached.txt has more details.

[edit] Interwiki

[edit] Interwiki cache

[edit] Access

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

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

See User Access for User Access settings.

[edit] Rate limiter

[edit] API

[edit] Wiki locking

[edit] Reduction

[edit] Uploads

Uploads have to be specially set up to be secure.

[edit] Shared uploads

These settings are kept for backward compatibility, see $wgForeignFileRepos for the new setting, or $wgUseInstantCommons if you only need read access to images on Commons.

[edit] MIME types

Warning Warning: This is not a configuration setting, but a global state variable. It should be used solely by thumb.php!

See also Manual:Mime type detection

[edit] Images

See also Manual:Configuring file uploads

[edit] DjVu

[edit] EXIF

[edit] ImageMagick

Set $wgUseImageMagick to true to use ImageMagick instead of the builtin functions.

[edit] SVG

[edit] Thumbnail settings

[edit] Antivirus

[edit] Parser

[edit] HTML

[edit] TeX

In MediaWiki 1.18 and later, these settings are used for the Math extension.

To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory of the MediaWiki package and have latex, dvips, gs (ghostscript), and convert (ImageMagick) installed and available in the PATH. Please see Manual:Enable TeX, Manual:Math and the math/README in the MediaWiki source code.

[edit] 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.

See also Manual:Build Tidy from source.

[edit] Special pages

[edit] Recent changes

See Special:Recentchanges

[edit] UDP updates

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

[edit] Users

[edit] Authentication

[edit] User Access

[edit] User agent

[edit] Cookies

[edit] Feed

[edit] Copyright

[edit] Search

[edit] Jobs

[edit] Proxies

[edit] Squid

[edit] HTCP multicast purging

[edit] Extensions

[edit] Maintenance Scripts setting

[edit] Miscellaneous settings

Active (deprecated)
Language: English  • Español • Français • Bahasa Indonesia • 日本語 • 한국어 • Português do Brasil • Русский • 中文 • ‪中文(繁體)‬
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox