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