Manual:Configuration settings/zh-hant

From MediaWiki.org
Jump to: navigation, search

Contents

以下的設定都是跟據這個DefaultSettings.php檔案 所衍生出來的。

請不要編輯defaultsettings.php,請複製下面的設定並適當的修改放到LocalSettings.php的檔案中。

按字母順序排列 | 按照功能順序排列 | Category:MediaWiki configuration settings

[edit] 一般設定

[edit] 路徑

[edit] E-mail 設定

  • $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 - 系統管理員的電子郵件
  • $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.
  • $wgSMTP - For using a direct (authenticated) SMTP server connection.
  • $wgUserEmailUseReplyTo - Should the sending user's email be in a Reply-To header instead of From.

[edit] E-mail 通知設定

  • $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通知該用戶。
  • $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.
  • $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)
  • $wgShowUpdatedMarker - Show "Updated (since my last visit)" marker in RC view, watchlist and history.
  • $wgUsersNotifedOnAllChanges - Array of usernames who will be sent a notification email for every change which occurs on a wiki

[edit] 資料庫設定

[edit] Shared DB settings

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

[edit] Sysop SQL queries

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

Warning Warning: 如果設定不恰當,可能會造成錯誤。

[edit] Localization

[edit] Debug/logging

[edit] Profiling

[edit] Site customization

[edit] Namespaces

[edit] Per-page settings

See also Manual:Page customizations.

[edit] Skins

[edit] Category

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

Wiki locking, user access options, 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.

[edit] Rate limiter

[edit] Proxies

[edit] Squid

[edit] Cookies

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

[edit] MIME types

See also Manual:Mime type detection

[edit] Images

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

  • $wgUseImageResize (deprecated) - 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
  • $wgThumbLimits - List of image sizes users can pick from
  • $wgTrustedMediaFormats - List of trusted media-types and mime types.
  • $wgSVGMaxSize - Don't scale a SVG larger than this unless its native size is larger.

See also Manual:Configuring file uploads

[edit] Antivirus

[edit] Parser

[edit] HTML

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

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

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

  • $wgAlwaysUseTidy
  • $wgDebugTidy - Put tidy warnings in HTML comments, only works for internal 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.
  • $wgValidateAllHtml - Validate the overall output using tidy and refuse to display the page if it's not valid.

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] User agent

[edit] Feed

  • $wgFeed - Toggle syndication feeds on and off.
  • $wgFeedCacheTimeout - 'Minimum' timeout for cached Recentchanges feed, in seconds.
  • $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.

[edit] Copyright

[edit] Jobs

[edit] Extensions

[edit] HTCP multicast purging

[edit] Miscellaneous settings

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