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