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