Merge "mw.widgets.visibleLengthLimit: Do not show countdown until last 99 characters"
[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
74 === Deprecations in 1.32 ===
75 * Use of a StartProfiler.php file is deprecated in favour of placing
76 configuration in LocalSettings.php.
77 * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit
78 button is already marked as progressive.
79 * Skin::setupSkinUserCss() is deprecated. Adding of modules to load
80 has been centralised to Skin::getDefaultModules(), which is now capable
81 of queueing style modules as well.
82
83 === Other changes in 1.32 ===
84 * …
85
86 == Compatibility ==
87 MediaWiki 1.32 requires PHP 5.5.9 or later. Although HHVM 3.18.5 or later is supported,
88 it is generally advised to use PHP 5.5.9 or later for long term support.
89
90 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
91 but support for them is somewhat less mature. There is experimental support for
92 Oracle and Microsoft SQL Server.
93
94 The supported versions are:
95
96 * MySQL 5.5.8 or later
97 * PostgreSQL 9.2 or later
98 * SQLite 3.3.7 or later
99 * Oracle 9.0.1 or later
100 * Microsoft SQL Server 2005 (9.00.1399)
101
102 == Upgrading ==
103 1.32 has several database changes since 1.31, and will not work without schema
104 updates. Note that due to changes to some very large tables like the revision
105 table, the schema update may take quite long (minutes on a medium sized site,
106 many hours on a large site).
107
108 Don't forget to always back up your database before upgrading!
109
110 See the file UPGRADE for more detailed upgrade instructions, including
111 important information when upgrading from versions prior to 1.11.
112
113 For notes on 1.31.x and older releases, see HISTORY.
114
115 == Online documentation ==
116 Documentation for both end-users and site administrators is available on
117 MediaWiki.org, and is covered under the GNU Free Documentation License (except
118 for pages that explicitly state that their contents are in the public domain):
119
120 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
121
122 == Mailing list ==
123 A mailing list is available for MediaWiki user support and discussion:
124
125 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
126
127 A low-traffic announcements-only list is also available:
128
129 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
130
131 It's highly recommended that you sign up for one of these lists if you're
132 going to run a public MediaWiki, so you can be notified of security fixes.
133
134 == IRC help ==
135 There's usually someone online in #mediawiki on irc.freenode.net.