Removes Google web search from exception page
[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 * (T208871) The hard-coded Google search form on the database error page was
155 removed.
156 * …
157
158 == Compatibility ==
159 MediaWiki 1.33 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is
160 supported, it is generally advised to use PHP 7.0.0 or later for long term
161 support.
162
163 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
164 but support for them is somewhat less mature. There is experimental support for
165 Oracle and Microsoft SQL Server.
166
167 The supported versions are:
168
169 * MySQL 5.5.8 or later
170 * PostgreSQL 9.2 or later
171 * SQLite 3.3.7 or later
172 * Oracle 9.0.1 or later
173 * Microsoft SQL Server 2005 (9.00.1399)
174
175 == Upgrading ==
176 1.33 has several database changes since 1.32, and will not work without schema
177 updates. Note that due to changes to some very large tables like the revision
178 table, the schema update may take quite long (minutes on a medium sized site,
179 many hours on a large site).
180
181 Don't forget to always back up your database before upgrading!
182
183 See the file UPGRADE for more detailed upgrade instructions, including
184 important information when upgrading from versions prior to 1.11.
185
186 For notes on 1.32.x and older releases, see HISTORY.
187
188 == Online documentation ==
189 Documentation for both end-users and site administrators is available on
190 MediaWiki.org, and is covered under the GNU Free Documentation License (except
191 for pages that explicitly state that their contents are in the public domain):
192
193 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
194
195 == Mailing list ==
196 A mailing list is available for MediaWiki user support and discussion:
197
198 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
199
200 A low-traffic announcements-only list is also available:
201
202 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
203
204 It's highly recommended that you sign up for one of these lists if you're
205 going to run a public MediaWiki, so you can be notified of security fixes.
206
207 == IRC help ==
208 There's usually someone online in #mediawiki on irc.freenode.net.