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