Manual:Configuration settings/zh

这是所有支持的配置设置索引，基于 文件.

请不要编辑 文件；而应该把您需要的参数复制到 中并替换掉原有的参数.

如果您在此找不到配置设置的话，请检查其是否在 中定义. 变量应在此文档中记载.


 * 按字母排序列表 | 按功能排序列表 | 分类:MediaWiki配置设置

一般设置

 * ——服务器的正规URL，用于IRC订阅、电子邮件通知等.
 * ——服务器的基础URL.
 * ——服务器的名称，不包含协议.
 * ——网站名称.
 * ——MediaWiki版本号. 您不应该更改它！

路径

 * - 安装目录的完整路径.
 * - Paths for various user actions. Used to make URLs prettier.
 * ——可选URL至图标，以在苹果掌上设备上添加至主屏幕书签使用.
 * ——用于创建条目链接的基础URL.
 * ——工厂功能的注册，以创建配置对象.
 * ——至GNU差异效用的路径.
 * ——至GNU差异3效用的路径.
 * - Default  permission value for newly created directories.
 * ——网站收藏夹图标的URL.
 * ——至git二进制的路径.
 * - Directory where GitInfo will look for pre-computed cache files.
 * ——至load.php的URL.
 * ——网站标志的URL.
 * ——用于网站标志的高清版本的URL.
 * - Executable name of PHP cli client (php/php5).
 * - redirect.php的URL.
 * - index.php的URL.
 * - Extension to append to script names by default.
 * - 基础URL路径.
 * - 不要设置 . 请改用.
 * - 临时目录的路径.
 * - 是否使用“漂亮的”URL.
 * - Used for links when having language's variants.

See also Uploads for file/image upload path settings.

参见皮肤一节获取皮肤路径设置.

全局对象

 * - Array mapping class names to filenames, for autoloading.
 * - Create a site configuration object. Not used for much in a default install.
 * - REST服务配置.

电子邮件设置
参见用户访问：''


 * - Additional email parameters, will be passed as the last argument to mail PHP function call.
 * - Set to true to enable HTML emails.
 * - Set to true to enable email authentication (confirmation) for this wiki. Except for password reminder emails, email functions only work for authenticated email addresses.
 * - 网站管理员电子邮件地址
 * - Set to true to enable basic email features.
 * - Set to true to enable user-to-user email.
 * - Reply-to address for automatically generated emails.
 * - Minimum time, in hours, which must elapse between password reminder emails.
 * - 密码提示电子邮件地址.
 * - 密码提示（）名称.
 * - Whether the user must enter their password to change their email address
 * - For using a direct (authenticated) SMTP server connection.
 * - Allow sysops to ban users from accessing Special:Emailuser.
 * - The time, in seconds, after which an email address confirmation token expires.
 * - Set to true to put the sending user's email in a Reply-To header instead of From.

电子邮件通知（Enotif）设置

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


 * - Whether to make email notifications appear to come from the user who makes the edit
 * - Send a generic mail instead of a personalised mail for each user.
 * - Maximum number of users to mail at once when using impersonal mail.
 * - Set to true to allow sending email notification also for edits marked as minor edits
 * - Set to true to insert the page editor's email address into the email notifications Reply-To address
 * ——通过发送邮件.
 * ——在电子邮件的“发件人”字段中，使用真实姓名而不是用户名.
 * - Set to true to allow the email notification for the own user_talk page
 * - Set to true to allow the email notification for watched pages
 * ——总体“使用Enotif”设置
 * - Array of usernames who will be sent a notification email for every change which occurs on a wiki.

数据库设置

 * ——将所有数据库连接都秘密指向本地主机.
 * ——是否使用由ContentHandler设施引进的数据库字段
 * - Average time between SHOW STATUS queries in overload conditions.
 * - Whether to use compression in DB connection.
 * - 记载数据库错误的文件.
 * - 数据库名称.
 * - 的密码.
 * - 数据库端口. 只由PostgreSQL和MSSQL使用. 
 * - 数据表名称前缀.
 * - 数据库服务器的主机名或IP地址.
 * - 在数据库连接时是否使用SSL.
 * - 数据库类型.
 * - 数据库用户名.
 * - 此网站上的其他wiki，可从单一开发者账户管理.
 * - Maximum time a user-generated transaction can spend in writes.
 * - 为change_tags指数使用旧名称.
 * - 用于wiki的搜索类型.
 * - SQL模式

