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