手册:配置设置 (按字母顺序的)
Appearance
这是一个基于MainConfigSchema.php
文件的所有支持配置设置的索引。
千万不要编辑MainConfigSchema.php
,而是将适当的行数复制到LocalSettings.php
,并酌情改善。
这个索引是按字母顺序排列的(忽略$wg的前缀)。 注意,唯一没有这个前缀的设置是$IP ,它被列在I之下。
在1.35版之前移除的设置项不会再列在此处。 請使用搜尋框來尋找手冊相關的頁面 (例如
Manual:$wgAllowAnonymousMinor
).A
- $wgAccountCreationThrottle – 每个IP可创建的帐户的数量,0为禁用。
- $wgActionFilteredLogs – 可按操作类型被过滤的日志类型列表
- $wgActionPaths – 各种用户操作的路径。用于使URL更美观。
- $wgActions – 正常页面的“action”参数的允许值的数组。正常页面的“action”参数的允许值的数组。
- $wgActiveUserDays – 在一段时间中有编辑的用户将被视为活跃用户。
- $wgActorTableSchemaMigrationStage (在版本1.39移除) –
actor
table schema migration stage. - $wgAdaptiveMessageCache – Keep track which messages are requested and load only most used messages.
- $wgAddGroups – 控制不同用戶組在Special:Userrights可增加的用戶組。
- $wgAdditionalMailParams – Additional email parameters, will be passed as the last argument to
mail()
PHP function call. - $wgAdvancedSearchHighlighting – Set to true to have more useful text snippets in search results.
- $wgAdvertisedFeedTypes – Feed types that should be provided by default.
- $wgAjaxEditStash (在版本1.37移除) – Whether edits should be prepared via AJAX as users type edit summaries.
- $wgAjaxExportList (在版本1.38移除) – List of functions in
AjaxFunctions.php
that are callable viaaction=ajax
- $wgAjaxLicensePreview – 使用Ajax预览上传许可。
- $wgAjaxUploadDestCheck (在版本1.41移除) – 启用Ajax检查以进行文件覆写,预上传。
- $wgAllowedCorsHeaders – 跨域API请求的允许标头列表。
- $wgAllowCopyUploads – 允许像上传本地文件般从URL上传文件。
- $wgAllowCrossOrigin – Allow anonymous cross origin requests to the REST API.
- $wgAllowDisplayTitle – Allows use of
{{DISPLAYTITLE}}
magic word - $wgAllowExternalImages – 决定 MediaWiki 是否允许算繪外部图像 URL ,外部图像 URL 在 wiki 文本中以 inline 呈现,而不需要其他标记包裹。
- $wgAllowExternalImagesFrom – If
$wgAllowExternalImages
is false, you can specify exceptions here. - $wgAllowExternalReqID – controls whether MediaWiki accepts the request ID set by the incoming request via the "X-Request-Id" header.
- $wgAllowHTMLEmail – 设置为真以启用HTML邮件。
- $wgAllowImageMoving (在版本1.36移除) – 启用文件重命名。
- $wgAllowImageTag (在版本1.42移除) – 允许在wiki文本中使用
<img>
标签。 - $wgAllowJavaUploads (在版本1.39移除) – 允許Java檔案上傳。
- $wgAllowRawHtmlCopyrightMessages (在版本1.43引入) – Whether on-wiki overrides for the
copyright
andhistory_copyright
messages, which allow raw HTML, will be used. - $wgAllowRequiringEmailForResets (在版本1.43移除) – Temporary feature flag that controls whether users will see a checkbox allowing them to require providing email during password resets.
- $wgAllowSchemaUpdates – Allow database schema updates to be executed with update.php script.
- $wgAllowSecuritySensitiveOperationIfCannotReauthenticate – Whether to allow security-sensitive operations when reauthentication is not possible
- $wgAllowSiteCSSOnRestrictedPages – 允许在受限的特殊页面使用站点级层叠样式表(CSS)
- $wgAllowSlowParserFunctions – 允许缓慢的解析器功能。
- $wgAllowSpecialInclusion – Allow special page inclusions such as
{{Special:Allpages}}
. - $wgAllowTitlesInSVG (在版本1.35移除) – Allow
<title>
tag in SVG files. - $wgAllowUserCss – 允许用户的层叠样式表(CSS)
- $wgAllowUserCssPrefs – 允许用户在CSS中应用首选项。
- $wgAllowUserJs – 允许用户JavaScript页面
- $wgAllUnicodeFixes – Whether to always convert certain Unicode sequences to modern ones regardless of the content language.
- $wgAmericanDates – 使用“月日年(mdy)”而非“日月年(dmy)”作为默认日期格式,如“May 12”而非“12 May”。
- $wgAntivirus – Internal name of virus scanner.
- $wgAntivirusRequired – Determines if a failed virus scan will cause the file to be rejected.
- $wgAntivirusSetup – 不同病毒扫描程序的配置。
- $wgAPICacheHelpTimeout – 设置API帮助文本缓存的超时。设置为0以禁用API帮助文本的缓存。
- $wgAPIFormatModules – API格式模块扩展。
- $wgApiFrameOptions – Control framing of api pages.
- $wgAPIMaxDBRows – Maximum number of rows to scan in API database queries.
- $wgAPIMaxLagThreshold – Maximum amount of DB lag on a majority of DB replica DBs to tolerate before forcing bots to retry any write requests via API errors.
- $wgAPIMaxResultSize – API 结果的最大大小(以字节为单位)。
- $wgAPIMaxUncachedDiffs – The maximum number of uncached diffs that can be retrieved in one API request.
- $wgAPIListModules – API list module extensions.
- $wgAPIMetaModules – API meta module extensions.
- $wgAPIModules – API模块扩展。
- $wgAPIPropModules – API prop module extensions.
- $wgAPIRequestLog (在1.43版本中已弃用) – Log file or URL (TCP or UDP) to log API requests to.
- $wgAPIUselessQueryPages – The ApiQueryQueryPages module should skip pages that are redundant to true API queries.
- $wgAppleTouchIcon – 当 Apple 手持设备将 wiki 收藏到主屏幕时可选的指向一个图标的 URL
- $wgApplyIpBlocksToXff – Apply IP address blocks also to users having a blocked IP in their XFF header.
- $wgArticleCountMethod – 方法用于确定内容名称空间中的页是否应算作有效的內容頁面(條目)。
- $wgArticlePath – 用于创建文章链接的基础URL。
- $wgArticleRobotPolicies – Allow customisation of robot policies on a per-page basis.
- $wgAssumeProxiesUseDefaultProtocolPorts – When the wiki is running behind a proxy and this is set to true, assumes that the proxy exposes the wiki on the standard ports.
- $wgAsyncHTTPTimeout – Timeout for asynchronous HTTP requests.
- $wgAttemptFailureEpoch – Bump this to quickly retry thumbnail creation failures.
- $wgAuthenticationTokenVersion – When changed, all existing sessions are invalidated.
- $wgAuthManagerAutoConfig – Register authentication providers to use with AuthManager
- $wgAuthManagerConfig – Manual override for authentication provider configuration
- $wgAutoblockExpiry – 自动封禁过期前的有效秒数
- $wgAutoConfirmAge – 用户帐号在所需秒数后将成为“自动确认用户”的成员。
- $wgAutoConfirmCount – 自动确认用户所需的编辑次数。
- $wgAutoCreateTempUser – Configuration for automatic creation of temporary accounts on page save.
- $wgAutoloadAttemptLowercase (在版本1.40移除) – 开关控制旧的不区分大小写的类加载。
- $wgAutoloadClasses – Array mapping class names to filenames, for autoloading.
- $wgAutoloadLocalClasses – Array mapping class names to filenames, for autoloading.
- $wgAutopromote – 将用户自动提升到特定组的条件
- $wgAutopromoteOnce – Conditions of automatic promotion of user to specific groups that are done only once.
- $wgAutopromoteOnceLogInRC – Whether to put user rights log entries for autopromotion in recent changes.
- $wgAutopromoteOnceRCExcludedGroups (在版本1.44引入) – Defines a denylist of group names.
- $wgAvailableRights – A list of available rights, in addition to the ones defined by the core.
B
- $wgBaseDirectory – Absolute filesystem path of the root directory of the MediaWiki installation.
- $wgBlockAllowsUTEdit – 允许被封禁的用户编辑他们的用户讨论页
- $wgBlockCIDRLimit – 封禁IP范围时最大的CIDR范围。
- $wgBlockDisablesLogin – 如果设为true,则禁止被封禁的用户登录
- $wgBlockTargetMigrationStage (在版本1.42引入) (在1.43版本中已弃用) –
ipblocks
table schema migration stage, for normalizingipb_address
field and adding theblock_target
table. - $wgBotPasswordsCluster (在1.42版本中已弃用) – bot_passwords表的群集名称
- $wgBotPasswordsDatabase (在1.42版本中已弃用) –
bot_passwords
表的群集名称 - $wgBreakFrames – 脱离框架集。 This can be used to prevent external sites from framing your site with ads.
- $wgBrowserFormatDetection – Override ability of certain browsers to attempt to autodetect dataformats in pages.
C
- $wgCacheDirectory – Directory for per-wiki long-life cache files in the local filesystem.
- $wgCacheEpoch – Set this to current time to invalidate all prior cached pages.
- $wgCachePages – 允许客户端侧页面缓存
- $wgCachePrefix – Custom value for the cache key prefix.
- $wgCacheSharedUploads – Cache shared metadata in memcached.
- $wgCacheVaryCookies – A list of cookies that influence the cache.
- $wgCanonicalNamespaceNames – Canonical namespace names.
- $wgCanonicalServer – Canonical URL of the server, to use in IRC feeds, notification emails, etc.
- $wgCapitalLinkOverrides – 各名字空间的$wgCapitalLinks 设置。
- $wgCapitalLinks – 将此值设置为false可以防止将链接的首字母强制大写。
- $wgCascadingRestrictionLevels – 限制可以使用级联保护的级别
- $wgCategoryCollation – What collation categories use to sort with
- $wgCategoryMagicGallery – On category pages, show thumbnail gallery for images belonging to that category instead of listing them as articles.
- $wgCategoryPagingLimit – Paging limit for items in categories.
- $wgCdnMatchParameterOrder – Indicates if should take query parameters order on incoming requests into account for CDN caching
- $wgCdnMaxAge – CDN的缓存TTL作为s-maxage(没有ESI)或者Surrogate-Control(带有ESI)发送。
- $wgCdnMaxageLagged – Cache timeout for the CDN when DB replica lag is high
- $wgCdnMaxageStale – Cache timeout in seconds when delivering a stale ParserCache response due to PoolCounter contention.
- $wgCdnMaxageSubstitute – Cache timeout for the CDN when a response is known to be wrong or incomplete (due to load)
- $wgCdnServers – 一组“单独的”代理服务器,以帮助 MediaWiki 检测请求是否已被代理。
还要在更改时发送回代理 PURGE 命令。 - $wgCdnServersNoPurge – Same as
$wgCdnServers
, except no HTTP purges will be sent and CIDR ranges are accepted - $wgCdnReboundPurgeDelay – Secondary delayed purges of URLs
- $wgCentralIdLookupProvider – Default central id lookup implementation to use
- $wgCentralIdLookupProviders – 注册中心ID查找提供者。
- $wgChangeCredentialsBlacklist – List of AuthenticationRequest class names which are not changeable through Special:ChangeCredentials and the changeauthenticationdata API.
- $wgCheckFileExtensions – 检查上传是是否允许文件名
- $wgChronologyProtectorStash (在版本1.43移除) – The object store type of the ChronologyProtector position store.
- $wgChronologyProtectorSecret (在版本1.41引入) – Secret string for HMAC hashing in ChronologyProtector (optional)
- $wgCleanSignatures – 在签名中替代模板。
- $wgCodexDevelopmentDir (在版本1.43引入) – If this is set, MediaWiki will look for Codex files in this directory instead of in
resources/lib/codex/
and friends. - $wgCommandLineDarkBg – Assume a dark terminal background for maintenance scripts.
- $wgCommandLineMode – 指示MediaWiki是否运行在命令行模式下。 不应被人工设置!
- $wgCommentTempTableSchemaMigrationStage (在版本1.40引入) (在版本1.41移除) – Comment temp tables schema migration stage.
- $wgCompressRevisions – Compress new page revisions if possible
- $wgConditionalUserOptions (在版本1.42引入) – 默认用户参数设置。
- $wgConf – 创建组维基。在一般的安装中并不常用。
- $wgConfigRegistry – Registry of factory functions to create config objects
- $wgContentHandlers – Mapping of content type handlers
- $wgContentHandlerTextFallback (在版本1.42移除) – How to react if a plain text version of a non-text Content object is requested using
ContentHandler::getContentText()
- $wgContentHandlerUseDB (在版本1.35移除) – Whether to use the database fields introduced by the ContentHandler facility
- $wgContentNamespaces – 被认为包含真内容或文章的命名空间。
- $wgCookieDomain – 为登录Cookie显式指定域。
- $wgCookieExpiration – 在HTTP cookie过期前的秒数。 您可以使用
$wgExtendedLoginCookieExpiration
替换为“记住我的登录状态”的cookie - $wgCookieHttpOnly – Set the
httpOnly
flag on all cookies set by MediaWiki (to prevent access from JavaScript). - $wgCookiePath – Explicitly declared "path" for cookies at the cookie domain
- $wgCookiePrefix – Custom cookie prefix.
- $wgCookieSameSite – 用于登录cookie(小型文本文件)的SameSite cookie属性。
- $wgCookieSecure – Whether cookies are secured.
- $wgCookieSetOnAutoblock – 决定在用户被自动封禁时是否设置Cookie。 这样做意味着即使在注销且使用新IP地址后,被封禁的用户仍会被封禁。
- $wgCookieSetOnIpBlock – Determines whether to set a cookie when an IP user is blocked. Doing so means that a blocked user, even after moving to a new IP address, will still be blocked.
- $wgCopyUploadAllowOnWikiDomainConfig – 如果
true
,$wgCopyUploadsDomains 的值會與MediaWiki:Copyupload-allowed-domains的內容合併。 - $wgCopyUploadProxy – 用于复制上载请求的HTTP代理器。
- $wgCopyUploadsDomains – 指定
$wgAllowCopyUploads
允许特定的域列表 - $wgCopyUploadsFromSpecialUpload – 通过在 Special:Upload 添加用户界面启用从URL上传文件
- $wgCopyUploadTimeout – HTTP timeout (in seconds) for upload by URL
- $wgCountCategorizedImagesAsUsed – On Special:UnusedFiles, consider images "used" if they are put into a category.
- $wgCriticalSectionTimeLimit – The maximum time critical sections are allowed to stay open.
- $wgCrossSiteAJAXdomainExceptions – Domains that should not be allowed to make AJAX requests, even if they match one of the domains allowed by
$wgCrossSiteAJAXdomains
. - $wgCrossSiteAJAXdomains – Domains that may make cross-site Ajax requests to the MediaWiki API.
- $wgCSPFalsePositiveUrls – Controls what URLs to ignore in upcoming Content-Security-Policy feature's reporting.
- $wgCSPHeader – Controls Content-Security-Policy header [Experimental]
- $wgCSPReportOnlyHeader – 控制Content-Security-Policy-Report-Only的头部[实验性]
- $wgCustomConvertCommand – Use another resizing converter, e.g. GraphicMagick.
D
- $wgDataCenterUpdateStickTTL – After a state-changing request is done by a client, this determines how many seconds that client should keep using the master datacenter.
- $wgDatabaseReplicaLagWarning – If lag is higher than this value, show a warning in some special pages (like watchlist).
- $wgDatabaseReplicaLagCritical – If lag is higher than this value, show a more obvious warning than
$wgDatabaseReplicaLagWarning
. - $wgDBadminpassword – 用于$wgDBadminuser的密码。
- $wgDBadminuser – 数据库管理员的用户名。
- $wgDBcompress – 是否在数据库连接中使用压缩。
- $wgDBDefaultGroup – Default group to use when getting database connections. For use by maintenance scripts.
- $wgDBerrorLog – 要将数据库错误记录到的文件。
- $wgDBerrorLogTZ – 在错误日志中使用的时区。
- $wgDBmwschema – Schema that stores the MediaWiki tables in.
- $wgDBname – 数据库名称。
- $wgDBport – 数据库端口。只用于PostgreSQL。
- $wgDBpassword –
$wgDBuser
的密码。 - $wgDBprefix – 数据表名称的前缀。
- $wgDBserver – 数据库服务器主机名或 IP 地址。
- $wgDBservers – Settings for the database load balancer (database servers and load ratios).
- $wgDBssl – 是否在数据库连接中使用SSL。
- $wgDBStrictWarnings (在版本1.42引入) – Check for warnings after DB queries and throw an exception if an unacceptable warning is detected.
- $wgDBTableOptions – 在安装及更新过程中使用的MySQL表选项。
- $wgDBtype – 数据库的类型。
- $wgDBuser – 数据库的用户名。
- $wgDBWindowsAuthentication (在版本1.35移除) – 使用集成Windows验证而不是
$wgDBuser
/$wgDBpassword
结合。 - $wgDebugAPI – 放宽API安全防护以简化调试
- $wgDebugComments – 在页面HTML注释中包含部分日志输出
- $wgDebugDumpSql – Dump SQL queries to debug output
- $wgDebugLogFile – 调试日志的文件名,若禁用则为空。
- $wgDebugLogGroups – 将某些组的
wfDebugLog()
输出直接输出到$wgDebugLogFile
以外的文件。 - $wgDebugLogPrefix – Prefix for debug log lines.
- $wgDebugRawPage – If false, 'action=raw' and load.php hits will not result in debug output.
- $wgDebugRedirects – Displays redirect location instead of actually redirecting to the target URL
- $wgDebugTimestamps (在版本1.35移除) – 在调试消息前加上相对时间戳。
- $wgDebugToolbar – 显示调试工具栏
- $wgDefaultExternalStore – Default external store for new revisions.
- $wgDefaultLanguageVariant – Default language variant.
- $wgDefaultRobotPolicy – Allows specifying the default robot policy for all pages on the wiki
- $wgDefaultSkin – 新用户默认皮肤。
- $wgDefaultUserOptions – 默认用户参数设置。
- $wgDeletedDirectory – 被删除的上传内容在哪个目录。
- $wgDeleteRevisionsBatchSize – Page deletions with > this number of revisions will use the job queue.
- $wgDeleteRevisionsLimit – 整數,需要「bigdelete」權限才能刪除頁面的修訂版本數量。
- $wgDeprecationReleaseLimit – Release limitation to
wfDeprecated
warnings. - $wgDevelopmentWarnings – 是否针对某些可能的错误情况和不建议使用的函数引发PHP通知。
- $wgDiff – GNU diff实用程序的路径。
- $wgDiff3 – GNU diff3实用程序的路径。
- $wgDiffEngine – 指定要使用的差异引擎。
- $wgDirectoryMode – Default
chmod
permission value for newly created directories. - $wgDisableAnonTalk – 禁用匿名用户(未登录)的讨论页面。
- $wgDisableCookieCheck (在版本1.42移除) – Disables session cookies
- $wgDisableCounters (在版本1.35移除) – 禁用页面预览次数计数器。
- $wgDisabledVariants – Disabled variants for language variant conversion.
- $wgDisableHardRedirects – Disable redirects to special pages and interwiki redirects, which use a 302 and have no "redirected from" link.
- $wgDisableInternalSearch – Disable internal search so that extensions can implement it.
- $wgDisableLangConversion – 是否开启语言变体转换功能。
- $wgDisableOutputCompression – 禁用输出压缩(如果zlib可用,则默认情况下启用压缩)。
- $wgDisableQueryPages – Disable all query pages if miser mode is on, not just some.
- $wgDisableQueryPageUpdate – Array of special pages that should not be updated.
- $wgDisableSearchUpdate – 若您半永久性禁用了搜索,这也会禁用对表的更新。
- $wgDisableTextSearch – 禁用全文搜索。
- $wgDisableTitleConversion – Whether to enable language variant conversion for links.
- $wgDisableUploadScriptChecks – 是否禁用上传系统对于HTML/JavaScript的检查。
- $wgDjvuDump – djvudump程序文件的路径。
- $wgDjvuOutputExtension – File extension for the DjVu post processor output.
- $wgDjvuPostProcessor – DjVu后处理器的路径。
- $wgDjvuRenderer – ddjvu DjVu渲染器的路径。
- $wgDjvuToXML (在版本1.37移除) – Path of the djvutoxml executable.
- $wgDjvuTxt – Path of the djvutxt DjVu text extraction utility.
- $wgDjvuUseBoxedCommand (在版本1.42引入) – Whether to use BoxedCommand or not.
- $wgDnsBlacklistUrls – List of DNS blacklists to use, if
$wgEnableDnsBlacklist
istrue
. - $wgDummyLanguageCodes – List of language codes that have been renamed to new (correct) codes, or don't correspond to an actual interface language.
E
- $wgEdititis – 显示用户编辑数在“用户列表”特殊页面。
- $wgEditPageFrameOptions – Control framing of wiki pages globally.
- $wgEditRecoveryExpiry (在版本1.42引入) – 编辑被存储后,持续保留编辑恢复 数据的秒数。
- $wgEditSubmitButtonLabelPublish – 在公開的Wiki上將「保存」標籤改為「發布」
- $wgElementTiming (在版本1.39移除) – Enable Element Timing.
- $wgEmailAuthentication – 设置为True可为此Wiki启用电子邮件身份验证(确认)。 除密码提醒电子邮件外,电子邮件功能仅适用于经过身份验证的电子邮件地址。
- $wgEmailConfirmToEdit – 设置此参数为true则要求用户在编辑之前确认邮箱地址。
- $wgEmergencyContact – 网站管理员电子邮件地址
- $wgEnableAsyncUploads – Enable deferred upload tasks that use the job queue.
- $wgEnableAsyncUploadsByURL (在版本1.42引入) – Enable the async processing of upload by url in Special:Upload.
- $wgEnableAutoRotation – 是否根据 EXIF 信息启用图像自动旋转
- $wgEnableBotPasswords – 是否启用机器人密码
- $wgEnableCanonicalServerLink – Output a
<link rel="canonical">
tag on every page indicating the canonical server which should be used, i.e.$wgServer
or$wgCanonicalServer
. - $wgEnableDnsBlacklist – Whether to use DNS blocklists in
$wgDnsBlacklistUrls
to check for open proxies. - $wgEnableEditRecovery (在版本1.41引入) – Whether to enable the client-side Edit Recovery feature.
- $wgEnableEmail – 设置为 true 以启用基本的电子邮件功能。
- $wgEnableImageWhitelist – Enables an on-wiki external image whitelist
- $wgEnableJavaScriptTest – Allows running of JavaScript test suites via Special:JavaScriptTest (such as QUnit).
- $wgEnableMagicLinks – Controls whether magic link functionality should be enabled
- $wgEnableMultiBlocks (在版本1.42引入) – If this is
false
, the number of blocks of a given target is limited to only 1. - $wgEnableOpenSearchSuggest (在版本1.40移除) – 启用MediaWiki请求的开放搜索(OpenSearch)建议。
- $wgEnableParserLimitReporting – 控制是否输出NewPP解析器报告 的HTML注释到输出页面中。
- $wgEnablePartialActionBlocks – Flag to enable partial blocks against performing certain actions.
- $wgEnablePartialBlocks (在版本1.35移除) – 允許建立部分封鎖
- $wgEnableProfileInfo (在版本1.35移除) – Controls the availability of profileinfo.php.
- $wgEnableProtectionIndicators (在版本1.43引入) – Whether to show indicators on a page when it is protected.
- $wgEnableRestAPI (在版本1.36移除) – Enable the MediaWiki REST API.
- $wgEnableRemoteBagOStuffTests – If this is set to
true
, phpunit will run integration tests against remote caches defined in $wgObjectCaches . - $wgEnableScaryTranscluding – 允許從另一個wiki導入/引用模板。
- $wgEnableSearchContributorsByIP – Whether searching for an IP address will be redirected to that IP's contributions page.
- $wgEnableSidebarCache – If true, cache the sidebar navigation links.
- $wgEnableSpecialMute – Set to
true
to enable the Special Mute page. - $wgEnableUploads – 允许通过wiki上传图片和其他文件。
- $wgEnableUserEmail – Set to true to enable user-to-user email.
- $wgEnableUserEmailBlacklist (在版本1.37移除) – Set to
true
to enable user-to-user email blacklist. - $wgEnableUserEmailMuteList – Set to
true
to enable user-to-user email mutelist. - $wgEnableWANCacheReaper (在版本1.40移除) – 是否使用可靠的数据库源作为流来验证和强制WAN缓存清除。
- $wgEnotifUseRealName – Use real name instead of username in email "from" field.
- $wgEventRelayerConfig – Mapping of event channels (or channel categories) to EventRelayer configuration.
- $wgExperiencedUserEdits – Determines the number of edits needed to qualify at the "Experienced user" level.
- $wgExperiencedUserMemberSince – Determines the number of days needed since account creation to qualify at the "Experienced user" level.
- $wgExperimentalLoginPopup (在版本1.43引入) (在版本1.43移除) – Add extra login links that open different kinds of modal dialogs instead of navigating the page.
- $wgEnotifFromEditor – Whether to make email notifications appear to come from the user who makes the edit
- $wgEnotifImpersonal – Send a generic mail instead of a personalised mail for each user.
- $wgEnotifMaxRecips – 使用非个人邮件时一次发送邮件的最大用户数。
- $wgEnotifMinorEdits – 設置為true以允許發送標記為小修改的編輯電子郵件通知
- $wgEnotifRevealEditorAddress – Set to true to insert the page editor's email address into the email notifications Reply-To address
- $wgEnotifUserTalk – 對在使用者討論頁上的編輯啟用電子郵件通知。
- $wgEnotifWatchlist – Set to true to allow the email notification for watched pages
- $wgExemptFromUserRobotsControl – 讓
__INDEX__
/__NOINDEX__
失效的命名空間編號的陣列。 - $wgExiftool – Path to exiftool binary. Used for lossless ICC profile swapping.
- $wgExiv2Command – Path to the exiv2 executable.
- $wgExpensiveParserFunctionLimit – 对于每次解析时对高耗时解析器方法调用次数的最大限制,例如魔术字
PAGESINCATEGORY
- $wgExportAllowAll – Whether to allow exporting the entire wiki into a single file.
- $wgExportAllowHistory – 在 Special:Export 页面启用导出全部历史选项。
- $wgExportAllowListContributors – 控制是否允许在使用“Special:Export”页导出页面时列举所有贡献者。
- $wgExportFromNamespaces – Whether to allow the "export all pages in namespace" option.
- $wgExportMaxHistory – 对于修订历史记录高于设置的页面,使用“Special:Export”的请求将被拒绝。
- $wgExportMaxLinkDepth – Maximum value of the "pagelink-depth" parameter in Special:Export.
- $wgExportPagelistLimit – Maximum number of pages returned by the GetPagesFromCategory and GetPagesFromNamespace functions.
- $wgExtendedLoginCookieExpiration – 如果非空,则为“记住我的登录状态”会话的持续时间(秒);0意味着直到浏览器关闭。 如果为空,使用$wgCookieExpiration
- $wgExtensionAssetsPath – 扩展目录的 URL。
- $wgExtensionCredits – Global list of extension credits
- $wgExtensionDirectory – 至扩展目录的文件系统路径。
- $wgExtensionEntryPointListFiles – Array of files with list(s) of extension entry points to be used in maintenance/mergeMessageFileList.php
- $wgExtensionFunctions – MediaWiki完全初始化后调用的回调函数列表。
- $wgExtensionInfoMTime – Time to invalidate cache of extensions loaded by the extension registration system.
- $wgExtensionMessagesFiles – Extension messages files.
- $wgExternalDiffEngine – 要使用的外部差异引擎的名称。
- $wgExternalInterwikiFragmentMode – Determines which ID escaping mode should be used for external interwiki links
- $wgExternalLinksSchemaMigrationStage (在版本1.40引入) (在版本1.41移除) – externallinks table schema migration stage.
- $wgExternalLinksDomainGaps (在版本1.41引入) – Gaps in the
externallinks
table for certain domains. - $wgExternalLinkTarget – 设置外部链接的默认目标。
- $wgExternalServers – Shortcut for setting
$wgLBFactoryConf["externalClusters"]
. - $wgExternalStores – List of enabled ExternalStore protocols.
- $wgExtModifiedFields (在版本1.36移除) – Extension defined fields to change existing tables
- $wgExtNewFields (在版本1.36移除) – 定义添加到现有表格字段的扩展
- $wgExtNewIndexes (在版本1.36移除) – Extension defined indexes to be added to existing tables
- $wgExtNewTables (在版本1.36移除) – Extension Defined tables to be added on schema change
- $wgExtPGAlteredFields (在版本1.36移除) – Extension defined columns to be altered in tables
- $wgExtPGNewFields (在版本1.36移除) – Extension defined fields to be added to existing tables
- $wgExtraGenderNamespaces – Same as $wgExtraNamespaces , but for namespaces with gender distinction.
- $wgExtraLanguageCodes – 从一种语言代码到另一种语言代码的映射列表
- $wgExtraSignatureNamespaces – Controls in which subject (non-talk) namespaces the "Signature" button on the edit toolbar will be displayed.
- $wgExtraInterlanguageLinkPrefixes – Array of interwiki prefixes to be treated as language links.
- $wgExtraLanguageNames – List of language names or overrides for default names in Names.php.
- $wgExtraNamespaces – 额外名字空间。
F
- $wgFallbackSkin – Fallback skin used when the skin defined by
$wgDefaultSkin
can't be found. - $wgFavicon – 该网站图标的URL。
- $wgFeaturePolicyReportOnly – List of Feature Policy Reporting types to enable.
- $wgFeed – Toggle syndication feeds (RSS, Atom e.g. Recentchanges, Newpages) on and off.
- $wgFeedCacheTimeout – Minimum timeout for cached Recentchanges feed, in seconds.
- $wgFeedClasses – Available feeds objects.
- $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 e.g. Recentchanges, Newpages.
- $wgFetchCommonsDescriptions – Whether to fetch commons image description pages and display them on the local wiki.
- $wgFFmpegLocation – FFmpeg客户端的可执行文件名称。
- $wgFFprobeLocation – Executable name of FFprobe.
- $wgFileBackends – File backend structure configuration.
- $wgFileBlacklist (在版本1.37移除) – 不允许将具有这些扩展名的文件上传。
- $wgFileCacheDepth – Depth of subdirectory hierarchy under
$wgFileCacheDirectory
. - $wgFileCacheDirectory – Directory where the cached pages will be saved when using server-side caching.
- $wgFileExtensions – 这是上传文件的首选扩展的列表 上传不在此列表中的扩展名的文件将触发警告
- $wgFilterLogTypes – Show/hide links on Special:Log will be shown for these log types.
- $wgFixArabicUnicode (在版本1.35移除) – Set this to true to clean up archaic Unicode sequences in Arabic text.
- $wgFixDoubleRedirects – 在页面移动后,修复双重重定向。
- $wgFixMalayalamUnicode (在版本1.35移除) – Set this to true to clean up archaic Unicode sequences in Malayalam text.
- $wgFooterIcons – Abstract list of footer icons for skins. It replaces the old copyrightico and poweredbyico code, which until MediaWiki 1.27 could be influenced with $wgCopyrightIcon
- $wgFooterLinkCacheExpiry (在版本1.39移除) – Expiry time for the footer link cache, in seconds, or 0 if disabled.
- $wgForceDeferredUpdatesPreSend – Force deferred updates to be run before sending a response to the client, instead of attempting to run them after sending the response.
- $wgForcedRawSMaxage – 原始 CSS/JavaScript 访问的默认最长期限(以秒为单位)。
- $wgForceHTTPS – 将不安全的HTTP请求重定向到HTTPS。
- $wgForceUIMsgAsContentMsg – Array of UI messages that should be treated as content messages.
- $wgForeignFileRepos – 一个包含外部存储库结构信息的数组
- $wgForeignUploadTargets – Configuration for foreign upload targets for the upload dialog .
- $wgFragmentMode – 决定章节 ID 的编码方式
G
- $wgGalleryOptions –
<gallery>
标签的默认设置。 - $wgGenerateThumbnailOnParse – 允许在访问页面时生成缩略图。
- $wgGitBin – git二进制路径。
- $wgGitInfoCacheDirectory – GitInfo将查找预先计算的缓存文件的目录。
- $wgGitRepositoryViewers – Map of Git repository URLs to their gitweb interface URLs
- $wgGrammarForms – 用于
{{GRAMMAR:}}
解析器函数。 - $wgGrantPermissionGroups – Used to define grant groups and assign grants to them.
- $wgGrantPermissions – Used to define grants and assign permissions to them.
- $wgGrantRiskGroups (在版本1.42引入) – Group grants by risk level.
- $wgGroupInheritsPermissions – Groups that should inherit permissions from another group.
- $wgGroupPermissions – 使用这个来设置用户所在用户组的权限。
- $wgGroupsAddToSelf – 使用此设置来允许用户通过 Special:Userrights 为自己添加指定的用户组。
- $wgGroupsRemoveFromSelf – 使用此设置来允许用户通过 Special:Userrights 为自己移除指定的用户组。
H
- $wgHashedSharedUploadDirectory – 是否对共享的上传目录进行哈希运算。
- $wgHashedUploadDirectory – If true, uses the
/a/ab/foo.jpg
directory structure. - $wgHiddenPrefs – 禁用某些用户首选项。
- $wgHideIdentifiableRedirects – Protects user's privacy when doing redirects
- $wgHideInterlanguageLinks – 隐藏侧边栏的中介语言链接。
- $wgHideUserContribLimit – The maximum number of edits a user can have and can still be hidden by users with the
hideuser
permission. - $wgHKDFAlgorithm (在版本1.43移除) – Algorithm for HMAC-based key derivation function (fast, cryptographically secure random numbers).
- $wgHKDFSecret (在版本1.43移除) – Secret for HMAC-based key derivation function (fast, cryptographically secure random numbers).
- $wgHooks – 全域钩列表。
- $wgHTCPMulticastTTL – HTCP组播清除
- $wgHTCPRouting – Routing configuration for HTCP multicast purging.
- $wgHtml5Version – Defines the value of the version attribute in the
<html>
tag, if any. - $wgHTMLFormAllowTableFormat (在版本1.42移除) – Allow form components to render tables.
- $wgHTTPConnectTimeout – Timeout for connections done internally (in seconds)
- $wgHTTPMaxTimeout – The maximum HTTP request timeout in seconds.
- $wgHTTPMaxConnectTimeout – The maximum HTTP connect timeout in seconds.
- $wgHTTPImportTimeout – Timeout for HTTP requests done internally for transwiki imports, in seconds.
- $wgHTTPProxy – 用于cURL请求的代理
- $wgHttpsPort – Port where you have HTTPS running. Supports HTTPS on non-standard ports.
- $wgHTTPTimeout – Timeout for HTTP requests done via cURL.
I
- $wgIgnoreImageErrors – If true, inline scaled images will still produce
<img>
tags ready for output instead of showing an error message. - $wgIllegalFileChars (在1.41版本中已弃用) – Override the default list of illegal characters in file names.
- $wgImageLimits – A list of user-selectable limits for the image thumbnail size on image description pages.
- $wgImageMagickConvertCommand – The command used to invoke ImageMagick.
- $wgImageMagickTempDir – Temporary directory used for ImageMagick.
- $wgImagePreconnect – Add a preconnect link for browsers to a remote FileRepo host..
- $wgImgAuthDetails – Display reason access to uploaded file was denied to users (img_auth only)
- $wgImgAuthPath – The base path for
img_auth.php
. - $wgImgAuthUrlPathMap – Map of relative URL directories to match to internal
mwstore://
base storage paths. - $wgImplicitGroups – Groups that are not shown on Special:Listusers or somewhere else
- $wgImplicitRights (在版本1.41引入) – A list of implicit rights, in addition to the ones defined by the core.
- $wgImportSources – List of interwiki prefixes for wikis we'll accept as sources for Special:Import
- $wgImportTargetNamespace – Wiki间导入的可选默认目标名称空间。
- $wgIncludeLegacyJavaScript (在版本1.39移除) – Whether to include the mediawiki.legacy JavaScript library (old wikibits.js), and its dependencies.
- $wgInternalServer – Squid已知的内部服务器名称(如果不同于
$wgServer
)。 - $wgInterlanguageLinkCodeMap – 当跨维基代码不完全匹配时,跨语言链接代码到语言代码的映射可以覆写显示的语言名称。
- $wgInterwikiCache – Interwiki cache as an associative array.
- $wgInterwikiExpiry – Expiry time for memcached cache of
interwiki
table. - $wgInterwikiFallbackSite – Used by maintenance scripts to dump
interwiki
table - $wgInterwikiLogoOverride (在版本1.41引入) – List of interwiki logos overrides.
- $wgInterwikiMagic – Treat language links as magic connectors, not inline links.
- $wgInterwikiPrefixDisplayTypes (在版本1.39移除) – Mapping of interwiki index prefixes to descriptors that can be used to change the display of interwiki search results.
- $wgInterwikiScopes – 由
getInterwikiCache()
使用,以从跨wiki数据库文件中检索 - $wgInvalidateCacheOnLocalSettingsChange – Setting this to true will invalidate all cached pages whenever
LocalSettings.php
is changed - $wgInvalidPasswordReset – Specifies if users should be sent to a password-reset form on login in case of an inadequate password.
- $wgInvalidRedirectTargets – Array of invalid page redirect targets.
- $wgInvalidUsernameCharacters – 创建新账号时阻止的字符。
- $IP – 安装目录的完整路径。
J
- $wgJobBackoffThrottling – Number of times work items of a job type can be run per second.
- $wgJobClasses – Maps jobs to their handling classes.
- $wgJobQueueIncludeInMaxLagFactor – Whether to include the number of jobs that are queued for the API's maxlag parameter.
- $wgJobRunRate – 每个请求要执行的作业数。
- $wgJobSerialCommitThreshold (在版本1.42移除) – Make job runners commit changes for replica DB-lag prone jobs one job at a time.
- $wgJobTypeConf – Configuration for job storage.
- $wgJobTypesExcludedFromDefaultQueue – Jobs that must be explicitly requested, i.e. aren't run by job runners unless special flags are set.
- $wgJpegTran – Path to jpegtran, for lossless JPEG rotation.
- $wgJpegPixelFormat – Sets YUV chroma subsampling mode for JPEG thumbnails
- $wgJpegQuality – When scaling a JPEG thumbnail, this is the quality we request from the backend.
K
L
- $wgLangObjCacheSize (在版本1.37移除) – Language cache size, or really how many languages can we handle simultaneously without degrading to crawl speed.
- $wgLanguageCode – 网站语言代码。
- $wgLanguageConverterCacheType – The cache type for storing language conversion tables.
- $wgLBFactoryConf – Configuration for the ILBFactory service
- $wgLearnerEdits – Determines the number of edits needed to qualify at the "Learner" experience level.
- $wgLearnerMemberSince – Determines the number of days needed since account creation to qualify at the "Learner" experience level.
- $wgLegacyEncoding – Set this to the character set, which you used before you updated to MediaWiki 1.5 (eg 'ISO-8859-1'). MediaWiki will then perform a temporary character set conversion when loading old revisions, which are not marked with "utf-8" flag (revisions created with MediaWiki 1.4 and earlier).
- $wgLegacyJavaScriptGlobals (在版本1.37移除) – Whether or not to assign configuration variables to the global window object.
- $wgLegacySchemaConversion (在版本1.39移除) – Option to speed up the conversion step for large sites when migrating the schema from 1.4 to 1.5
- $wgLegalTitleChars (在1.41版本中已弃用) – 覆盖页面标题中的默认非法字符列表。
- $wgLinkHolderBatchSize – LinkHolderArray batch size.
- $wgLoadFileinfoExtension (在版本1.22.0 移除) – Switch for loading the FileInfo extension by PECL at runtime.
- $wgLoadScript – 至load.php的URL路径。
- $wgLocalDatabases – Other wikis on this site, can be administered from a single developer account.
- $wgLocalFileRepo – A single repository structure for the local repository.
- $wgLocalHTTPProxy – Reverse proxy to use for requests to domains in $wgLocalVirtualHosts
- $wgLocalInterwiki (在版本1.35移除) – 此维基的跨维基前缀。
- $wgLocalInterwikis – Array of interwiki prefixes for this wiki.
- $wgLocalisationCacheConf – Localisation cache configuration.
- $wgLocalStylePath – Same as
$wgStylePath
, but shouldn't point to an external domain. - $wgLocaltimezone – 伪造服务器认为它所在的时区。
- $wgLocalTZoffset – Add a distance to the server timezone in minutes.
- $wgLocalVirtualHosts – Local virtual hosts.
- $wgLockManagers – Array of configuration arrays for each lock manager.
- $wgLogActions – Lists the message key string for formatting individual events of each type and action when listed in the logs.
- $wgLogActionsHandlers – Same as
$wgLogActions
, but values are LogFormatter derived class names. - $wgLogExceptionBacktrace – Whether to send the exception backtrace to the error log.
- $wgLoggedOutMaxAge (在版本1.38移除) – 对于已登出用户,以最大寿命发送的用户代理缓存TTL。
- $wgLogHeaders – Lists the message key string for descriptive text to be shown at the top of each log type.
- $wgLoginLanguageSelector – Show a bar of language selection links in the user login and user registration forms.
- $wgLogNames – Lists the message key string for each log type.
- $wgLogo – 网站Logo的URL。
- $wgLogoHD (在版本1.42移除) – 高清版本网站Logo的URL。
- $wgLogos – The URL path to various wiki logos.
- $wgLogRestrictions – 限制僅有特定權限的人才能存取日誌。
- $wgLogTypes – 日志类型列表。
M
- $wgMainCacheType – 对象缓存设置
- $wgMainPageIsDomainRoot – Controls if the main page should be served as the domain root.
- $wgMainStash – 复制对象缓存设置
- $wgMainWANCache (在版本1.40移除) – Main wide area network cache configuration.
- $wgMangleFlashPolicy (在版本1.40移除) – Whether to mangle any
<cross-domain-policy>
(Adobe cross-domain policy) tags, to prevent XSS attacks. - $wgManualRevertSearchRadius – Maximum number of revisions of a page that will be checked against every new edit made to determine whether the edit was a manual revert.
- $wgMasterWaitTimeout (在1.24版本中已弃用) – How long to wait for a slave to catch up to the master.
- 在1.18版本中,所有与数学有关的设置都从MediaWiki核心中移除。 參見Extension:數學 。
- $wgMaxAnimatedGifArea – Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnail.
- $wgMaxArticleSize – 頁面最大大小,以KiB計。
- $wgMaxCredits – 设定您希望在文章下方显示的作者数目。
- $wgMaxExecutionTimeForExpensiveQueries – Max execution time for queries of several expensive special pages such as RecentChanges in milliseconds.
- $wgMaxGeneratedPPNodeCount (在版本1.35移除) – A complexity limit on template expansion: the maximum number of nodes generated by
Preprocessor::preprocessToObj()
- $wgMaxImageArea – 如果圖像使用太多工作內存,不要縮略圖像。
- $wgMaximalPasswordLength (在版本1.42移除) – 指定用户密码的最长长度。
- $wgMaximumMovedPages – Maximum number of pages to move at once when moving subpages with a page.
- $wgMaxInterlacingAreas – Array of max pixel areas for interlacing per MIME type.
- $wgMaxJobDBWriteDuration – Max time (in seconds) a job-generated transaction can spend in writes.
- $wgMaxMsgCacheEntrySize – Maximum entry size in the message cache, in bytes.
- $wgMaxNameChars – Maximum number of bytes in username.
- $wgMaxPPExpandDepth – Stack depth limit for expansion with the preprocessor.
- $wgMaxPPNodeCount – A complexity limit on template expansion: the maximum number of nodes visited by
PPFrame::expand()
- $wgMaxRedirectLinksRetrieved – Maximum number of links to a redirect page listed on Special:Whatlinkshere/RedirectDestination
- $wgMaxRedirects (在版本1.39移除) – 解析重定向时的最大重定向数量。
- $wgMaxShellFileSize – Maximum file size created by shell processes under linux, in KiB.
- $wgMaxShellMemory – Maximum amount of virtual memory available to shell processes under Linux, in KiB.
- $wgMaxShellTime – Maximum CPU time in seconds for shell processes under Linux.
- $wgMaxShellWallClockTime – Limit shell commands duration using real time.
- $wgMaxSigChars – 自定义签名的最大wiki代码长度。
- $wgMaxTemplateDepth – 模板内模板的最大递归深度。
- $wgMaxTocLevel – Maximum indent level of the table of contents (ToC).
- $wgMaxUploadSize – 最大上传文件大小(字节)
- $wgMaxUserDBWriteDuration – Max time (in seconds) a user-generated transaction can spend in writes.
- $wgMediaHandlers – Plugins for media file type handling.
- $wgMediaInTargetLanguage – Whether translatable media (currently, only SVG images) should be shown in page's target language
- $wgMemCachedDebug – 如果服务器无法正常运行,将在Setup.php中将其设置为false。
- $wgMemCachedPersistent – 是否使用与Memcached服务器的持久连接。
- $wgMemCachedServers – Memcached servers
- $wgMemCachedTimeout – Server connection timeout in microseconds.
- $wgMemoryLimit – The minimum amount of memory that MediaWiki "needs"; MediaWiki will try to raise PHP's memory limit if it's below this amount.
- $wgMessageCacheType – Message cache setting
- $wgMessagesDirs – 扩展消息目录。
- $wgMetaNamespace – 为“元”名字空间所使用的名字。
- $wgMetaNamespaceTalk – 名字空间的名称
- $wgMetricsFormat (在版本1.40移除) – Output format for the MetricsFactory service, e.g. 'statsd'.
- $wgMetricsTarget (在版本1.40移除) – Output target URI for the MetricsFactory service, e.g. udp://127.0.0.1:8125.
- $wgMetricsPrefix (在版本1.40移除) – Service name prefix for the MetricsFactory service.
- $wgMicroStashType (在版本1.42引入) – Central store for reliable short-lived data.
- $wgMimeDetectorCommand – Sets an external MIME detector program.
- $wgMimeInfoFile – Sets the MIME type info file to be used by MimeAnalyzer.php .
- $wgMimeType – The type to send in the
Content-Type
header. - $wgMimeTypeBlacklist (在版本1.37移除) – MIME types to disallow if $wgVerifyMimeType is enabled.
- $wgMimeTypeExclusions – MIME types to disallow if $wgVerifyMimeType is enabled.
- $wgMimeTypeFile – 设置MimeAnalyzer.php 使用的MIME类型定义文件。
- $wgMinimalPasswordLength (在版本1.42移除) – 指定用户密码的最短长度。
- $wgMinUploadChunkSize – Minimum upload chunk size, in bytes.
- $wgMiserMode – 啟用/停用資料庫密集型功能
- $wgMultiShardSiteStats – Whether
site_stats
table should have multiple rows. - $wgMultiContentRevisionSchemaMigrationStage (在版本1.39移除) – RevisionStore table schema migration stage (content, slots, content_models & slot_roles tables).
- $wgMWLoggerDefaultSpi – Default service provider for creating MWLogger instances.
N
- $wgNamespaceAliases – 为名字空间提供其他名称。
- $wgNamespaceContentModels – 为给定命名空间定义的内容类型
- $wgNamespaceProtection – 哪个名字空间能够被谁编辑?
- $wgNamespaceRobotPolicies – 允许基于每个名字空间自定义机器人方针。
- $wgNamespacesToBeSearchedDefault – Which namespaces should be searched?
- $wgNamespacesWithSubpages – 哪些名字空间应该支持子页面功能?
- $wgNativeImageLazyLoading – Toggles native image lazy loading, via the "loading" attribute.
- $wgNewPasswordExpiry – 通过邮件发送的临时密码在此时间(单位为秒)后失效。
- $wgNewUserLog – 是否保留新用户的注册日志,这能够在Special:Log/newusers查阅。
- $wgNoFollowDomainExceptions – External links to these domain names (or any subdomains) will not be set to
rel="nofollow"
. - $wgNoFollowLinks – 若设置为true,在维基文本中的外部链接将被赋予
rel="nofollow"
属性。 - $wgNoFollowNsExceptions – Namespaces in which 手册:$wgNoFollowLinks doesn't apply.
- $wgNonincludableNamespaces – 使用此选项可拒绝包含来自特定名字空间的页面。
- $wgNoReplyAddress – Reply-to address for automatically generated emails.
O
- $wgObjectCaches – Advanced object cache configuration.
- $wgObjectCacheSessionExpiry – 用于会话存储的过期时间(以秒为单位)。
- $wgOldRevisionParserCacheExpireTime – 旧版本的解析器缓存的过期时间(以秒为单位)。
- $wgOpenSearchDefaultLimit – Integer defining default number of entries to show on OpenSearch call.
- $wgOpenSearchDescriptionLength – 摘录的最小长度为
<Description>
。 - $wgOpenSearchTemplate (在版本1.42移除) – Template for OpenSearch suggestions.
- $wgOpenSearchTemplates – Templates for OpenSearch suggestions.
- $wgOpenTelemetryConfig (在版本1.43引入) – Configuration for OpenTelemetry instrumentation, or
null
to disable it. - $wgOriginTrials – Origin Trials tokens.
- $wgOutputPipelineStages (在版本1.43引入) – OutputPipelineStages to add to the DefaultOutputPipeline.
- $wgOverrideHostname – Override server hostname detection with a hardcoded value.
- $wgOverrideSiteFeed – Override the site's default rss/atom feed that appears on every page.
- $wgOverrideUcfirstCharacters – List of Unicode characters for which capitalization is overridden in Language::ucfirst.
P
- $wgPageCreationLog – 是否要維護頁面建立的日誌,可在Special:Log/create查看。
- $wgPageInfoTransclusionLimit – Limit template transclusion on InfoAction
- $wgPageLanguageUseDB – 允许更改MediaWiki页面的页面语言
- $wgPageLinksSchemaMigrationStage (在版本1.41引入) – The pagelinks table schema migration stage, for normalising pl_namespace and pl_title fields.
- $wgPagePropLinkInvalidations – Page property link table invalidation lists.
- $wgPagePropsHaveSortkey (在版本1.36移除) – Set to false if the
page_props
table doesn't have app_sortkey
column - $wgParserCacheExpireTime – Expiration time (in seconds) of cached parser information
- $wgParserCacheFilterConfig (在版本1.42引入) – Per-namespace configuration for the ParserCache filter.
- $wgParserCacheType – Parser cache setting
- $wgParserCacheUseJson (在版本1.39移除) – Enable JSON serialization for ParserCache.
- $wgParserConf (在版本1.36移除) – 路径配置
- $wgParserEnableLegacyHeadingDOM (在版本1.43引入) – Enable legacy HTML structure for headings in the output from the Parser.
- $wgParserEnableLegacyMediaDOM (在1.41版本中已弃用) – Enable legacy media HTML structure in the output from the Parser.
- $wgParserEnableUserLanguage (在版本1.43引入) – Set this to
true
to allow the{{USERLANGUAGE}}
magic word to return the actual user language. - $wgParserOutputHooks (在版本1.41移除) – Parser output hooks.
- $wgParserTestFiles (在版本1.40移除) – 由parserTests.php运行的解析器测试套件文件。
- $wgParserTestMediaHandlers – Media handler overrides for parser tests (they don't need to generate actual thumbnails, so a mock will do)
- $wgParsoidCacheConfig – Configuration for the caching related to parsoid output. The configuration contains the following keys:
- $wgParsoidSelectiveUpdateSampleRate (在版本1.43引入) – Sample rate for collecting statistics on Parsoid selective update.
- $wgParsoidSettings – Default Parsoid configuration.
- $wgPasswordAttemptThrottle – Limit password attempts per IP per address.
- $wgPasswordConfig – Configuration for built-in password types.
- $wgPasswordDefault – 當用雜湊演算打散密碼時的預設密碼類型。
- $wgPasswordExpirationDays – 用户密码的有效天数。
- $wgPasswordExpireGrace – The number of seconds after a user's password expires during which they can log in without a password change.
- $wgPasswordPolicy – 指定与密码强度和安全性相关的各种设置。
- $wgPasswordReminderResendTime – Minimum time, in hours, which must elapse between password reminder emails.
- $wgPasswordResetRoutes – Whether to allow password resets identified by various bits of data.
- $wgPasswordSender – 密码提醒电子邮件地址。
- $wgPhpCli – Executable path of PHP cli client (php/php5).
- $wgPHPSessionHandling – Whether to use PHP session handling (
$_SESSION
andsession_*()
functions) - $wgPingback – 如果为真,MediaWiki将不时报告有关其安装的数据,以帮助开发人员
- $wgPoolCountClientConf (在版本1.40引入) – Configuration array for the PoolCounter client.
- $wgPoolCounterConf – Configuration for processing pool control.
- $wgPopularPasswordFile (在版本1.35移除) – Where popular password file is located.
- $wgPreprocessorCacheThreshold – Preprocessor caching threshold.
- $wgPreviewOnOpenNamespaces – Namespaces where preview-on-first-edit is forced.
- $wgPriorityHints (在版本1.39移除) – Enable client-side Priority Hints.
- $wgPriorityHintsRatio (在版本1.39移除) – Ratio of requests that should get Priority Hints when the feature is enabled.
- $wgPrivilegedGroups (在版本1.40.1引入) – List of groups which should be considered privileged (user accounts belonging in these groups can be abused in dangerous ways).
- $wgProfileLimit (在版本1.35移除) – Only record profiling info for pages that took longer than this number of seconds to load.
- $wgProfileOnly (在版本1.35移除) – 不要将非分析信息放入日志文件
- $wgProfiler – Settings related to profiling.
- $wgProhibitedFileExtensions – 不允许上传具有这些扩展名的文件。
- $wgPropagateErrors – If true, the MediaWiki error handler passes errors/warnings to the default error handler after logging them.
- $wgProxyList – 禁止的IP地址列表
- $wgProxyWhitelist – Proxy allowlist: list of addresses that are assumed to be non-proxy despite what the other methods might say.
- $wgPutIPinRC – Log IP addresses in the recentchanges table.
Q
- $wgQueryCacheLimit – Number of rows to cache in 'querycache' table when miser mode is on.
- $wgQueryPageDefaultLimit – Integer defining default number of entries to show on query pages
R
- $wgRangeContributionsCIDRLimit – Shortest CIDR limits that can be checked in any individual range check at Special:Contributions.
- $wgRateLimits – 简单的速率限制器选项可以用于制动大量编辑。
- $wgRateLimitsExcludedIPs – Array of IPs/CIDR ranges which should never trigger the rate limiter.
- $wgRawHtml – 允许未经检查的原始HTML放在
<html>...</html>
里。 - $wgRawHtmlMessages – 可能包含原始HTML的訊息列表。
- $wgRCChangedSizeThreshold – 突出显示字符数差异小于此值。
- $wgRCEngines (在1.38版本中已弃用) – Legacy mapping from URI schemes to RCFeed subclasses.
- $wgRCFilterByAge – Filter $wgRCLinkDays by $wgRCMaxAge to avoid showing links for numbers higher than what will be stored.
- $wgRCLinkDays – List days options to list in the Special:Recentchanges and Special:Recentchangeslinked pages.
- $wgRCLinkLimits – 列出在Special:Recentchanges和Special:Recentchangeslinked页面中的更改限制选项。
- $wgRCFeeds – Configuration for sending RC updates
- $wgRCMaxAge – recentchanges 表中的项目会定期清除;超过此秒数的条目将消失。
- $wgRCShowChangedSize – 显示最近更改中更改的字符数。
- $wgRCShowWatchingUsers – 向观察的用户显示最近的更改,监视列表和页面历史记录视图。
- $wgRCWatchCategoryMembership – Treat category membership changes as a RecentChange.
- $wgReadOnly – 禁止编辑,显示给出的字符串作为原因。
- $wgReadOnlyFile – 如果找到此文件,则数据库将由于文件内容中给出的原因而被锁定。
- $wgReadOnlyWatchedItemStore – Set this to
true
to put the wiki watchlists into read-only mode. - $wgReauthenticateTime – Time frame for re-authentication
- $wgRecentChangesFlags – Flags (letter symbols) shown in recent changes and watchlist to indicate certain types of edits.
- $wgRedirectOnLogin – 在登录后重定向的页面
- $wgRedirectSources – 用于限制将显示为“重定向自”链接的 URL 的正则表达式。
- $wgReferrerPolicy – referrer policy meta 标签的值。
- $wgRegisterInternalExternals – Whether to register external links pointing to the same server.
- $wgRememberMe – Configures RememberMe authentication request added by AuthManager.
- $wgRemoveCredentialsBlacklist – List of AuthenticationRequest class names which are not removable through Special:RemoveCredentials and the removeauthenticationdata API.
- $wgRemoveGroups – 控制不同用户组在Special:Userrights可移除的用户组。
- $wgRenderHashAppend – 将配置的值附加到解析器缓存和sitenotice缓存键。
- $wgReportToEndpoints – 报告 API 的终结点列表。
- $wgReportToExpiry – Expiry of the endpoint definition for the Reporting API.
- $wgRepositoryBaseUrl – 存储库维基的基本URL。
- $wgRequestTimeLimit – Set a limit on server request wall clock time.
- $wgReservedUsernames – 列出的不应存在的用户名。
- $wgResourceBasePath – Default
remoteBasePath
value for resource loader modules. - $wgResourceLoaderClientPreferences (在版本1.40引入) (在版本1.41移除) – Enable client-side preferences for unregistered users.
- $wgResourceLoaderDebug – The default debug mode (on/off) for ResourceLoader requests.
- $wgResourceLoaderEnableJSProfiler – When enabled, execution of JavaScript modules is profiled client-side.
- $wgResourceLoaderEnableSourceMapLinks (在版本1.41引入) – Whether to include a SourceMap header in ResourceLoader responses for JavaScript modules.
- $wgResourceLoaderMaxage – How long a CDN or browser may cache a ResourceLoader HTTP response.
- $wgResourceLoaderMaxQueryLength – Maximum query string length for ResourceLoader requests.
- $wgResourceLoaderSources – Foreign module sources registry.
- $wgResourceLoaderStorageEnabled – Whether ResourceLoader should attempt to persist modules in localStorage on browsers that support the Web Storage API.
- $wgResourceLoaderStorageVersion – Cache version for client-side 资源加载器 module storage.
- $wgResourceLoaderUseObjectCacheForDeps (在版本1.44移除) – Use the main stash instead of the module_deps table for indirect dependency tracking
- $wgResourceLoaderValidateJS – Validate JavaScript code loaded from wiki pages.
- $wgResourceModules – Array of all extra defined modules that can later be loaded during the output.
- $wgResourceModuleSkinStyles – Array of additional skin-provided stylesheets to existing ResourceLoader modules.
- $wgResponsiveImages – 是否为高DPI显示输出高分辨率图像
- $wgRestAPIAdditionalRouteFiles – Additional REST API Route files.
- $wgRestAllowCrossOriginCookieAuth – Allows authenticated cross-origin requests to the REST API with session cookies.
- $wgRestPath – The URL path to rest.php.
- $wgRestSandboxSpecs (在版本1.43引入) – A list of OpenAPI specs to be made available for exploration on Special:RestSandbox.
- $wgRestrictDisplayTitle – 将
{{DISPLAYTITLE}}
限制为归一化为相同典范数据库密钥的标题 - $wgRestrictionLevels – 可以在“页面保护”页面上选择的权限键集。
- $wgRestrictionTypes – 能被限制的操作
- $wgRevertedTagMaxDepth – Maximum depth (revision count) of reverts that will have their reverted edits marked with the mw-reverted change tag.
- $wgRevisionCacheExpiry – Cache extracted revision text in MemCached.
- $wgRevisionSlotsCacheExpiry (在版本1.43引入) – Revision slots may be cached in the main WAN cache and/or the local server cache to reduce load on the database.
- $wgRevokePermissions – Permission keys revoked from users in each group.
- $wgRightsIcon – Override for copyright metadata.
- $wgRightsPage – 覆盖版权元数据。
- $wgRightsText – 覆盖版权元数据。
- $wgRightsUrl – 版权的元数据
- $wgRunJobsAsync – Controls whether on-request jobs are run asynchronously or synchronously.
S
- $wgScript – index.php的URL。
- $wgScriptPath – URL基路径。
- $wgSearchForwardUrl – Set this to a URL to forward search requests to some external location.
- $wgSearchHighlightBoundaries – Regexp to match word boundaries
- $wgSearchMatchRedirectPreference – Set
true
to allow logged-in users to set a preference whether or not matches in search results should force redirection to that page. - $wgSearchRunSuggestedQuery – If search returns zero results and current search engine has a "did you mean" suggestion, results for the suggestion will be shown.
- $wgSearchSuggestCacheExpiry – Expiry time for search suggestion responses.
- $wgSearchType – Type of search used for the wiki.
- $wgSearchTypeAlternatives – Alternative search types.
- $wgSecretKey – This should always be customized to a secret, unique string in LocalSettings.php .
- $wgSecureLogin – 是否允许用户在来自http的时候使用https进行身份验证。
- $wgSemiprotectedRestrictionLevels – 被認定為「半保護」的限制級別
- $wgSend404Code – 为未找到的页面发送 404 HTTP 状态。
- $wgServer – 服务器的基础URL。
- $wgServerName – 不包含协议的服务器名称。
- $wgServiceWiringFiles – List of service wiring files to be loaded by the default instance of MediaWikiServices.
- $wgSessionCacheType – 用于存储会话数据的缓存类型。
- $wgSessionInsecureSecrets (在版本1.43移除) – Allows MediaWiki to work at the cost of storing sensitive session data insecurely.
- $wgSessionName – Override to customize the session name.
- $wgSessionPbkdf2Iterations – Number of internal PBKDF2 iterations to use when deriving session secrets.
- $wgSessionProviders – Session provider configuration.
- $wgSessionSecret – Secret for session storage.
- $wgSharedDB – 共享的数据库的名称。
- $wgSharedPrefix – 用于共享数据库表的表前缀。
- $wgSharedSchema – The table schema for the shared database
- $wgSharedTables – 在
$wgSharedDB
启用时要共享的数据库表(没有前缀)。 - $wgSharedThumbnailScriptPath – Same as
$wgThumbnailScriptPath
, but for shared uploads. - $wgSharedUploadDBname – DB name with metadata about shared directory.
- $wgSharedUploadDBprefix – 共享图像上传的数据库前缀
- $wgSharedUploadDirectory – Path on the file system where shared uploads can be found.
- $wgSharedUploadPath – Full path to the web server where shared uploads can be found.
- $wgSharpenParameter – Sharpening parameter to ImageMagick.
- $wgSharpenReductionThreshold – Reduction in linear dimensions below which sharpening will be enabled.
- $wgShellboxSecretKey – The secret key for HMAC verification of Shellbox requests.
- $wgShellboxShell (在版本1.42引入) – The POSIX-compatible shell to use when running scripts.
- $wgShellboxUrl (在版本1.40移除) – Shell commands can be run on a remote server using Shellbox.
- $wgShellboxUrls – 可以使用 Shellbox 在远程服务器上运行 Shell 命令。
- $wgShellCgroup – Limit shell commands memory using linux Cgroups.
- $wgShellRestrictionMethod – Method to use to restrict shell commands
- $wgShellLocale (在版本1.38移除) – Locale for
LC_ALL
. - $wgShortPagesNamespaceBlacklist (在版本1.37移除) – Optional array of namespaces which should be blacklisted from Special:ShortPages
- $wgShortPagesNamespaceExclusions – Optional array of namespaces which should be excluded from Special:ShortPages
- $wgShowArchiveThumbnails – Whether to show thumbnails for old images on the image description page.
- $wgShowCreditsIfMax – 如果作者数目大于
$wgMaxCredits
,则只显示其中$wgMaxCredits
位作者。 - $wgShowDBErrorBacktrace (在版本1.37移除) – If true, show a backtrace for database errors.
- $wgShowDebug – Show debug data at bottom of content area
- $wgShowDiffToggleSwitch (在版本1.41引入) (在1.41版本中已弃用) – Specifies if users should see the inline switch in diff pages.
- $wgShowExceptionDetails – If set to true, uncaught exceptions will print a detailed stack trace to output.
- $wgShowEXIF – Show EXIF data at the end of file description pages.
- $wgShowHostnames – 如果设置为
true
,则通过API和HTML注释公开主机名。 - $wgShowLogoutConfirmation (在版本1.42引入) – Whether to display a confirmation screen during user log out.
- $wgShowRollbackEditCount – Maximum number to count when a rollback link is shown
- $wgShowSQLErrors (在版本1.37移除) – Whether to show SQL errors on "we're sorry, but there has been a database error" pages.
- $wgShowUpdatedMarker – Show new changes: bold in watchlist, with "updated since my last visit" in history.
- $wgSidebarCacheExpiry – Expiry time for the sidebar cache, in seconds.
- $wgSignatureAllowedLintErrors – 不會導致簽名驗證失敗的lint錯誤列表。
- $wgSignatureValidation – 簽名驗證的行為。
- $wgSitemapNamespaces – Array of namespaces identified by their IDs to generate a sitemap or false for all namespaces.
- $wgSitemapNamespacesPriorities – Custom namespace priorities for sitemaps.
- $wgSitename – 网站的名称。
- $wgSiteNotice – 在每个页面的顶部显示一条消息。
- $wgSiteTypes – Register handlers for specific types of sites.
- $wgSkinMetaTags – An array of open graph tags which should be added by all skins.
- $wgSkinsPreferred – List of preferred skins to be listed higher in Special:Preferences
- $wgSkipSkin (在版本1.35移除) – Specify the name of a skin that should not be presented in the list of available skins.
- $wgSkipSkins – Specify the name of skins that should not be presented in the list of available skins.
- $wgSlaveLagCritical (在版本1.36移除) – If lag is higher than this value, show a more obvious warning than
$wgSlaveLagWarning
. - $wgSlaveLagWarning (在版本1.36移除) – If lag is higher than this value, show a warning in some special pages (like watchlist).
- $wgSMTP – 用于配置与SMTP服务器通信的连接信息。
- $wgSoftBlockRanges – IP ranges that should be considered soft-blocked (anon-only, account creation allowed)
- $wgSoftwareTags – 要启用的核心标签列表。
- $wgSortedCategories (在版本1.43引入) – Whether to sort categories in OutputPage for display.
- $wgSpamRegex – A regular expression pattern which, if the page content matched it, stops a page from being saved.
- $wgSpecialContributeSkinsDisabled (在版本1.40引入) (在版本1.40移除) – List of skins to not show the Special:Contribute page
- $wgSpecialContributeSkinsEnabled (在版本1.40引入) – List of skins that show a link to the Special:Contribute page
- $wgSpecialPageCacheUpdates – Additional functions to be performed with updateSpecialPages.php .
- $wgSpecialPages – A list of custom special pages.
- $wgSpecialSearchFormOptions – Options for Special:Search completion widget form created by SearchFormWidget class.
- $wgSpecialVersionShowHooks – 是否在Special:Version中显示$wgHooks的内容。
- $wgSQLiteDataDir – 覆盖默认SQLite数据目录。
- $wgSQLMode – Value for the MySQL
sql_mode
parameter - $wgSquidMaxage (在版本1.35移除) – Cache timeout for the squid.
- $wgSquidPurgeUseHostHeader (在版本1.42移除) – Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers.
- $wgSquidServers (在版本1.35移除) – An array of individual proxy servers to help MediaWiki detect if the request has been proxied.
But also to send back to the proxy PURGE commands on changes. - $wgSquidServersNoPurge (在版本1.35移除) – Same as
$wgSquidServers
, except that MW has no methods to send HTTP PURGE to an origin part of the configured ranges - $wgStatsCacheType (在版本1.42移除) – The object cache type for stats storage.
- $wgStatsdMetricPrefix – Prefix for metric names sent to $wgStatsdServer
- $wgStatsdSamplingRates (在版本1.43移除) – Sampling rate for statsd metrics as an associative array of patterns and rates.
- $wgStatsdServer – Statsd伺服器的主機或主機:端口。
- $wgStatsFormat (在版本1.40引入) – Output format for the StatsFactory service, e.g. 'statsd'.
- $wgStatsPrefix (在版本1.40引入) – Service name prefix for the StatsFactory service.
- $wgStatsTarget (在版本1.40引入) – Output target URI for the StatsFactory service, e.g. udp://127.0.0.1:8125.
- $wgStrictFileExtensions – 切换:用户是否可以上传
$wgFileExtensions
未涵盖的文件。 - $wgStructuredChangeFiltersLiveUpdatePollingRate – Polling rate, in seconds, used by the 'live update' feature of Special:RecentChanges and Special:Watchlist
- $wgStyleDirectory – The file system path to the skins directory.
- $wgStylePath – 皮肤目录的URL。
- $wgStyleSheetPath (在版本1.38移除) – 不要设置
$wgStyleSheetPath
。请改用$wgStylePath
。 - $wgSummarySpamRegex – Same as
$wgSpamRegex
except for edit summaries. - $wgSuspiciousIpExpiry – Time in seconds to remember IPs for, for the purposes of logging IP changes within the same session.
- $wgSVGConverter – A key from
$wgSVGConverters
to use as converter. - $wgSVGConverterPath – Path to the directory of the SVG converter being used.
- $wgSVGConverters – List of paths to Scalable Vector Graphics (SVG) converters.
- $wgSVGMaxSize – Don't scale a SVG larger than this unless its native size is larger.
- $wgSVGMetadataCutoff – 不读取指定位置之后的SVG元数据。
- $wgSVGNativeRendering (在版本1.41引入) – Whether native rendering by the browser agent is allowed.
- $wgSVGNativeRenderingSizeLimit (在版本1.41引入) – Limit on an SVG file's size for it to be rendered by the client, in bytes.
- $wgSysopEmailBans (在版本1.35移除) – Allow sysops to ban users from accessing Special:Emailuser.
T
- $wgTempAccountCreationThrottle (在版本1.42引入) – Number of temporary accounts each IP address may create per specified period(s).
- $wgTempAccountNameAcquisitionThrottle (在版本1.42引入) – Number of temporary accounts usernames each IP address may acquire per specified period(s).
- $wgTempCategoryCollations – Additional category collations to store during LinksUpdate.
- $wgTemplateLinksSchemaMigrationStage (在版本1.43移除) – templatelinks table schema migration stage, for normalizing tl_namespace and tl_title fields.
- $wgTextModelsToParse – Determines which types of text are parsed as wikitext.
- $wgThumbLimits – List of image thumbnail sizes users can pick from.
- $wgThumbPath – The base path for thumb_handler.php.
- $wgThumbnailBuckets – List of intermediary thumbnail sizes to use to speed up thumbnail rendering.
- $wgThumbnailEpoch – 如果渲染的缩略图文件早于此时间戳,则会根据需要重新渲染它们,就像该文件不存在一样。
- $wgThumbnailMinimumBucketDistance – Minimal distance between intermediary thumbnail size and target thumbnail size.
- $wgThumbnailNamespaces (在版本1.40引入) – Defines what namespaces thumbnails will be displayed for in Special:Search.
- $wgThumbnailScriptPath – Path to thumb.php , if you want thumbnail generation on the fly.
- $wgThumbUpright – Scaling factor applied to width of images when parameter 'upright' is used.
- $wgTidyConfig – Configuration of the HTML postprocessing tool to use for fixing invalid HTML code.
- $wgTiffThumbnailType – 要将 TIFF 图像转换为的格式和 MIME 类型。
- $wgTmpDirectory – 临时目录的路径。
- $wgTrackingCategories (在1.25版本中已弃用) – The list of messages representing tracking categories which are listed at Special:TrackingCategories.
- $wgTransactionalTimeLimit – Throttle for timing out transactional POST requests
- $wgTranscludeCacheExpiry – 维基间包含缓存的到期时间
- $wgTranslateNumerals – For Hindi, Arabic, and other languages with their own numeral systems, use local numerals instead of Western style (0-9) numerals in some areas of the interface.
- $wgTranslationAliasesDirs (在版本1.42引入) – Message directories containing JSON files for localisation of special page aliases.
- $wgTrivialMimeDetection – Switch for trivial MIME detection.
- $wgTrustedMediaFormats – 受信任媒体类型和MIME类型的列表。
- $wgTrxProfilerLimits – Performance expectations for DB usage
U
- $wgUniversalEditButton – Enable the UniversalEditButton for browsers that support it.
- $wgUnwatchedPageSecret – If active watchers (per $wgWatchersMaxAge ) are this number or less, do not disclose it.
- $wgUnwatchedPageThreshold – Allows users without the "unwatchedpages" user right to view the number of page watchers for a specified page via the "info" action if the number of watchers is above the specified threshold.
- $wgUpdateCompatibleMetadata – Whether to automatically update the
img_metadata
field if it is outdated but compatible with the current version. - $wgUpdateRowsPerJob – Number of rows to update per job.
- $wgUpdateRowsPerQuery – Number of rows to update per query.
- $wgUpgradeKey – Password that controls access to web-based updater.
- $wgUploadBaseUrl – The base URL for uploaded images if shared upload directory isn't to be used
- $wgUploadDialog – Configuration for Upload dialog and the files uploaded through it.
- $wgUploadDirectory – 上传目录的文件系统路径。
- $wgUploadMaintenance – 暂时禁止文件删除/恢复。
- $wgUploadMissingFileUrl – 将缺少的文件(“红色文件链接”)指向自定义URL的维基链接。
- $wgUploadNavigationUrl – Point the upload navigation link in the sidebar to a custom URL.
- $wgUploadPath – 上傳目錄的路徑片段。
- $wgUploadSizeWarning – 如果上传的文件大于此限制,则发出警告。
- $wgUploadStashMaxAge – The maximum age of temporary (incomplete) uploaded files.
- $wgUploadStashScalerBaseUrl (在1.36版本中已弃用) – To enable remote on-demand scaling, set this to the thumbnail base URL.
- $wgUploadThumbnailRenderHttpCustomDomain – When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom domain to send the HTTP request to.
- $wgUploadThumbnailRenderHttpCustomHost – When using the "http" $wgUploadThumbnailRenderMethod, lets one specify a custom Host HTTP header.
- $wgUploadThumbnailRenderMap – An array of thumbnail widths to be rendered at upload time.
- $wgUploadThumbnailRenderMethod – The method through which the thumbnails will be prerendered for the entries in $wgUploadThumbnailRenderMap.
- $wgUrlProtocols – Defines the protocols which are supported and translated in HTML by the mediawiki parser.
- $wgUseAjax (在版本1.38移除) – 启用AJAX支持
- $wgUseAutomaticEditSummaries – MediaWiki是否应该产生自动编辑摘要。
- $wgUseCategoryBrowser (在版本1.38移除) – Enable/Disable experimental breadcrumb (or dmoz-style) category browsing.
- $wgUseCdn – 启用/禁用页面视图缓存。
- $wgUseCodexSpecialBlock (在版本1.42引入) – Whether to use Codex in Special:Block form.
- $wgUseCombinedLoginLink – Login / create account link behavior when it's possible for anonymous users to create an account.
- $wgUseContentMediaStyles (在版本1.41引入) (在1.41版本中已弃用) – Temporary flag to stop shipping the styles for the legacy media HTML structure that has been replaced when $wgParserEnableLegacyMediaDOM is
false
. - $wgUseCopyrightUpload – 如果要在上载时获得详细的版权信息表格,请将其设置为true。
- $wgUseDatabaseMessages – 使用MediaWiki:命名空间翻译
- $wgUseEnotif – Overall "use Enotif" setting
- $wgUseESI (在1.33版本中已弃用) – If you run Squid3 with ESI support, enable this.
- $wgUseFileCache – 为未注册的查看器创建静态HTML页以减少数据库流量。
- $wgUseFilePatrol – 使用文件巡查检查Special:Newfiles 上的新文件
- $wgUseGzip – 用GZip存儲緩存的頁面。
- $wgUseImageMagick – Set to true to use ImageMagick for image resizing.
- $wgUseImageResize – Whether to enable dynamic server-side image resizing (thumbnailing)
- $wgUseInstantCommons – Enable 即时共享资源 , i.e. the use of Wikimedia Commons as a shared repository
- $wgUseLegacyMediaStyles (在版本1.41引入) – Temporary flag to re-enable the old thumbnail styles provided by core for the legacy media HTML structure.
- $wgUseLocalMessageCache – Make a local copy of the message cache, in addition to memcached.
- $wgUseMediaWikiUIEverywhere (在版本1.42移除) – 在支持的场合使用MediaWiki UI。
- $wgUseNewMediaStructure (在版本1.37移除) – Emit using the new media structure described at, Parsing/Media structure
- $wgUseNPPatrol – 使用新頁面巡查以檢查破壞
- $wgUsePathInfo – 是否使用“更漂亮”的URL。
- $wgUsePigLatinVariant – 是否启用英语的猪拉丁语变体(en-x-piglatin),用于简化变体开发工作。
- $wgUsePrivateIPs – 是否接受内网X转发IP
- $wgUseRCPatrol – 使用最近更改巡查以檢查破壞
- $wgUserEmailConfirmationTokenExpiry – The time, in seconds, after which a email address confirmation token expires.
- $wgUserEmailUseReplyTo – Set to
true
to put the sending user's email in a Reply-To header instead of From. - $wgUserRegistrationProviders (在版本1.41引入) – User registration timestamp provider classes
- $wgUserFallbackLanguages – maximum number of fallback languages per user
- $wgUserrightsInterwikiDelimiter – 在Special:UserRights用作用户名和数据库名称之间的分隔符字符。
- $wgUsersNotifiedOnAllChanges – 当一个Wiki上的发生改动时,向数组中的用户发送邮件通知。
- $wgUseSameSiteLegacyCookies (在版本1.42移除) – Send a legacy cookie with an
ss0-
prefix whenSameSite=None
is sent. - $wgUseSharedUploads – Whether to look in a shared repository when a file is not found locally
- $wgUseSiteCss – 使用网站层叠样式表(CSS)
- $wgUseSiteJs – 使用网站的JavaScript页面
- $wgUseSquid (在版本1.35移除) – 启用/禁用Squid。
- $wgUseTagFilter – Allow filtering by change tag in recentchanges, history, etc.
- $wgUseTinyRGBForJPGThumbnails – Swaps JPGs that use sRGB ICC profile with TinyRGB profile
- $wgUseTwoButtonsSearchForm (在版本1.36移除) – 侧边栏的搜索表单行为。
- $wgUseXssLanguage (在版本1.41引入) – Whether to enable the x-xss language code, used to make checking for XSS issues more convenient.
V
- $wgValidSkinNames – List of valid skin names. Skins can optionally use this variable to tell MediaWiki that they are available.
- $wgVariantArticlePath – 用于含有语言变体的链接。
- $wgVaryOnXFP – Whether to add
X-Forwarded-Proto
to theVary
header for API requests and RSS/Atom feeds. - $wgVectorResponsive – Make Vector more responsive.
- $wgVectorUseIconWatch – 观看和取消观看为星形图标,而不是链接(仅适用于Vector皮肤界面)。
- $wgVectorUseSimpleSearch – Vector皮肤下搜索表单的外观。
- $wgVerifyMimeType – Determines if the MIME type of uploaded files should be checked.
- $wgVerifyMimeTypeIE (在版本1.40移除) – Determines whether extra checks for Internet Explorer type detection should be applied.
- $wgVersion (在1.35版本中已弃用) – MediaWiki版本号。
- $wgVirtualRestConfig – REST services configuration
- $wgVirtualDomainsMapping (在版本1.41引入) – Mapping of virtual database domains to actual databases.
- $wgVueDevelopmentMode – Whether to use the development version of Vue.js.
W
- $wgWANObjectCache (在版本1.40引入) – Extra parameters to the WANObjectCache constructor.
- $wgWANObjectCaches (在版本1.40移除) – Advanced Wide-Area-Network cache configuration.
- $wgWantedPagesThreshold – 在页面出现在“Special:需要的页面”上之前必须链接到页面的最小页面数。
- $wgWatchersMaxAge – Page watchers inactive for more than this many seconds are considered inactive. Used mainly by action=info .
- $wgWatchlistExpiry – 开启监视列表过期功能。
- $wgWatchlistExpiryMaxDuration – Relative maximum duration for watchlist expiries, as accepted by strtotime().
- $wgWatchlistPurgeRate – The per-edit rate at which expired watchlist items will be purged from the database.
- $wgWhitelistRead – 一些匿名用户能够阅读的页面。
- $wgWhitelistReadRegexp – Whitelists publicly readable titles with regular expressions.
- $wgWikidiff2Options (在版本1.41引入) – Options for wikidiff2
- $wgWikiDiff2MovedParagraphDetectionCutoff (在1.34版本中已弃用) – This setting controls the maximum number of paragraphs to compare before it bails out.
- $wgWikiFarmSettingsDirectory – A directory that contains site-specific configuration files.
- $wgWikiFarmSettingsExtension – The file extension to be used when looking up site-specific settings files in $wgWikiFarmSettingsDirectory , such as
'json'
or'yaml'
. - $wgWikiFarmSiteDetector (在版本1.39移除) – Callback to use to determine the name of the requested site for the current request.
X
- $wgXhtmlNamespaces – Permit other XHTML namespaces in addition to the w3.org default.
- $wgXmlDumpSchemaVersion – The schema to use by default when generating XML dumps.
- $wgXMLMimeTypes – An array of XML MIME types we can detect via MimeMagic