负载均衡设置

 * - 数据库超时.
 * - Settings for the database load balancer (database servers and load ratios).
 * - 新版本的默认外部存储.
 * - 负载均衡工厂配置.
 * - How long to wait for a slave to catch up to the master.
 * - If lag is higher than this value, show a more obvious warning than.
 * - If lag is higher than this value, show a warning in some special pages (like watchlist).

MSSQL相关

 * - Whether to use Integrated Windows Authentication rather than the standard / combo.

MySQL相关

 * - Set to true to set MySQL connection into UTF-8 encoding (experimental)
 * - MySQL table options to use during installation or update.
 * - Set to true if using InnoDB tables.
 * - An array of external MySQL servers.

Oracle相关

 * - Enables persistent connection with DRCP on Oracle.

PostgreSQL相关

 * - Schema that Postgres stores the MediaWiki tables in.

SQLite相关

 * - To override default SQLite data directory.

共享数据库设置

 * - 共享数据库的名称.
 * - 用于共享数据库的前缀.
 * - 在分享数据库中使用的数据表.
 * - The table schema for the shared database.

压缩存储支持

 * - 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).

本地化

 * - 实验性更佳.
 * - 为语言变体转换禁用变体.
 * - 是否启用语言变体转换.
 * - 是否为链接启用语言变体转换.
 * - 不对应实际语言的语言代码列表.
 * - 未明确由输出编码转换的字符
 * - Array of UI messages that should be treated as content messages
 * - Treat language links as magic connectors, not inline links.
 * - 网站语言代码. 应为./languages/messages/Messages(.*).php文件之一.
 * - 当加载未通过utf-8标记的旧版本时，将其设置为例如“ISO-8859-1”来处理字符集转换.
 * - 在用户登录和注册的表单中显示一个语言选择条.
 * - When a message in cache expires (in seconds).
 * - 使用MediaWiki:名字空间的翻译.
 * - 启用以允许在页面文本中重写日期. 对大多数语言而言格式不会正确. 
 * - List of mappings from one language code to another, to override built-in mappings

时区设置

 * - Fake out the timezone that the server thinks it's in.
 * - Add a distance to the timezone of the server.
 * - 在错误日志中使用的时区.

语言特定

 * 英语
 * - Enable for English module to print dates as eg 'May 12' instead of '12 May'.


 * 阿拉伯语/印地语
 * - For Hindi and Arabic use local numerals instead of Western style (0-9) numerals in interface.

调试/日志记录

 * 参见：手册:如何调试


 * - Allows statistics to be aggregated over more than one wiki when using udp logging.
 * - Enable API debugging by removing some restrictions like POST-only
 * - Include portions of log output in page HTML comment.
 * - Trace lifecycle of the database transaction (opening, commit, rollback)
 * - Dump SQL queries to debug output
 * - Length limit for dumping queries
 * - The file name of the debug log, or empty if disabled. wfDebug appends to this file.
 * - Selective debug logs on a group basis.
 * - 用于调试日志行的前缀
 * - Print HTTP headers for every request in the debug information.
 * - Avoid overlapping debug entries by leaving out CSS.
 * - Displays redirect location instead of actually redirecting to the target URL
 * - Prefix debug messages with relative timestamp.
 * - 显示调试工具栏.
 * - Release limitation to wfDeprecated warnings.
 * - Whether to throw PHP notices for some possible error conditions and for deprecated functions.
 * - Whether to send the exception backtrace to the error log.
 * - Default service provider for creating MWLogger instances.
 * - See also for more about what debug does.
 * - Override server hostname detection with a hardcoded value.
 * - If true, show a backtrace for database errors.
 * - Display debug data at the bottom of the main content area.
 * - Whether to show "We're sorry, but there has been a database error." pages.
 * - If set to true, uncaught exceptions will print a complete stack trace to output.
 * - Destination for wfIncrStats data.

性能分析

 * - Output debug message on every wfProfileIn/wfProfileOut
 * - 检测不匹配的wfProfileIn/wfProfileOut调用
 * ——用于配置您的MediaWiki安装副本的概要分析.
 * - If true, print a raw call tree instead of per-function report
 * - Only record profiling info for pages that took longer than this
 * - Don't put non-profiling info into log file
 * - Should application server host be put into profiling table?
 * - Log sums from profiling into profiling table in db.
 * ——UDP分析器的主机.
 * ——UDP分析器的端口.

