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