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