网站个性化

 * - Break out of framesets. This can be used to prevent external sites from framing your site.
 * - Whether to enable canonical language links in meta data.
 * - Set this to false to avoid forcing the first letter of links to capitals.
 * - 用于的按名字空间配置
 * - Default variant code, if false, the default will be the language code.
 * - Control framing of wiki pages globally.
 * - 在Special:Newpages中启用用户搜索.
 * - List of language names or overrides for default names in Names.php.
 * - Special:Randompage的过滤器. WHERE子句的一部分.
 * - The subtitle to appear under every title.
 * ——从边栏隐藏跨语言链接.
 * - Override the default list of illegal characters in file names.
 * - Override default list of illegal characters in page titles.
 * ——最大条目大小（千字节）.
 * - Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination.
 * - Max number of redirects to follow when resolving redirects.
 * - External links to these domain names (or any subdomains) will not be set to
 * - If true, external URL links in wiki text will be given the  attribute.
 * - Show watching users in Page views.
 * ——设置 值以控制在用户跟随来自您的wiki的链接时，浏览器如何发送介绍信息至其他网站.
 * - Set of permission keys that can be selected on the 'page protection' page.
 * ——在每个页面的顶部显示通告.
 * - Appended in the query string of static CSS and JS to clear client side cache when changing this.
 * - Register handlers for specific types of sites.
 * - 为受支持的浏览器启用UniversalEditButton
 * - Defines the protocols which are supported and translated in HTML by the MediaWiki parser.
 * - Activate external editor interface for files and pages.

Ajax

 * - List of functions in  that are callable via
 * - Enable AJAX check for file overwrite, pre-upload.
 * - Enable watching/unwatching pages using AJAX.
 * - 启用AJAX功能的使用

前端

 * - Allow site-wide CSS on restricted special pages.
 * - Allow user Cascading Style Sheets (CSS)
 * - 允许用户Javascript页面
 * - Allows running of javascript test suites via Special:JavaScriptTest (such as QUnit).
 * - Default maximum age for raw CSS/JS accesses.
 * , If set, 'screen' and 'handheld' media also apply to the iPhone/iPod Touch Mobile Safari.
 * , 用于media="handheld"的样式.
 * - Whether to include the mediawiki.legacy JS library (old wikibits.js), and its dependencies.
 * - Whether to preload the mediawiki.util module as blocking module in the top queue.
 * - 用于javascript测试的配置.
 * - Whether or not to assign configuration variables to the global window object.
 * - 使用网站的层叠样式表（CSS）.
 * - 使用网站的Javascript页面.

ResourceLoader

 * 参见ResourceLoader获取更多信息.


 * - Default 'remoteBasePath' value for resource loader modules.
 * - The default debug mode (on/off) for of ResourceLoader requests.
 * - Whether to embed private modules inline with HTML output or to bypass caching and check the user parameter against.
 * - 全局LESS变量.
 * - Maximum time in seconds to cache resources served by the resource loader.
 * - Maximum query string length for resource loader requests.
 * - Maximum line length when minifying JavaScript.
 * - Put each statement on its own line when minifying JavaScript.
 * - Foreign module sources registry.
 * - Cache version for client-side ResourceLoader module storage.
 * ——使用Edge边包括启用特定资源的嵌入.
 * - Whether to parse JavaScript module prior to minification to validate them.
 * - Whether to parse statically-sourced (file-backed) JavaScript resources prior to minification to validate them.
 * - Cache modules in localStorage on supporting browsers.
 * - Array of all extra defined modules that can later be loaded during the output.

名字空间

 * - 包含真实内容或文章的命名空间.
 * - 额外的名字空间.
 * - Same as $wgExtraNamespaces, but for namespaces with gender distinction.
 * - Controls in which subject (non-talk) namespaces the "Signature" button on the edit toolbar will be displayed.
 * - The name used for the meta-namespace.
 * - The name used for the meta-namespace talk pages.
 * - 用于额外名字空间的别名.
 * - Content types defined for a given namespace.
 * - Default protection levels for namespaces.
 * - Which namespaces should be searched?
 * - Namespaces to be searched when user clicks the "Help" tab on Special:Search.
 * - 哪些名字空间应该支持子页面功能？
 * - Namespaces where the nofollow setting is overridden.
 * - Pages in namespaces in this array can not be used as templates.
 * - Namespaces that have special treatment where they should be preview-on-open.
 * - Array of namespaces to generate a sitemap or false for all namespaces.
 * - Custom namespace priorities for sitemaps.

