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