RELEASE-NOTES-1.43 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. = MediaWiki 1.43 =
  2. == MediaWiki 1.43.0-PRERELEASE ==
  3. THIS IS NOT A RELEASE YET
  4. MediaWiki 1.43 is an alpha-quality development branch, and is not recommended
  5. for use in production.
  6. == Upgrading notes for 1.43 ==
  7. Don't forget to always back up your database before upgrading!
  8. See the file UPGRADE for more detailed per-version upgrade instructions from the
  9. oldest supported upgrading version, MediaWiki 1.35.
  10. Some specific notes for MediaWiki 1.43 upgrades are below:
  11. * …
  12. For notes on 1.42.x and older releases, see HISTORY.
  13. === Configuration changes for system administrators in 1.43 ===
  14. * …
  15. ==== New configuration ====
  16. * …
  17. ==== Changed configuration ====
  18. * wgPageLinksSchemaMigrationStage – (T299947) This temporary setting, which
  19. controls the database schema migration for the page links table, is now set
  20. by default to write to both old and new data and read from the new data.
  21. * …
  22. ==== Removed configuration ====
  23. * …
  24. === New user-facing features in 1.43 ===
  25. * …
  26. === New features for sysadmins in 1.43 ===
  27. * …
  28. === New developer features in 1.43 ===
  29. * StatusValue class gained new method getMessages(): MessageSpecifier[],
  30. allowing the errors to be inspected and displayed more easily, for example:
  31. foreach ( $status->getMessages() as $msg ) {
  32. if ( $msg->getKey() !== 'ignored-message' ) {
  33. $this->getOutput()->addWikiMsg( $msg );
  34. }
  35. }
  36. * …
  37. === External library changes in 1.43 ===
  38. ==== New external libraries ====
  39. * …
  40. ===== New development-only external libraries =====
  41. * …
  42. ==== Changed external libraries ====
  43. * Updated codex, codex-design-tokens and codex-icons
  44. from v1.3.6 to v1.4.0.
  45. * …
  46. ===== Changed development-only external libraries =====
  47. * Upgraded eslint-config-wikimedia from 0.26.0 to 0.27.0.
  48. * …
  49. ==== Removed external libraries ====
  50. * …
  51. === Bug fixes in 1.43 ===
  52. * …
  53. === Action API changes in 1.43 ===
  54. * …
  55. === Action API internal changes in 1.43 ===
  56. * …
  57. === Languages updated in 1.43 ===
  58. MediaWiki supports over 350 languages. Many localisations are updated regularly.
  59. Below only new and removed languages are listed, as well as changes to languages
  60. because of Phabricator reports.
  61. * …
  62. === Breaking changes in 1.43 ===
  63. * ErrorPageError public properties 'msg' and 'title' may now contain
  64. any MessageSpecifier object, not just Message.
  65. * Reset button functionality suppressReset() and $mShowReset from HTMLForm
  66. was removed without replacement.
  67. * UserGroupMembership::getGroupName(), deprecated in 1.38, and
  68. UserGroupMembership::getGroupMemberName(), deprecated in 1.40, have
  69. been removed.
  70. * SerializedValueContainer::isUnified(), deprecated in 1.42, has been
  71. removed.
  72. * Parser::getFreshParser(), deprecated in 1.39, has been removed.
  73. * ConfigFactory::getDefaultInstance(), deprecated since 1.27, has been
  74. removed.
  75. * Overriding MWException::getHTML(), ::getText(), ::getPageTitle(), and
  76. ::reportHTML() in order to display custom exception messages is no
  77. longer supported.
  78. * …
  79. === Deprecations in 1.43 ===
  80. * The methods StatusValue::getErrors() and StatusValue::getErrorsByType(),
  81. as well as Status::getErrorsArray() and Status::getWarningsArray(), have
  82. been deprecated in favor of new method StatusValue::getMessages().
  83. * SearchEngineConfig::getConfig() has been deprecated, use DI with
  84. ServiceOptions to inject the required options.
  85. * Using the "post" source in parameter declarations returned from
  86. Handler::getParamSettings() is deprecated, use "body" instead.
  87. * IMaintainableDatabase::textFieldSize() is now deprecated.
  88. * ISQLPlatform::tableNamesN() is now deprecated.
  89. * The implementation in SQLPlatform of ISQLPlatform::tableNames(), deprecated in
  90. MediaWiki 1.39, now emits deprecation warnings.
  91. * ContentHandler::getContentText(), deprecated in 1.37, now emits deprecation
  92. warnings.
  93. * OutputPage::showFatalError() is deprecated, use showErrorPage() instead.
  94. * IDatabase::lockForUpdate is deprecated, use
  95. SelectQueryBuilder::acquireRowLocks instead.
  96. * …
  97. === Other changes in 1.43 ===
  98. * Class aliases to support the old PHPUnit 4 style un-namespaced `PHPUnit_`
  99. classes (such as PHPUnit_Framework_Error) have been removed.
  100. * [Temporary accounts] If $wgAutoCreateTempUser is enabled, then MediaWiki
  101. will create a temporary account and log the user in for unsuccessful edit
  102. attempts and null edits, in addition to edits that change content. This is
  103. a change from the previous paradigm, where temporary accounts were created
  104. only for successful edits. This change is done to support better logging
  105. support and moderation, to ensure that hooks run in a pre-save context have
  106. a user object to associate log entries and other actions with.
  107. * …
  108. == Compatibility ==
  109. MediaWiki 1.43 requires PHP 8.1.0 or later and the following PHP extensions:
  110. * ctype
  111. * dom
  112. * fileinfo
  113. * iconv
  114. * intl
  115. * json
  116. * mbstring
  117. * xml
  118. MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can
  119. be used instead, but support for them is somewhat less mature.
  120. The supported versions are:
  121. * MariaDB 10.3 or higher
  122. * MySQL 5.7.0 or higher
  123. * PostgreSQL 10 or later
  124. * SQLite 3.8.0 or later
  125. == Online documentation ==
  126. Documentation for both end-users and site administrators is available on
  127. MediaWiki.org, and is covered under the GNU Free Documentation License (except
  128. for pages that explicitly state that their contents are in the public domain):
  129. <https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation>
  130. == Mailing list ==
  131. A mailing list is available for MediaWiki user support and discussion:
  132. <https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/>
  133. A low-traffic announcements-only list is also available:
  134. <https://lists.wikimedia.org/postorius/lists/mediawiki-announce.lists.wikimedia.org/>
  135. It's highly recommended that you sign up for one of these lists if you're
  136. going to run a public MediaWiki, so you can be notified of security fixes.
  137. == IRC help ==
  138. There's usually someone online in #mediawiki on irc.libera.chat.