输出

 * - 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.
 * - 默认XHTML名字空间

机器人方针

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

移动支持

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

网站统计

 * - 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

皮肤

 * - 默认皮肤.
 * - 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 file system path to the skins directory.
 * - The URL of the skins directory.
 * - Login / create account link behavior when it's possible for anonymous users to create an account.
 * - 有效皮肤名称列表.
 * - Search form behavior for Vector skin only.
 * - Watch and unwatch as an icon rather than a link for Vector skin only.

分类

 * - 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

缓存

 * - 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.
 * ——设置它为当前时间以使扩展注册加载的扩展缓存无效.
 * - Setting this to true will invalidate all cached pages whenever LocalSettings.php is changed.
 * - 存储语言转换表的缓存类型.
 * - 替换.
 * - 高级对象缓存配置.
 * - 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.
 * - 使用GZip存储缓存页面.
 * - Number of rows to update per query.
 * - Store session data in the object cache, rather than on the filesystem.
 * - 存储会话数据的缓存类型.
 * - 是否在对象缓存中存储会话.


 * 参见：跨wiki一栏获取跨wiki缓存设置.

客户端缓存

 * - Allow client-side caching of pages

文件缓存
Settings for Server side file caching.
 * - Depth of the subdirectory hierarchy to be created under $wgFileCacheDirectory.
 * - Directory where the cached page will be saved when using server-side caching.
 * - This will cache static pages for non-logged-in users to reduce database traffic on public sites.

消息缓存

 * - 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.
 * - 消息缓存设置.
 * - Make a local copy of the message cache, in addition to memcached

边栏缓存

 * - If true, cache the sidebar navigation links.
 * - Expiry time for the sidebar 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
 * - 解析器缓存设置.

高速缓存设置
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.
 * - Memcached 服务器的数组.
 * - Server connection timeout in microseconds

跨wiki

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

跨wiki缓存

 * 参见跨wiki缓存获取更多信息.


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

访问
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.

速率控制

 * - 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锁定

 * - 禁止编辑并显示给定的理由.
 * - 同样是是禁止编辑，但如果有给定的文件，数据库锁定的理由则采用文件中的内容.

减少

 * - 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 have to be specially set up to be secure.


 * - Allow preview licences during upload via AJAX.
 * - 允许通过URL上传，而不仅仅是本地文件.
 * - Domains that are allowed to be used in upload from URLs.
 * - Allow Java archive uploads.
 * - Timeout for asynchronous http request.
 * - 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.
 * - Timeout for HTTP requests done via CURL.
 * - Proxy to use for CURL requests.
 * - 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.
 * - The base URL for uploaded images if shared upload directory isn't to be used
 * - The file system path of the upload directory.
 * - 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.
 * - To enable remote on-demand scaling, set this to the thumbnail base URL.
 * - Maximum size for file uploads.
 * - Indicates that deleted images are to be stored for later undeletion.

共享上传
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 foreigns repositories.
 * - 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:..]], [[Media:..]] links).
 * - set this "true" if you want to integrate media-descriptions, stored in the commonswiki

MIME类型

 * - 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
 * - 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

图片

 * - 允许移动图片
 * - 使用另一个改变大小转换器，例如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.
 * 用于上传路径的参数
 * - List of trusted media-types and mime types.

See also: Manual:Configuring file uploads

DjVu

 * - djvudump可执行的路径.
 * - 用于DJVU传送处理器输出的文件扩展名.
 * - DJVU传送处理器的路径.
 * - ddjvu DJVU渲染器的路径.
 * - djvutoxml可执行的路径.
 * - djvutxt DJVU文本抽取实用工具的路径.

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
将 $wgUseImageMagick 设置为true 可使用 ImageMagick 而不是内置函数.
 * - ImageMagick附带的转换命令.
 * - ImageMagick附带的识别命令.
 * - 用于ImageMagick的临时目录.
 * - Sharpening parameter to ImageMagick.
 * - Reduction in linear dimensions below which sharpening will be enabled.
 * - 可以使用 PHP的内部图像库或使用 ImageMagick 进行尺寸大小的调整. PHP只支持 PNG、GIF、JPG、XBM 和 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.
 * - 来自$wgSVGConverters，用作转换器的的关键字.
 * - 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.

