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