Merge "RCFilters: Use `display: flex` for better responsiveness on narrow canvas"
[lhc/web/wiklou.git] / RELEASE-NOTES-1.33
1 == MediaWiki 1.33 ==
2
3 THIS IS NOT A RELEASE YET
4
5 MediaWiki 1.33 is an alpha-quality branch and is not recommended for use in
6 production.
7
8 === Configuration changes in 1.33 ===
9
10 ==== New configuration ====
11 * $wgEnablePartialBlocks – This enables the Partial Blocks feature, which gives
12 accounts with block permissions the ability to block users, IPs, and IP ranges
13 from editing specific pages, while allowing them to edit the rest of the wiki.
14 * $wgMediaInTargetLanguage – whether multilingual images should be dispalyed in
15 the current parse language where available.
16
17 ==== Changed configuration ====
18 * …
19
20 ==== Removed configuration ====
21 * …
22
23 === New features in 1.33 ===
24 * The 'GetPreferences' hook now receives an additional $context parameter.
25 * …
26
27 === External library changes in 1.33 ===
28
29 ==== New external libraries ====
30 * …
31
32 ==== Changed external libraries ====
33 * Updated wikimedia/xmp-reader from 0.6.0 to 0.6.1.
34 * Updated wikimedia/scoped-callback from 2.0.0 to 3.0.0.
35 * …
36
37 ==== Removed external libraries ====
38 * …
39
40 === Bug fixes in 1.33 ===
41 * …
42
43 === Action API changes in 1.33 ===
44 * (T198913) Added 'ApiOptions' hook.
45 * …
46
47 === Action API internal changes in 1.33 ===
48 * A number of deprecated methods for API documentation, intended for overriding
49 by extensions, are no longer called by MediaWiki, and will emit deprecation
50 notices if your extension attempts to use them:
51 * ApiBase::getDescription() (deprecated in 1.25)
52 * ApiBase::getParamDescription() (deprecated in 1.25)
53 * ApiBase::getExamples() (deprecated in 1.25)
54 * ApiBase::getDescriptionMessage() (deprecated in 1.30)
55 Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have
56 been removed, as their only use was to let extensions override values returned
57 by getDescription() and getParamDescription(), respectively.
58 * …
59
60 === Languages updated in 1.33 ===
61 MediaWiki supports over 350 languages. Many localisations are updated regularly.
62 Below only new and removed languages are listed, as well as changes to languages
63 because of Phabricator reports.
64
65 * (T203908) Added language support for Eastern Pwo (kjp).
66
67 === Breaking changes in 1.33 ===
68 * The parameteter $lang in DifferenceEngine::setTextLanguage must be of type
69 Language. Other types are deprecated since 1.32.
70 * Skin::doEditSectionLink requires type Language for the parameter $lang.
71 The parameters $tooltip and $lang are mandatory. Omitting the parameters is
72 deprecated since 1.32.
73 * Language::truncate(), deprecated in 1.31, has been removed.
74 * UtfNormal, deprecated in 1.25, was removed. Use UtfNormal\Validator directly
75 instead.
76 * (T197179) In OOUI HTMLForm fields, the parameters 'notice', 'notice-messages',
77 and 'notice-message', which were deprecated in 1.32, were removed. Instead,
78 use 'help', 'help-message', and 'help-messages'.
79 * (T197179) HTMLFormField::getNotices(), deprecated in 1.32, was removed.
80 * The "Parsoid v1" compatibility mappings in ParsoidVirtualRESTService and
81 RestbaseVirtualRESTService, deprecated since 1.26, have been removed.
82 Use the RESTBase v1 or Parsoid v3 API instead.
83 * ParserOptions defaults 'tidy' to true now, since the untidy modes of the
84 parser are being deprecated and ParserOptions::getCanonicalOverrides()
85 has always been true at any rate.
86 * A number of deprecated methods for API documentation, intended for overriding
87 by extensions, are no longer called by MediaWiki, and will emit deprecation
88 notices if your extension attempts to use them:
89 * ApiBase::getDescription() (deprecated in 1.25)
90 * ApiBase::getParamDescription() (deprecated in 1.25)
91 * ApiBase::getExamples() (deprecated in 1.25)
92 * ApiBase::getDescriptionMessage() (deprecated in 1.30)
93 Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have
94 been removed, as their only use was to let extensions override values returned
95 by getDescription() and getParamDescription(), respectively.
96 * The authentication hooks 'AbortAutoAccount' 'AbortNewAccount', 'AbortLogin',
97 'LoginUserMigrated', 'UserCreateForm', and 'UserLoginForm', all deprecated by
98 the creation of AuthManager in 1.27, have been removed. This also means that
99 the FakeAuthTemplate and LoginForm classes are removed, that FakeAuthTemplate
100 is no longer passed into LoginSignupSpecialPage->getFieldDefinitions(), and
101 that LoginSignupSpecialPage->getBCFieldDefinitions() is removed.
102 * The 'jquery.localize' module, deprecated in 1.32, has been removed. Instead,
103 use 'jquery.i18n'.
104 * The hooks LanguageGetSpecialPageAliases and LanguageGetMagic, deprecated since
105 1.16, have now been removed. Instead, use $specialPageAliases or $magicWords
106 respectively in a $wgExtensionMessagesFiles file.
107 * The following methods of the Preferences class, deprecated in 1.31, have been
108 removed:
109 * getSaveBlacklist()
110 * loadPreferenceValues()
111 * getOptionFromUser()
112 * profilePreferences()
113 * skinPreferences()
114 * filesPreferences()
115 * datetimePreferences()
116 * renderingPreferences()
117 * editingPreferences()
118 * rcPreferences()
119 * watchlistPreferences()
120 * searchPreferences()
121 * miscPreferences()
122 * generateSkinOptions()
123 * getDateOptions()
124 * getImageSizes()
125 * getThumbSizes()
126 * validateSignature()
127 * cleanSignature()
128 * getTimezoneOptions()
129 * filterIntval()
130 * filterTimezoneInput()
131 * getTimeZoneList()
132
133 === Deprecations in 1.33 ===
134 * The configuration option $wgUseESI has been deprecated, and is expected
135 to be removed in a future release.
136 * The configuration option $wgSquidPurgeUseHostHeader has been deprecated,
137 and is expected to be removed in a future release.
138 * The configuration options $wgFixArabicUnicode and $wgFixMalayalamUnicode,
139 introduced in MW 1.17, have been deprecated. These fixes will always be
140 applied for Arabic and Malayalam in the future. Please enable these on
141 your local wiki (if you have them explicitly set to false) and run
142 maintenance/cleanupTitles.php to fix any existing page titles.
143 * The LegacyHookPreAuthenticationProvider class, deprecated since its creation
144 in 1.27 as part of the AuthManager re-write, now emits deprecation warnings.
145 This will help identify the issue if you added it to $wgAuthManagerConfig.
146 * wfSplitWikiId() is now deprecated. Cache key generation should have the wiki
147 domain ID as a key component and use makeGlobalKey().
148 * …
149
150 === Other changes in 1.33 ===
151 * …
152
153 == Compatibility ==
154 MediaWiki 1.33 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is
155 supported, it is generally advised to use PHP 7.0.0 or later for long term
156 support.
157
158 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
159 but support for them is somewhat less mature. There is experimental support for
160 Oracle and Microsoft SQL Server.
161
162 The supported versions are:
163
164 * MySQL 5.5.8 or later
165 * PostgreSQL 9.2 or later
166 * SQLite 3.3.7 or later
167 * Oracle 9.0.1 or later
168 * Microsoft SQL Server 2005 (9.00.1399)
169
170 == Upgrading ==
171 1.33 has several database changes since 1.32, and will not work without schema
172 updates. Note that due to changes to some very large tables like the revision
173 table, the schema update may take quite long (minutes on a medium sized site,
174 many hours on a large site).
175
176 Don't forget to always back up your database before upgrading!
177
178 See the file UPGRADE for more detailed upgrade instructions, including
179 important information when upgrading from versions prior to 1.11.
180
181 For notes on 1.32.x and older releases, see HISTORY.
182
183 == Online documentation ==
184 Documentation for both end-users and site administrators is available on
185 MediaWiki.org, and is covered under the GNU Free Documentation License (except
186 for pages that explicitly state that their contents are in the public domain):
187
188 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
189
190 == Mailing list ==
191 A mailing list is available for MediaWiki user support and discussion:
192
193 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
194
195 A low-traffic announcements-only list is also available:
196
197 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
198
199 It's highly recommended that you sign up for one of these lists if you're
200 going to run a public MediaWiki, so you can be notified of security fixes.
201
202 == IRC help ==
203 There's usually someone online in #mediawiki on irc.freenode.net.