Merge "Remove three deprecated functions from the Revision class."
[lhc/web/wiklou.git] / RELEASE-NOTES-1.32
1 == MediaWiki 1.32 ==
2
3 THIS IS NOT A RELEASE YET
4
5 MediaWiki 1.32 is an alpha-quality branch and is not recommended for use in
6 production.
7
8 === Configuration changes in 1.32 ===
9 * (T115414) The $wgEnableAPI and $wgEnableWriteAPI settings, deprecated in 1.31, have been removed.
10 * The $wgUseAjax setting, deprecated in 1.31, is now ignored.
11 * The $wgSiteSupportPage setting, unused since 1.5, was removed.
12 * $wgJpegQuality was added to allow configuring the quality of JPEG thumbnails (default 80).
13 * The default quality of JPEG thumbnails generated by GD was reduced from 95 to 80.
14 * …
15
16 === New features in 1.32 ===
17 * (T112474) Generalized the ResourceLoader mechanism for overriding modules
18 using a particular page during edit previews.
19 * Added 'ApiParseMakeOutputPage' hook.
20
21 === External library changes in 1.32 ===
22 * …
23
24 ==== Upgraded external libraries ====
25 * Updated QUnit from 2.4.0 to 2.6.0.
26
27 ==== New external libraries ====
28 * …
29
30 ==== Removed and replaced external libraries ====
31 * …
32
33 === Bug fixes in 1.32 ===
34 * …
35
36 === Action API changes in 1.32 ===
37 * …
38
39 === Action API internal changes in 1.32 ===
40 * Added 'ApiParseMakeOutputPage' hook.
41
42 === Languages updated in 1.32 ===
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 === Breaking changes in 1.32 ===
50 * $wgRequestTime was removed (deprecated in 1.25).
51 Use $_SERVER['REQUEST_TIME_FLOAT'] or WebRequest::getElapsedTime() instead.
52 * The MediaWikiI18N class was removed (deprecated in 1.31).
53 * QuickTemplate::setTranslator() was removed (deprecated in 1.31).
54 Use Skin::msg() instead.
55 * wfInitShellLocale() was removed (deprecated in 1.30).
56 * wfShellExecDisabled() was removed (deprecated in 1.30).
57 * The type string for the parameter $lang of DateFormatter::getInstance is
58 removed (deprecated in 1.31).
59 * The EDIT_TOKEN_SUFFIX constant was removed (deprecated in 1.27).
60 Use MediaWiki\Session\Token::SUFFIX instead.
61 * EditPage::isOouiEnabled() was removed (deprecated in 1.30).
62 * mw.util.wikiGetlink() was removed (deprecated in 1.23).
63 Use mw.util.getUrl() instead.
64 * (T61113) The following methods and constants from the Revision class were deprecated in
65 1.25 and have now been removed.
66 * Revision::getRawUser()
67 * Revision::getRawUserText()
68 * Revision::getRawComment()
69
70 === Deprecations in 1.32 ===
71 * Use of a StartProfiler.php file is deprecated in favour of placing
72 configuration in LocalSettings.php.
73 * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit
74 button is already marked as progressive.
75
76 === Other changes in 1.32 ===
77 * …
78
79 == Compatibility ==
80 MediaWiki 1.32 requires PHP 5.5.9 or later. Although HHVM 3.18.5 or later is supported,
81 it is generally advised to use PHP 5.5.9 or later for long term support.
82
83 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
84 but support for them is somewhat less mature. There is experimental support for
85 Oracle and Microsoft SQL Server.
86
87 The supported versions are:
88
89 * MySQL 5.5.8 or later
90 * PostgreSQL 9.2 or later
91 * SQLite 3.3.7 or later
92 * Oracle 9.0.1 or later
93 * Microsoft SQL Server 2005 (9.00.1399)
94
95 == Upgrading ==
96 1.32 has several database changes since 1.31, and will not work without schema
97 updates. Note that due to changes to some very large tables like the revision
98 table, the schema update may take quite long (minutes on a medium sized site,
99 many hours on a large site).
100
101 Don't forget to always back up your database before upgrading!
102
103 See the file UPGRADE for more detailed upgrade instructions, including
104 important information when upgrading from versions prior to 1.11.
105
106 For notes on 1.31.x and older releases, see HISTORY.
107
108 == Online documentation ==
109 Documentation for both end-users and site administrators is available on
110 MediaWiki.org, and is covered under the GNU Free Documentation License (except
111 for pages that explicitly state that their contents are in the public domain):
112
113 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
114
115 == Mailing list ==
116 A mailing list is available for MediaWiki user support and discussion:
117
118 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
119
120 A low-traffic announcements-only list is also available:
121
122 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
123
124 It's highly recommended that you sign up for one of these lists if you're
125 going to run a public MediaWiki, so you can be notified of security fixes.
126
127 == IRC help ==
128 There's usually someone online in #mediawiki on irc.freenode.net.