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