MediaWiki 1.39

From mediawiki.org
This page is a translated version of the page MediaWiki 1.39 and the translation is 28% complete.

MediaWiki 1.39は、MediaWikiの現行の長期サポートリリースです。 変更点の完全な一覧については、リリース ノート ファイルを参照してください。 2022年3月から9月に、番号が増える"wmf"ブランチを通じて、ウィキメディア財団のウィキ群に展開されました。 1.39.0 安定版リリースは2022年11月30日に公開されました。 mediawiki-1.39.7.tar.gz をダウンロードするか、Git 内REL1_39 ブランチをチェックアウトして、このリリースに追随してください。

MediaWiki 1.39ではPHP 7.3のサポートが廃止され、PHP 7.4.3以降が必要になります。

1.39におけるシステム管理者向けの設定変更

新しい設定

  • $wgAutoCreateTempUser – ページ保存時に自動的に作成される利用者アカウントに関する設定です。
  • $wgCopyUploadAllowOnWikiDomainConfig – 管理者がMediaWiki:Copyupload-allowed-domainsシステムメッセージを使用して、URLによるアップロードツールで使用できるドメインを定義できるかどうかを構成します。
  • $wgCdnMatchParameterOrder This can be set to false 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 – site_statsを複数行に分割できます。非常に大規模で編集回数の多いウィキに有用です。 (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 property useJsonMetadata to false.
  • $wgLBFactoryConf The configCallback 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 The DBO_SSL flag has been deprecated in favour of a boolean ssl parameter.
  • $wgObjectCaches The globalKeyLB and localKeyLB flags are no longer supported.

除去された設定

1.39の利用者向け新機能

  • Optional automatic user creation on page save ($wgAutoCreateTempUser ).
  • Administrators now have the option to delete/undelete the associated "Talk" page when they are (un)deleting a given page. deletetalk and undeletetalk 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.

Bug fixes in 1.39

  • (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.

1.39における操作APIの変更

  • New undeletetalk parameter on action=undelete that allows you to restore all revisions of the associated talk page.

1.39 において更新された言語

MediaWikiは350以上の言語をサポートしています。多くの翻訳は定期的に更新されます。以下に、Phabricatorの報告によって新しく追加された言語や除去された言語、変更された言語の一覧を示します。

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

関連項目

下位ページ