MediaWiki 1.39
Appearance
MediaWiki |
---|
|
所有版本 |
版本生命周期 |
MediaWiki 1.39是MediaWiki当前的长期支持发行版本。
参阅发行说明文件获取完整更新列表。
从2022年3月到2022年9月,通过增量更新的"wmf"-分支部署在维基媒体基金会管理的wiki上。 1.39.0的稳定版本已于2022年11月30日发行。
下载mediawiki-1.39.10.tar.gz或者使用git更新REL1_39
分支来获得此版本。
MediaWiki 1.39不再支援PHP 7.3,需要PHP 7.4.3或更高版本。
MediaWiki 1.39 |
---|
在维基媒体网站上部署 |
1.39 版本中對系統管理員的配置變更
已添加的新配置选项
$wgAutoCreateTempUser
– 這個組態會在頁面儲存時自動建立使用者。$wgCopyUploadAllowOnWikiDomainConfig
– 這個組態決定管理員能否使用「MediaWiki:Copyupload-allowed-domains」的系統訊息來定義哪些網域可以與「通過 URL 上傳」的工具一起使用。$wgCdnMatchParameterOrder
– This can be set tofalse
if MediaWiki is behind a CDN that re-orders query parameters. This will make the code that matches request URLs to canonical CDN URLs insensitive to parameter order.$wgMultiShardSiteStats
– This allows you to split site_stats across multiple rows. Only useful for very large, heavily edited wikis. (T306589)
已更改的配置选项
$wgInvalidUsernameCharacters
– This setting now contains the char '>
', which is now the reserved delimiter for external user names.$wgLocalFileRepo
– The default serialization method for file meta-data has been changed to JSON. You can revert it to PHP by setting the propertyuseJsonMetadata
tofalse
.$wgLBFactoryConf
– TheconfigCallback
flag can now be set to a callback function that returns an array with keys to update in$wgLBFactoryConf
. This can be used to update the database configuration on the fly, e.g. to take replica hosts out of rotation.$wgDBservers
and$wgLBFactoryConf
– TheDBO_SSL
flag has been deprecated in favour of a booleanssl
parameter.$wgObjectCaches
– TheglobalKeyLB
andlocalKeyLB
flags are no longer supported.
已移除的配置选项
$wgMultiContentRevisionSchemaMigrationStage
- This transition flag, deprecated since MediaWiki 1.35, has been removed; the data migration is over.$wgActorTableSchemaMigrationStage
- This transition flag has been removed; the data migration is over.$wgWikiFarmSiteDetector
– This experimental setting has been removed without replacement. Use theMW_WIKI_NAME
environment variable to specify the name of the site for which to load configuration. Using theWIKI_NAME
environment variable for this purpose is deprecated.$wgParserCacheUseJson
- The ParserCache now always uses JSON serialization. Reading old non-JSON cache entries is still supported. The setting had been deprecated since 1.36.$wgAllowJavaUploads
- To allow uploads of JAR files, removeapplication/java
from$wgMimeTypeExclusions
.$wgMaxRedirects
– This broken feature was removed, as it never worked as intended (T296430).$wgElementTiming
– This experimental, default-disabled feature has been removed without replacement.$wgPriorityHints
and$wgPriorityHintsRatio
– The related experimental feature has been removed without replacement.$wgIncludeLegacyJavaScript
– This flag has been removed, without loss of any functionality in this release. Most former "wikibits" functions were removed after deprecation in previous releases. The remaining functions, such asimportScript
, are now available unconditionally.$wgLegacySchemaConversion
- This unused setting has been removed.$wgInterwikiPrefixDisplayTypes
- 该未使用的设置项被移除。$wgMangleFlashPolicy
– This is no longer functional, and is now deprecated. Users who are somehow still using Flash as a browser extension will be exposed to CSRF vulnerabilities.
New user-facing features in 1.39
- 在页面保存时可选的自动创建用户选项(
$wgAutoCreateTempUser
)。 - Administrators now have the option to delete/undelete the associated "Talk" page when they are (un)deleting a given page.
deletetalk
andundeletetalk
options were added to the 'delete' and 'undelete' action APIs in MW 1.38+. {{=}}
is now a wikitext built-in magic word, expanding to=
. This is conventionally used as an escape mechanism to allow the use of=
in unnamed template arguments. Defining Template:= to expand to something other than=
has been deprecated since 1.36, with affected pages put into a special tracking category for migration.- (T284020) Bot passwords are now supported when using the REST API.
1.39 中的 bug 修复
- (T314013)
$wgExtraNamespaces
no longer overrides canonical namespace names specified in extension.json files. While this setting can still be used to rename extension-defined namespaces, system administrators may need to run namespaceDupes.php after upgrading.
Action API 在 1.39 中的变化
- New
undeletetalk
parameter on action=undelete that allows you to restore all revisions of the associated talk page.
在 1.39 中的语言更新
MediaWiki supports over 350 languages. Many localisations are updated regularly. Below only new and removed languages are listed, as well as changes to languages because of Phabricator reports.
- Actual localization was added for several languages, which were already in Names.php and even used for a Wikipedia:
- (T313200) Added language support for Rundi (Kirundi, rn).
- (T310976) Added language support for Tumbuka (ChiTumbuka, tum).
- (T314270) Added language support for Kanuri (kr).
- (T313199) Added language support for Sylheti (syl).
- (T311975) Added language support for Ghanaian Pidgin (gpe).
- (T307080) Added language support for Okinawan (ryu).
- (T307887) Added language support for Mooré (mos).
- (T308813) Added language support for Nigerian Pidgin (pcm).
- (T309763) Added language support for Tai Nüa (tdd).
- (T310040) Added language support for Fante (fat).
- (T311034) Added language support for Campidanese Sardinian (sro).
- (T315406) Fixed the autonym of the Iñupiaq language to "Iñupiatun".
- (T315677) Removed French fallback from the Fula language (ff).
- (T304920) In Swahili, The "Media" namespace is now "Media", as in English, and the "File" namespace is now "Faili". The old name of the "File" namespace was "Picha", and it's kept for backwards compatibility. If you manage a wiki in Swahili, and you use "Faili:" as a namespace anywhere in wikitext, and you mean to use it as "Media:", these need to be replaced to "Media:".
- (T309866) Some namespace translations were updated for Kyrgyz (ky). The old ones are retained as aliases for backwards compatibility.
- (T117845) Started the renaming of the language codes for Serbian from sr-ec and sr-el to sr-cyrl and sr-latn.
参见
- Top Features in the New MediaWiki 1.39 — Blog post about the MediaWiki 1.39 release; published February 10, 2023
子页面
- MediaWiki 1.39/Roadmap
- MediaWiki 1.39/ak
- MediaWiki 1.39/wmf.1
- MediaWiki 1.39/wmf.1/Changelog
- MediaWiki 1.39/wmf.10
- MediaWiki 1.39/wmf.10/Changelog
- MediaWiki 1.39/wmf.11/Changelog
- MediaWiki 1.39/wmf.12
- MediaWiki 1.39/wmf.12/Changelog
- MediaWiki 1.39/wmf.13
- MediaWiki 1.39/wmf.13/Changelog
- MediaWiki 1.39/wmf.14
- MediaWiki 1.39/wmf.14/Changelog
- MediaWiki 1.39/wmf.15
- MediaWiki 1.39/wmf.15/Changelog
- MediaWiki 1.39/wmf.16
- MediaWiki 1.39/wmf.16/Changelog
- MediaWiki 1.39/wmf.17
- MediaWiki 1.39/wmf.17/Changelog
- MediaWiki 1.39/wmf.18
- MediaWiki 1.39/wmf.18/Changelog
- MediaWiki 1.39/wmf.19
- MediaWiki 1.39/wmf.19/Changelog
- MediaWiki 1.39/wmf.2
- MediaWiki 1.39/wmf.2/Changelog
- MediaWiki 1.39/wmf.20/Changelog
- MediaWiki 1.39/wmf.21
- MediaWiki 1.39/wmf.21/Changelog
- MediaWiki 1.39/wmf.22
- MediaWiki 1.39/wmf.22/Changelog
- MediaWiki 1.39/wmf.23
- MediaWiki 1.39/wmf.23/Changelog
- MediaWiki 1.39/wmf.24/Changelog
- MediaWiki 1.39/wmf.25
- MediaWiki 1.39/wmf.25/Changelog
- MediaWiki 1.39/wmf.26
- MediaWiki 1.39/wmf.26/Changelog
- MediaWiki 1.39/wmf.27
- MediaWiki 1.39/wmf.27/Changelog
- MediaWiki 1.39/wmf.28
- MediaWiki 1.39/wmf.28/Changelog
- MediaWiki 1.39/wmf.3
- MediaWiki 1.39/wmf.3/Changelog
- MediaWiki 1.39/wmf.4
- MediaWiki 1.39/wmf.4/Changelog
- MediaWiki 1.39/wmf.5
- MediaWiki 1.39/wmf.5/Changelog
- MediaWiki 1.39/wmf.6
- MediaWiki 1.39/wmf.6/Changelog
- MediaWiki 1.39/wmf.7
- MediaWiki 1.39/wmf.7/Changelog
- MediaWiki 1.39/wmf.8
- MediaWiki 1.39/wmf.8/Changelog
- MediaWiki 1.39/wmf.9
- MediaWiki 1.39/wmf.9/Changelog