December 25, 2024, Wednesday, 359

Manual:Configuration Settings

From NeoWiki

(Redirected from Configuration Settings)
Jump to: navigation, search

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.

General Settings

Paths

Shared uploads

Email settings

  • $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.
  • $wgPasswordSender - Password reminder email address.
  • $wgSMTP - For using a direct (authenticated) SMTP server connection.

Email notification (Enotif) settings

  • $wgEnotifFromEditor - Email notifications appear to be coming from the page editor (not from Wiki server)
  • $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)
  • $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)

Database settings

Shared DB settings

  • $wgSharedDB - The name of the shared database (currently for shared user table only).

Sysop SQL queries

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

18px Warning: Dangerous if not configured properly.

Memcached settings

See docs/memcached.doc.

Localization

Debug/logging

Profiling

Site customization

These are site-wide appearance settings.

Namespaces

Namespaces
-2 Media:
-1 Special:
0  :
1 Talk:
2 User:
3 User talk:
4 NeoWiki:
5 NeoWiki talk:
6 File:
7 File talk:
8 MediaWiki:
9 MediaWiki talk:
10 Template:
11 Template talk:
12 Help:
13 Help talk:
14 Category:
15 Category talk:

Page customizations

These are pages not existing in vanilla MediaWiki which interface definition files (in any language) expect to exist though. If you want to avoid broken links in the interface you may want to make sure that either they contain some helpful content or redirect/customize them to appropriate pages (either via redirects at the pages or via editing the pages defintions):

On your local System messages special page you can search for interface strings using these page definitions.

Skins

Category

Cache

Persistent Link Cache

Obsolete

Interwiki

Access

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

Rate limiter

Proxies

Squid

Cookies

Reduction

Uploads

Uploads have to be specially set up to be secure.

MIME types

Antivirus

Parser

HTML

  • $wgRawHtml - Allow raw, unchecked HTML in <html>...</html> sections.
  • $wgUserHtml - Allow limited user-specified HTML in wiki pages?

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

  • $wgTidyBin - Should be set to the path of the tidy binary.
  • $wgTidyConf - Should be set to the path of the tidy configuration file.
  • $wgTidyInternal - Controls the use of the PECL extension to use an inprocess tidy library instead of spawning a separate program.
  • $wgTidyOpts - Options passed to tidy on the command line.
  • $wgUseTidy - Use tidy to make sure HTML output is sane.

Images

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

  • $wgUseImageResize - Set $wgUseImageResize to true if you want to enable dynamic server side image resizing (Thumbnails)
  • $wgShowEXIF - Determines whether EXIF metadata is to be displayed. Set to false for not showing data.
  • parameters for upload path

Recent changes

See Special:Recentchanges

UDP updates

Send RC updates via UDP. See: A Simple IRC RC bot

Copyright

Extensions

HTCP multicast purging

Miscellaneous settings