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