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