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