Merge "Allow fragment-only TitleValues"
[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 * PreferencesFormLegacy and PreferencesForm classes, deprecated in 1.32, have
88 been removed.
89 * ObjectFactory class, deprecated in 1.31, has been removed.
90 * HWLDFWordAccumudlator class, deprecated in 1.28, has been removed.
91 * XMPInfo, XMPReader and XMPValidate, deprecated in 1.32, have been removed.
92 * The RedirectSpecialPage::execute method could sometimes return a Title object.
93 This behavior was removed, and the method now matches the parent signature
94 (SpecialPage::execute) which is to return HTML string or void.
95 To obtain the destination title, use RedirectSpecialPage::getRedirect.
96
97 === Deprecations in 1.34 ===
98 * The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo.
99 * …
100
101 === Other changes in 1.34 ===
102 * …
103
104 == Compatibility ==
105 MediaWiki 1.34 requires PHP 7.0.13 or later. Although HHVM 3.18.5 or later is
106 supported, it is generally advised to use PHP 7.0.13 or later for long term
107 support.
108
109 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
110 but support for them is somewhat less mature. There is experimental support for
111 Oracle and Microsoft SQL Server.
112
113 The supported versions are:
114
115 * MySQL 5.5.8 or later
116 * PostgreSQL 9.2 or later
117 * SQLite 3.8.0 or later
118 * Oracle 9.0.1 or later
119 * Microsoft SQL Server 2005 (9.00.1399)
120
121 == Online documentation ==
122 Documentation for both end-users and site administrators is available on
123 MediaWiki.org, and is covered under the GNU Free Documentation License (except
124 for pages that explicitly state that their contents are in the public domain):
125
126 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
127
128 == Mailing list ==
129 A mailing list is available for MediaWiki user support and discussion:
130
131 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
132
133 A low-traffic announcements-only list is also available:
134
135 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
136
137 It's highly recommended that you sign up for one of these lists if you're
138 going to run a public MediaWiki, so you can be notified of security fixes.
139
140 == IRC help ==
141 There's usually someone online in #mediawiki on irc.freenode.net.