StatusValue: Add a getter for MessageSpecifier list
[mediawiki.git] / RELEASE-NOTES-1.43
blob39a0577b45115177839e747e3a4772f34758febe
1 = MediaWiki 1.43 =
3 == MediaWiki 1.43.0-PRERELEASE ==
5 THIS IS NOT A RELEASE YET
7 MediaWiki 1.43 is an alpha-quality development branch, and is not recommended
8 for use in production.
10 == Upgrading notes for 1.43 ==
11 Don't forget to always back up your database before upgrading!
13 See the file UPGRADE for more detailed per-version upgrade instructions from the
14 oldest supported upgrading version, MediaWiki 1.35.
16 Some specific notes for MediaWiki 1.43 upgrades are below:
18 * …
20 For notes on 1.42.x and older releases, see HISTORY.
22 === Configuration changes for system administrators in 1.43 ===
24 * …
26 ==== New configuration ====
28 * …
30 ==== Changed configuration ====
32 * …
34 ==== Removed configuration ====
36 * …
38 === New user-facing features in 1.43 ===
40 * …
42 === New features for sysadmins in 1.43 ===
44 * …
46 === New developer features in 1.43 ===
48 * StatusValue class gained new method getMessages(): MessageSpecifier[],
49   allowing the errors to be inspected and displayed more easily, for example:
50     foreach ( $status->getMessages() as $msg ) {
51       if ( $msg->getKey() !== 'ignored-message' ) {
52         $this->getOutput()->addWikiMsg( $msg );
53       }
54     }
55 * …
57 === External library changes in 1.43 ===
59 ==== New external libraries ====
61 * …
63 ===== New development-only external libraries =====
65 * …
67 ==== Changed external libraries ====
69 * …
71 ===== Changed development-only external libraries =====
73 * …
75 ==== Removed external libraries ====
77 * …
79 === Bug fixes in 1.43 ===
81 * …
83 === Action API changes in 1.43 ===
85 * …
87 === Action API internal changes in 1.43 ===
89 * …
91 === Languages updated in 1.43 ===
92 MediaWiki supports over 350 languages. Many localisations are updated regularly.
93 Below only new and removed languages are listed, as well as changes to languages
94 because of Phabricator reports.
96 * …
98 === Breaking changes in 1.43 ===
100 * ErrorPageError public properties 'msg' and 'title' may now contain
101   any MessageSpecifier object, not just Message.
102 * …
104 === Deprecations in 1.43 ===
106 * The methods StatusValue::getErrors() and StatusValue::getErrorsByType(),
107   as well as Status::getErrorsArray() and Status::getWarningsArray(), have
108   been deprecated in favor of new method StatusValue::getMessages().
109 * …
111 === Other changes in 1.43 ===
113 * …
115 == Compatibility ==
117 MediaWiki 1.43 requires PHP 8.1.0 or later and the following PHP extensions:
119 * ctype
120 * dom
121 * fileinfo
122 * iconv
123 * intl
124 * json
125 * mbstring
126 * xml
128 MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can
129 be used instead, but support for them is somewhat less mature.
131 The supported versions are:
133 * MariaDB 10.3 or higher
134 * MySQL 5.7.0 or higher
135 * PostgreSQL 10 or later
136 * SQLite 3.8.0 or later
138 == Online documentation ==
139 Documentation for both end-users and site administrators is available on
140 MediaWiki.org, and is covered under the GNU Free Documentation License (except
141 for pages that explicitly state that their contents are in the public domain):
143   <https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation>
145 == Mailing list ==
146 A mailing list is available for MediaWiki user support and discussion:
148   <https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/>
150 A low-traffic announcements-only list is also available:
152   <https://lists.wikimedia.org/postorius/lists/mediawiki-announce.lists.wikimedia.org/>
154 It's highly recommended that you sign up for one of these lists if you're
155 going to run a public MediaWiki, so you can be notified of security fixes.
157 == IRC help ==
158 There's usually someone online in #mediawiki on irc.libera.chat.