2b22d92bb8b1d93acfd90ed5922069c7cb1df9cc
[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 * Language::formatTimePeriod now supports the new 'avoidhours' option to output
42 strings like "5 days ago" instead of "5 days 13 hours ago".
43
44 === External library changes in 1.34 ===
45 ==== New external libraries ====
46 * …
47
48 ==== Changed external libraries ====
49 * Updated Mustache from 1.0.0 to v3.0.1.
50 * Updated OOUI from v0.31.3 to v0.31.5.
51 * …
52
53 ==== Removed external libraries ====
54 * …
55
56 === Bug fixes in 1.34 ===
57 * …
58
59 === Action API changes in 1.34 ===
60 * The 'recenteditcount' response property from action=query list=allusers,
61 deprecated in 1.25, has been removed.
62
63 === Action API internal changes in 1.34 ===
64 * …
65
66 === Languages updated in 1.34 ===
67 MediaWiki supports over 350 languages. Many localisations are updated regularly.
68 Below only new and removed languages are listed, as well as changes to languages
69 because of Phabricator reports.
70
71 * (T152908) Added language support for N'Ko (nqo).
72
73 === Breaking changes in 1.34 ===
74 * Preferences class, deprecated in 1.31, has been removed.
75 * The following parts of code, deprecated in 1.32, were removed in favor of
76 built-in PHP functions:
77 * CryptRand class
78 * CryptRand service
79 * Functions of the MWCryptRand class: singleton(), wasStrong() and generate().
80 * Language::setCode, deprecated in 1.32, was removed. Use Language::factory to
81 create a new Language object with a different language code.
82 * MWNamespace::clearCaches() has been removed. So has the $rebuild parameter
83 to MWNamespace::getCanonicalNamespaces(), which was deprecated since 1.31.
84 Instead, reset services, such as by calling $this->overrideMwServices() (if
85 your test extends MediaWikiTestCase). Services will generally not pick up
86 configuration changes from after they were created, so you must reset
87 services after any configuration change. Even if your code works now, it is
88 likely to break in future versions as more code is moved to services.
89 * The ill-defined "DatabaseOraclePostInit" hook has been removed.
90 * PreferencesFormLegacy and PreferencesForm classes, deprecated in 1.32, have
91 been removed.
92 * ObjectFactory class, deprecated in 1.31, has been removed.
93 * HWLDFWordAccumudlator class, deprecated in 1.28, has been removed.
94 * XMPInfo, XMPReader and XMPValidate, deprecated in 1.32, have been removed.
95 * The RedirectSpecialPage::execute method could sometimes return a Title object.
96 This behavior was removed, and the method now matches the parent signature
97 (SpecialPage::execute) which is to return HTML string or void.
98 To obtain the destination title, use RedirectSpecialPage::getRedirect.
99 * The 'recenteditcount' response property from action API action=query
100 list=allusers, deprecated in 1.25, has been removed.
101 * SearchEngine::userNamespaces(), SearchEngine::namespacesAsText(),
102 SearchEngine::create(), SearchEngine::getSearchTypes() and
103 SearchEngine::getNearMatch(), methods deprecated in 1.27, have been removed.
104 * FileRepo::streamFile(), deprecated in 1.26, has been removed.
105 * User::randomPassword() method, deprecated in 1.27, have been removed.
106 * MWNamespace::canTalk(), deprecated in 1.30, have been removed.
107 * Parser class property $mUniqPrefix, deprecated in 1.26, has been removed.
108 * wfArrayFilter() and wfArrayFilterByKey(), deprecated in 1.32, have been
109 removed.
110 * wfMakeUrlIndexes() function, deprecated in 1.33, have been removed.
111 * User::getGroupPage() and ::makeGroupLinkHTML(), deprecated in 1.29, have been
112 removed. Use UserGroupMembership::getGroupPage and ::getLink instead.
113 * User::makeGroupLinkWiki(), deprecated in 1.29, has been removed. Use
114 UserGroupMembership::getLink() instead.
115 * …
116
117 === Deprecations in 1.34 ===
118 * The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo.
119 * ExtensionRegistry->load() is deprecated, as it breaks dependency checking.
120 Instead, use ->queue().
121 * User::isBlocked() is deprecated since it does not tell you if the user is
122 blocked from editing a particular page. Use User::getBlock() or
123 PermissionManager::isBlockedFrom() or PermissionManager::userCan() instead.
124 * User::isLocallyBlockedProxy and User::inDnsBlacklist are deprecated and moved
125 to the BlockManager as private helper methods.
126 * User::isDnsBlacklisted is deprecated. Use BlockManager::isDnsBlacklisted
127 instead.
128 * The Config argument to ChangesListSpecialPage::checkStructuredFilterUiEnabled
129 is deprecated. Pass only the User argument.
130
131 === Other changes in 1.34 ===
132 * …
133
134 == Compatibility ==
135 MediaWiki 1.34 requires PHP 7.0.13 or later. Although HHVM 3.18.5 or later is
136 supported, it is generally advised to use PHP 7.0.13 or later for long term
137 support.
138
139 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
140 but support for them is somewhat less mature. There is experimental support for
141 Oracle and Microsoft SQL Server.
142
143 The supported versions are:
144
145 * MySQL 5.5.8 or later
146 * PostgreSQL 9.2 or later
147 * SQLite 3.8.0 or later
148 * Oracle 9.0.1 or later
149 * Microsoft SQL Server 2005 (9.00.1399)
150
151 == Online documentation ==
152 Documentation for both end-users and site administrators is available on
153 MediaWiki.org, and is covered under the GNU Free Documentation License (except
154 for pages that explicitly state that their contents are in the public domain):
155
156 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
157
158 == Mailing list ==
159 A mailing list is available for MediaWiki user support and discussion:
160
161 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
162
163 A low-traffic announcements-only list is also available:
164
165 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
166
167 It's highly recommended that you sign up for one of these lists if you're
168 going to run a public MediaWiki, so you can be notified of security fixes.
169
170 == IRC help ==
171 There's usually someone online in #mediawiki on irc.freenode.net.