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

General Settings

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.

Global Objects

Email settings

See Also User Access: $wgEmailConfirmToEdit

Email notification (Enotif) settings

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

Database settings

LoadBalancer settings

MySQL specific

PostgreSQL specific

SQLite specific

Shared DB settings

Sysop SQL queries

These settings are for sysops to make queries through Extension:Asksql.

Warning Warning: Dangerous if not configured properly.

Compressed Storage Support

Localization

Timezone settings

Chinese-specific

Hindi/Arabic-specific

Debug/logging

Profiling

Site customization

Ajax

CSS/Js

Namespaces

Output

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

Robot policies

Site Statistics

Skins

Category

Cache

Main article: Manual:Cache

See Interwiki for Interwiki cache settings.

Client side caching

File Cache

Setting for Server side file caching

Message Cache

Sidebar Cache

Parser Cache

Persistent Link Cache

Memcached settings

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

Interwiki

Interwiki cache

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.

Rate limiter

API

Wiki locking

Reduction

Uploads

Uploads have to be specially set up to be secure.

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.

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

Images

See also Manual:Configuring file uploads

DjVu

EXIF

ImageMagick

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

SVG

Thumbnail settings

Antivirus

Parser

HTML

TeX

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 math/README for more information.

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.

Special pages

Recent changes

See Special:Recentchanges

UDP updates

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

Users

Authentication

User Access

User agent

Cookies

Feed

Copyright

Search

Jobs

Proxies

Squid

HTCP multicast purging

Extensions

Maintenance Scripts setting

Miscellaneous settings

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