缩略图设置

 * - 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

防病毒

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

解析器

 * ——允许魔术字 覆盖页面标题.
 * ——是否允许行内图片指向其他网站.
 * ——如果为false，您可以在此指定扩展.
 * - 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 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.

特殊页面

 * - 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.
 * - 日志类型列表.
 * - 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.

最近更改
参见Help:Recent changes和


 * - 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.
 * - 更改限制.
 * - 日限制.
 * - 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.
 * ——最近更改和监视列表中，显示指明特定编辑类型的标记（字母图标）.
 * - Show "Updated (since my last visit)" marker in RC view, watchlist and history.
 * ——调查频率（秒），由Special:RecentChanges和Special:Watchlist的“在线更新”功能使用（如果RCFilters启用的话）
 * - 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更新
Send Recent changes updates via UDP. See: Manual:Simple IRC RC Bot


 * - Feed engine configuration
 * - Feed formatting and destination configuration
 * - 使用地址.
 * - Whether to prefixes the page name used in the RC feed.
 * - Omit bot.
 * - Port used.
 * - 使用前缀.

用户

 * - 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).
 * - 禁用某些用户首选项.
 * - 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.

验证

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

用户访问

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

用户代理

 * - 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.
 * - 自定义cookie前缀.
 * - 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.

订阅源

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

版权

 * - Set this to some HTML to override the copyrights icon with an arbitrary logo.
 * - Includes licensing information derived from Creative Commons licenses.
 * - 使用RDF元数据
 * - Array of metadata terms.
 * - Set this to the number of authors that you want to be credited below an article text.
 * - 版权图标
 * - 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.

搜索

 * - 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.
 * - 用于开放搜索建议的模板.
 * - 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

作业

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

代理

 * - 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.
 * - HTTP代理的缓存超时.
 * - A list of proxy servers (ips if possible) to purge on changes.
 * - Same as $wgSquidServers, except they aren't purged.
 * - 如果您运行具有ESI支持的Squid3，启用它.
 * - 为缓存的HTTP代理启用/禁用支持.
 * - 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组播刷新

 * - 用于HTCP组播刷新的地址
 * - HTCP组播刷新的TTL
 * - HTCP组播刷新的端口
 * - HTCP组播刷新的路由配置

扩展

 * - API列表模块扩展.
 * - API元模块扩展.
 * - API模块扩展.
 * - API prop模块扩展.
 * - 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.
 * - 至扩展目录的URL.
 * - Global list of extension credits.
 * - 扩展函数
 * - 扩展消息文件.
 * - 扩展目录的文件系统路径.
 * - 文件系统扩展目录.
 * - 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.
 * - 全域钩列表.
 * - Page property link table invalidation lists.
 * - 解析器输出钩子.
 * - Additional functions to be performed with updateSpecialPages.php.
 * - 自定义特殊页面列表.

维护脚本设置

 * - 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!
 * - 用于$wgDBadminuser的密码.
 * - Database username used by the maintenance scripts.
 * - 用于$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
 * ——启用 web 升级脚本时使用

杂项设置

 * ——编辑是否通过AJAX预览为用户输入的编辑摘要.
 * ——是否总是转换特定Unicode序列为现代序列，而不管内容语言.
 * ——反锁定标记.
 * ——应编译成HipHop架构的文件列表，除了列举在$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").
 * ——为大型网站在将架构从1.4迁移至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.
 * ——是否维护在Special:Log/create的新页面创建日志.
 * ——控制MediaWiki是否应该从一开始报告有关其安装的返回数据给外援开发者.
 * - Configuration for processing pool control.
 * - 用于 的区域设置.
 * - MediaWiki是否应该产生自动编辑摘要.
 * - Allow filtering by change tag in recentchanges, history, etc.
 * - 是否使用trackbacks.

参见

 * ：如何设置与检索配置变量.
 * : how to register new configuration variables for extensions and skins.