Merge "Prefer using plaintextParams instead of rawParams where possible"
[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 * (T44246) $wgFilterLogTypes will no longer ignore 'patrol' when user does
17 not have the right to mark things patrolled.
18 * …
19
20 === New features in 1.31 ===
21 * Wikimedia\Rdbms\IDatabase->select() and similar methods now support
22 joins with parentheses for grouping.
23
24 === External library changes in 1.31 ===
25
26 ==== Upgraded external libraries ====
27 * …
28
29 ==== New external libraries ====
30 * …
31
32 ==== Removed and replaced external libraries ====
33 * …
34
35 === Bug fixes in 1.31 ===
36 * …
37
38 === Action API changes in 1.31 ===
39 * …
40
41 === Action API internal changes in 1.31 ===
42 * …
43
44 === Languages updated in 1.31 ===
45 MediaWiki supports over 350 languages. Many localisations are updated
46 regularly. Below only new and removed languages are listed, as well as
47 changes to languages because of Phabricator reports.
48
49 * …
50
51 === Other changes in 1.31 ===
52 * MessageBlobStore::insertMessageBlob() (deprecated in 1.27) was removed.
53 * The global function wfBCP47 was renamed to LanguageCode::bcp47.
54 * The global function wfBCP47 is now deprecated.
55 * The global function wfCountDown() is now deprecated in favor of
56 Maintenance::countDown()
57 * The OutputPage class constructor now requires a context parameter,
58 (instantiating without context was deprecated in 1.18)
59 * mw.page (deprecated in 1.30) was removed.
60 * Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the
61 related WikiPage::PURGE_* constants, deprecated in 1.29, were removed.
62 * The Article::selectFields(), Article::onArticleCreate(),
63 Article::onArticleDelete(), and Article::onArticleEdit() methods, deprecated
64 in 1.24, were removed.
65 * Installer::locateExecutable() and Installer::locateExecutableInDefaultPaths()
66 were removed, use ExecutableFinder::findInDefaultPaths() instead.
67 * Several methods for returning lists of fields to select from the database
68 have been deprecated in favor of similar methods that also return the tables
69 to select from and the join conditions for those tables.
70 * Block::selectFields() → Block::getQueryInfo()
71 * RecentChange::selectFields() → RecentChange::getQueryInfo()
72 * ArchivedFile::selectFields() → ArchivedFile::getQueryInfo()
73 * LocalFile::selectFields() → LocalFile::getQueryInfo()
74 * LocalFile::getCacheFields() with a prefix no longer works
75 * LocalFile::getLazyCacheFields() with a prefix no longer works
76 * OldLocalFile::selectFields() → OldLocalFile::getQueryInfo()
77 * RecentChange::selectFields() → RecentChange::getQueryInfo()
78 * Revision::userJoinCond() → Revision::getQueryInfo( [ 'user' ] )
79 * Revision::selectUserFields() → Revision::getQueryInfo( [ 'user' ] )
80 * Revision::pageJoinCond() → Revision::getQueryInfo( [ 'page' ] )
81 * Revision::selectPageFields() → Revision::getQueryInfo( [ 'page' ] )
82 * Revision::selectTextFields() → Revision::getQueryInfo( [ 'text' ] )
83 * Revision::selectFields() → Revision::getQueryInfo()
84 * Revision::selectArchiveFields() → Revision::getArchiveQueryInfo()
85 * User::selectFields() → User::getQueryInfo()
86 * WikiPage::selectFields() → WikiPage::getQueryInfo()
87 * Due to significant refactoring, method ContribsPager::getUserCond() that had
88 no access restriction has been removed.
89
90 == Compatibility ==
91 MediaWiki 1.31 requires PHP 5.5.9 or later. There is experimental support for
92 HHVM 3.6.5 or later.
93
94 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
95 but support for them is somewhat less mature. There is experimental support for
96 Oracle and Microsoft SQL Server.
97
98 The supported versions are:
99
100 * MySQL 5.0.3 or later
101 * PostgreSQL 8.3 or later
102 * SQLite 3.3.7 or later
103 * Oracle 9.0.1 or later
104 * Microsoft SQL Server 2005 (9.00.1399)
105
106 == Upgrading ==
107 1.31 has several database changes since 1.30, and will not work without schema
108 updates. Note that due to changes to some very large tables like the revision
109 table, the schema update may take quite long (minutes on a medium sized site,
110 many hours on a large site).
111
112 Don't forget to always back up your database before upgrading!
113
114 See the file UPGRADE for more detailed upgrade instructions, including
115 important information when upgrading from versions prior to 1.11.
116
117 For notes on 1.30.x and older releases, see HISTORY.
118
119 == Online documentation ==
120 Documentation for both end-users and site administrators is available on
121 MediaWiki.org, and is covered under the GNU Free Documentation License (except
122 for pages that explicitly state that their contents are in the public domain):
123
124 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
125
126 == Mailing list ==
127 A mailing list is available for MediaWiki user support and discussion:
128
129 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
130
131 A low-traffic announcements-only list is also available:
132
133 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
134
135 It's highly recommended that you sign up for one of these lists if you're
136 going to run a public MediaWiki, so you can be notified of security fixes.
137
138 == IRC help ==
139 There's usually someone online in #mediawiki on irc.freenode.net.