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