Merge "Set MW_INSTALL_PATH in Maintenance.php"
[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 * …
50
51 ==== Removed external libraries ====
52 * …
53
54 === Bug fixes in 1.34 ===
55 * …
56
57 === Action API changes in 1.34 ===
58 * …
59
60 === Action API internal changes in 1.34 ===
61 * …
62
63 === Languages updated in 1.34 ===
64 MediaWiki supports over 350 languages. Many localisations are updated regularly.
65 Below only new and removed languages are listed, as well as changes to languages
66 because of Phabricator reports.
67
68 * …
69
70 === Breaking changes in 1.34 ===
71 * Preferences class, deprecated in 1.31, has been removed.
72 * The following parts of code, deprecated in 1.32, were removed in favor of
73 built-in PHP functions:
74 * CryptRand class
75 * CryptRand service
76 * Functions of the MWCryptRand class: singleton(), wasStrong() and generate().
77 * Language::setCode, deprecated in 1.32, was removed. Use Language::factory to
78 create a new Language object with a different language code.
79 * MWNamespace::clearCaches() has been removed. So has the $rebuild parameter
80 to MWNamespace::getCanonicalNamespaces(), which was deprecated since 1.31.
81 Instead, reset services, such as by calling $this->overrideMwServices() (if
82 your test extends MediaWikiTestCase). Services will generally not pick up
83 configuration changes from after they were created, so you must reset
84 services after any configuration change. Even if your code works now, it is
85 likely to break in future versions as more code is moved to services.
86 * The ill-defined "DatabaseOraclePostInit" hook has been removed.
87
88 === Deprecations in 1.34 ===
89 * The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo.
90 * …
91
92 === Other changes in 1.34 ===
93 * …
94
95 == Compatibility ==
96 MediaWiki 1.34 requires PHP 7.0.13 or later. Although HHVM 3.18.5 or later is
97 supported, it is generally advised to use PHP 7.0.13 or later for long term
98 support.
99
100 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
101 but support for them is somewhat less mature. There is experimental support for
102 Oracle and Microsoft SQL Server.
103
104 The supported versions are:
105
106 * MySQL 5.5.8 or later
107 * PostgreSQL 9.2 or later
108 * SQLite 3.8.0 or later
109 * Oracle 9.0.1 or later
110 * Microsoft SQL Server 2005 (9.00.1399)
111
112 == Online documentation ==
113 Documentation for both end-users and site administrators is available on
114 MediaWiki.org, and is covered under the GNU Free Documentation License (except
115 for pages that explicitly state that their contents are in the public domain):
116
117 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
118
119 == Mailing list ==
120 A mailing list is available for MediaWiki user support and discussion:
121
122 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
123
124 A low-traffic announcements-only list is also available:
125
126 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
127
128 It's highly recommended that you sign up for one of these lists if you're
129 going to run a public MediaWiki, so you can be notified of security fixes.
130
131 == IRC help ==
132 There's usually someone online in #mediawiki on irc.freenode.net.