Merge "jobqueue: make JobQueueDB stricter about broken job_params fields"
[lhc/web/wiklou.git] / RELEASE-NOTES-1.34
1 = MediaWiki 1.34 =
2
3 == MediaWiki 1.34.0-PRERELEASE ==
4
5 THIS IS NOT A RELEASE YET
6
7 MediaWiki 1.34 is an alpha-quality development branch, and is not recommended
8 for use in production.
9
10 == Upgrading notes for 1.34 ==
11 1.34 has several database changes since 1.33, and will not work without schema
12 updates. Note that due to changes to some very large tables like the revision
13 table, the schema update may take quite long (minutes on a medium sized site,
14 many hours on a large site).
15
16 Don't forget to always back up your database before upgrading!
17
18 See the file UPGRADE for more detailed upgrade instructions, including
19 important information when upgrading from versions prior to 1.11.
20
21 Some specific notes for MediaWiki 1.34 upgrades are below:
22
23 * …
24
25 For notes on 1.33.x and older releases, see HISTORY.
26
27 === Configuration changes for system administrators in 1.34 ===
28 ==== New configuration ====
29 * …
30
31 ==== Changed configuration ====
32 * …
33
34 ==== Removed configuration ====
35 * …
36
37 === New user-facing features in 1.34 ===
38 * …
39
40 === New developer features in 1.34 ===
41 * …
42
43 === External library changes in 1.34 ===
44 ==== New external libraries ====
45 * …
46
47 ==== Changed external libraries ====
48 * Updated Mustache from 1.0.0 to v3.0.1.
49 * Updated OOUI from v0.31.3 to v0.31.5.
50 * …
51
52 ==== Removed external libraries ====
53 * …
54
55 === Bug fixes in 1.34 ===
56 * …
57
58 === Action API changes in 1.34 ===
59 * The 'recenteditcount' response property from action=query list=allusers,
60 deprecated in 1.25, has been removed.
61
62 === Action API internal changes in 1.34 ===
63 * …
64
65 === Languages updated in 1.34 ===
66 MediaWiki supports over 350 languages. Many localisations are updated regularly.
67 Below only new and removed languages are listed, as well as changes to languages
68 because of Phabricator reports.
69
70 * (T152908) Added language support for N'Ko (nqo).
71
72 === Breaking changes in 1.34 ===
73 * Preferences class, deprecated in 1.31, has been removed.
74 * The following parts of code, deprecated in 1.32, were removed in favor of
75 built-in PHP functions:
76 * CryptRand class
77 * CryptRand service
78 * Functions of the MWCryptRand class: singleton(), wasStrong() and generate().
79 * Language::setCode, deprecated in 1.32, was removed. Use Language::factory to
80 create a new Language object with a different language code.
81 * MWNamespace::clearCaches() has been removed. So has the $rebuild parameter
82 to MWNamespace::getCanonicalNamespaces(), which was deprecated since 1.31.
83 Instead, reset services, such as by calling $this->overrideMwServices() (if
84 your test extends MediaWikiTestCase). Services will generally not pick up
85 configuration changes from after they were created, so you must reset
86 services after any configuration change. Even if your code works now, it is
87 likely to break in future versions as more code is moved to services.
88 * The ill-defined "DatabaseOraclePostInit" hook has been removed.
89 * PreferencesFormLegacy and PreferencesForm classes, deprecated in 1.32, have
90 been removed.
91 * ObjectFactory class, deprecated in 1.31, has been removed.
92 * HWLDFWordAccumudlator class, deprecated in 1.28, has been removed.
93 * XMPInfo, XMPReader and XMPValidate, deprecated in 1.32, have been removed.
94 * The RedirectSpecialPage::execute method could sometimes return a Title object.
95 This behavior was removed, and the method now matches the parent signature
96 (SpecialPage::execute) which is to return HTML string or void.
97 To obtain the destination title, use RedirectSpecialPage::getRedirect.
98 * The 'recenteditcount' response property from action API action=query
99 list=allusers, deprecated in 1.25, has been removed.
100 * SearchEngine::userNamespaces(), SearchEngine::namespacesAsText(),
101 SearchEngine::create(), SearchEngine::getSearchTypes() and
102 SearchEngine::getNearMatch(), methods deprecated in 1.27, have been removed.
103 * FileRepo::streamFile(), deprecated in 1.26, has been removed.
104 * User::randomPassword() method, deprecated in 1.27, have been removed.
105 * MWNamespace::canTalk(), deprecated in 1.30, have been removed.
106 * Parser class property $mUniqPrefix, deprecated in 1.26, has been removed.
107 * wfArrayFilter() and wfArrayFilterByKey(), deprecated in 1.32, have been
108 removed.
109 * wfMakeUrlIndexes() function, deprecated in 1.33, have been removed.
110 * User::getGroupPage() and ::makeGroupLinkHTML(), deprecated in 1.29, have been
111 removed. Use UserGroupMembership::getGroupPage and ::getLink instead.
112 * …
113
114 === Deprecations in 1.34 ===
115 * The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo.
116 * ExtensionRegistry->load() is deprecated, as it breaks dependency checking.
117 Instead, use ->queue().
118 * User::isBlocked() is deprecated since it does not tell you if the user is
119 blocked from editing a particular page. Use User::getBlock() or
120 PermissionManager::isBlockedFrom() or PermissionManager::userCan() instead.
121 * …
122
123 === Other changes in 1.34 ===
124 * …
125
126 == Compatibility ==
127 MediaWiki 1.34 requires PHP 7.0.13 or later. Although HHVM 3.18.5 or later is
128 supported, it is generally advised to use PHP 7.0.13 or later for long term
129 support.
130
131 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
132 but support for them is somewhat less mature. There is experimental support for
133 Oracle and Microsoft SQL Server.
134
135 The supported versions are:
136
137 * MySQL 5.5.8 or later
138 * PostgreSQL 9.2 or later
139 * SQLite 3.8.0 or later
140 * Oracle 9.0.1 or later
141 * Microsoft SQL Server 2005 (9.00.1399)
142
143 == Online documentation ==
144 Documentation for both end-users and site administrators is available on
145 MediaWiki.org, and is covered under the GNU Free Documentation License (except
146 for pages that explicitly state that their contents are in the public domain):
147
148 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
149
150 == Mailing list ==
151 A mailing list is available for MediaWiki user support and discussion:
152
153 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
154
155 A low-traffic announcements-only list is also available:
156
157 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
158
159 It's highly recommended that you sign up for one of these lists if you're
160 going to run a public MediaWiki, so you can be notified of security fixes.
161
162 == IRC help ==
163 There's usually someone online in #mediawiki on irc.freenode.net.