Merge "RawAction: Add json to the allowed content types"
[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
61 == Compatibility ==
62 MediaWiki 1.31 requires PHP 5.5.9 or later. There is experimental support for
63 HHVM 3.6.5 or later.
64
65 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
66 but support for them is somewhat less mature. There is experimental support for
67 Oracle and Microsoft SQL Server.
68
69 The supported versions are:
70
71 * MySQL 5.0.3 or later
72 * PostgreSQL 8.3 or later
73 * SQLite 3.3.7 or later
74 * Oracle 9.0.1 or later
75 * Microsoft SQL Server 2005 (9.00.1399)
76
77 == Upgrading ==
78 1.31 has several database changes since 1.30, and will not work without schema
79 updates. Note that due to changes to some very large tables like the revision
80 table, the schema update may take quite long (minutes on a medium sized site,
81 many hours on a large site).
82
83 Don't forget to always back up your database before upgrading!
84
85 See the file UPGRADE for more detailed upgrade instructions, including
86 important information when upgrading from versions prior to 1.11.
87
88 For notes on 1.30.x and older releases, see HISTORY.
89
90 == Online documentation ==
91 Documentation for both end-users and site administrators is available on
92 MediaWiki.org, and is covered under the GNU Free Documentation License (except
93 for pages that explicitly state that their contents are in the public domain):
94
95 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
96
97 == Mailing list ==
98 A mailing list is available for MediaWiki user support and discussion:
99
100 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
101
102 A low-traffic announcements-only list is also available:
103
104 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
105
106 It's highly recommended that you sign up for one of these lists if you're
107 going to run a public MediaWiki, so you can be notified of security fixes.
108
109 == IRC help ==
110 There's usually someone online in #mediawiki on irc.freenode.net.