Refactor some Installer code into ExecutableFinder
[lhc/web/wiklou.git] / RELEASE-NOTES-1.31
1 == MediaWiki 1.31 ==
2
3 THIS IS NOT A RELEASE YET
4
5 MediaWiki 1.31 is an alpha-quality branch and is not recommended for use in
6 production.
7
8 === Configuration changes in 1.31 ===
9 * $wgEnableAPI and $wgEnableWriteAPI are now deprecated and will be removed in
10 a future version. The API is now considered to be stable, secure and
11 essential.
12 * $wgUsejQueryThree was removed, as it is now the default. This was documented as a
13 temporary variable during the migration period, deprecated since 1.29.
14 * $wgLogoHD has been updated to support svg images and uses $wgLogo where
15 possible for fallback images such as png.
16 * …
17
18 === New features in 1.31 ===
19 * Wikimedia\Rdbms\IDatabase->select() and similar methods now support
20 joins with parentheses for grouping.
21
22 === External library changes in 1.31 ===
23
24 ==== Upgraded external libraries ====
25 * …
26
27 ==== New external libraries ====
28 * …
29
30 ==== Removed and replaced external libraries ====
31 * …
32
33 === Bug fixes in 1.31 ===
34 * …
35
36 === Action API changes in 1.31 ===
37 * …
38
39 === Action API internal changes in 1.31 ===
40 * …
41
42 === Languages updated in 1.31 ===
43 MediaWiki supports over 350 languages. Many localisations are updated
44 regularly. Below only new and removed languages are listed, as well as
45 changes to languages because of Phabricator reports.
46
47 * …
48
49 === Other changes in 1.31 ===
50 * MessageBlobStore::insertMessageBlob() (deprecated in 1.27) was removed.
51 * The global function wfBCP47 was renamed to LanguageCode::bcp47.
52 * The global function wfBCP47 is now deprecated.
53 * The global function wfCountDown() is now deprecated in favor of
54 Maintenance::countDown()
55 * The OutputPage class constructor now requires a context parameter,
56 (instantiating without context was deprecated in 1.18)
57 * mw.page (deprecated in 1.30) was removed.
58 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
59 related WikiPage::PURGE_* constants, deprecated in 1.29, were removed.
60 * The Article::selectFields(), Article::onArticleCreate(),
61 Article::onArticleDelete(), and Article::onArticleEdit() methods, deprecated
62 in 1.24, were removed.
63 * Installer::locateExecutable() and Installer::locateExecutableInDefaultPaths()
64 were removed, use ExecutableFinder::findInDefaultPaths() instead.
65
66 == Compatibility ==
67 MediaWiki 1.31 requires PHP 5.5.9 or later. There is experimental support for
68 HHVM 3.6.5 or later.
69
70 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
71 but support for them is somewhat less mature. There is experimental support for
72 Oracle and Microsoft SQL Server.
73
74 The supported versions are:
75
76 * MySQL 5.0.3 or later
77 * PostgreSQL 8.3 or later
78 * SQLite 3.3.7 or later
79 * Oracle 9.0.1 or later
80 * Microsoft SQL Server 2005 (9.00.1399)
81
82 == Upgrading ==
83 1.31 has several database changes since 1.30, and will not work without schema
84 updates. Note that due to changes to some very large tables like the revision
85 table, the schema update may take quite long (minutes on a medium sized site,
86 many hours on a large site).
87
88 Don't forget to always back up your database before upgrading!
89
90 See the file UPGRADE for more detailed upgrade instructions, including
91 important information when upgrading from versions prior to 1.11.
92
93 For notes on 1.30.x and older releases, see HISTORY.
94
95 == Online documentation ==
96 Documentation for both end-users and site administrators is available on
97 MediaWiki.org, and is covered under the GNU Free Documentation License (except
98 for pages that explicitly state that their contents are in the public domain):
99
100 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
101
102 == Mailing list ==
103 A mailing list is available for MediaWiki user support and discussion:
104
105 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
106
107 A low-traffic announcements-only list is also available:
108
109 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
110
111 It's highly recommended that you sign up for one of these lists if you're
112 going to run a public MediaWiki, so you can be notified of security fixes.
113
114 == IRC help ==
115 There's usually someone online in #mediawiki on irc.freenode.net.