Merge "hooks: Drop Special{Watchlist|RecentChanges}Filters, deprecated in 1.23"
[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
10 ==== New configuration ====
11 * $wgJpegQuality – The quality of JPEG thumbnails is now configurable through
12 this setting. The default is 80, which matches the quality of JPEG thumbnails
13 previously generated by ImageMagick. The quality of JPEG thumbnails generated
14 by GD was previously 95, but now uses the $wgJpegQuality setting as well.
15 * $wgCookieSetOnIpBlock - This determines whether to set a cookie when an IP
16 user is blocked. Doing so means that a blocked user, even after moving to a
17 new IP address, will still be blocked.
18 * $wgRawHtmlMessages – This new configuration setting is added for listing
19 messages which are displayed as raw HTML.
20 * $wgCSPHeader and $wgCSPReportOnlyHeader – You can now define a
21 "Content Security Policy" for your wiki. This adds a defense-in-depth feature
22 to stop an attacker who has found a bug in the parser allowing them to insert
23 malicious attributes. Disabled by default. (T135963)
24 * $wgGroupPermissions – A new user group, 'interface-admin', is added for
25 controlling access to sitewide CSS/JS (and editing other users' CSS/JS). No
26 other group has 'editsitecss', 'editusercss', 'editsitejs' or 'edituserjs'
27 by default.
28 * $wgGrantPermissions – A new grant group, 'editsiteconfig', is added for
29 granting the above rights.
30
31 ==== Changed configuration ====
32 * $wgUseAjax – This setting, deprecated in 1.31, is now ignored.
33 * $wgDefaultUserOptions – The default watchlist view time (watchlistdays) has
34 been increased from 3 to 7 days. (T194414)
35 * $wgGroupPermissions – The right to edit sitewide Javascript
36 (e.g. MediaWiki:Common.js), CSS or JSON was separated from 'editinterface'
37 and is available under 'editsitejs'/'editsitecss'/'editsitejson'. Having
38 'editinterface' is still necessary to edit such pages.
39
40 ==== Removed configuration ====
41 * $wgEnableAPI and $wgEnableWriteAPI – These settings, deprecated in 1.31,
42 have been removed. (T115414)
43 * $wgSiteSupportPage – This setting, unused since 1.5, was removed.
44 * $wgBrowserBlacklist – This setting, deprecated in 1.30, was removed.
45 * $wgExperimentalHtmlIds – This setting, deprecated since 1.30, was removed.
46 The 'html5-legacy' value for $wgFragmentMode is no longer accepted.
47 * $wgPasswordSenderName - This setting, ignored since 1.23 by MediaWiki and
48 most extensions, is no longer set. Instead, you can modify the system
49 message `emailsender`.
50 * $wgTidyConfig – The experimental Html5Internal and Html5Depurate tidy drivers
51 were removed. RemexHtml, which is the default, should be used instead.
52
53 === New features in 1.32 ===
54 * (T112474) Generalized the ResourceLoader mechanism for overriding modules
55 using a particular page during edit previews.
56 * (T12331) You can now log page creation events by setting $wgPageCreationLog
57 to true.
58 * Added 'ApiParseMakeOutputPage' hook.
59 * (T174313) Added checkbox on Special:ListUsers to display only users in
60 temporary user groups.
61 * (T152462) A cookie can now be set when an IP user is blocked to track that
62 user if they move to a new IP address. This is disabled by default.
63 * (T194950) Added 'ApiMaxLagInfo' hook.
64 * SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
65 reauthenticating.
66 * FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
67 getLoginSecurityLevel() returns non-false.
68 * The 'ImageBeforeProduceHTML' hook is now passed three new parameters, $parser,
69 &$query and &$widthOption, allowing extensions even finer control over the
70 resulting HTML code.
71 * Added new 'ArticleShowPatrolFooter' hook, which allows extensions to determine
72 if the [mark as patrolled] link should be shown at the footer of patrollable
73 pages.
74 * The array of hidden options ($opts) passed to the 'SpecialSearchPowerBox' hook
75 is now passed by reference, allowing extensions to modify or even unset it.
76 * Added new 'OutputPageAfterGetHeadLinksArray' hook, allowing extensions to
77 modify the return value of OutputPage#getHeadLinksArray in order to add,
78 remove or otherwise alter the elements to be output in the page <head>.
79 * (T28934) The 'HistoryPageToolLinks' hook allows extensions to append
80 additional links to the subtitle of a history page.
81 * The 'GetLinkColours' hook now receives an additional $title parameter,
82 the Title object of the page being parsed, on which the links will be shown.
83 * (T194731) DifferenceEngine supports multiple slots. Added SlotDiffRenderer to
84 render diffs between two Content objects, and DifferenceEngine::setRevisions()
85 to render diffs between two custom (potentially multi-content) revisions.
86 Added GetSlotDiffRenderer hook which works like GetDifferenceEngine for slots.
87 * Added a temporary action=mcrundo to the web UI, as the normal undo logic
88 can't yet handle MCR and deadlines are forcing is to put off fixing that.
89 This action should be considered deprecated and should not be used directly.
90 * Extensions overriding ContentHandler::getUndoContent() will need to be
91 updated for the changed method signature.
92
93 === External library changes in 1.32 ===
94
95 ==== New external libraries ====
96 * Added wikimedia/xmp-reader 0.6.0
97 * …
98
99 ==== Changed external libraries ====
100 * Updated qunitjs from 2.4.0 to 2.6.2.
101 * Updated wikimedia/scoped-callback from 1.0.0 to 2.0.0.
102 ** ScopedCallback objects can no longer be serialized.
103 * Updated wikimedia/wrappedstring from 2.3.0 to 3.0.1.
104 * Updated mediawiki/mediawiki-codesniffer from v20.0.0 to v21.0.0.
105 * Updated composer/spdx-licenses from 1.3.0 to 1.4.0.
106 * Updated jquery.i18n from 1.0.4 to 1.0.5.
107 * Updated wikimedia/timestamp from 1.0.0 to 2.0.0.
108 * Updated wikimedia/remex-html from 1.0.3 to 2.0.0.
109 * Updated jquery from v3.2.1 to v3.3.1.
110
111 ==== Removed external libraries ====
112 * …
113
114 === Bug fixes in 1.32 ===
115 * SpecialPage::execute() will now only call checkLoginSecurityLevel() if
116 getLoginSecurityLevel() returns non-false.
117 * (T43720, T46197) Improved page display title handling for category pages
118
119 === Action API changes in 1.32 ===
120 * Added templated parameters.
121 * A module can define a templated parameter like "{fruit}-quantity", where
122 the actual parameters recognized correspond to the values of a multi-valued
123 parameter. Then clients can make requests like
124 "fruits=apples|bananas&apples-quantity=1&bananas-quantity=5".
125 * action=paraminfo will return templated parameter definitions separately
126 from normal parameters. All parameter definitions now include an "index"
127 key to allow clients to maintain parameter ordering when merging normal and
128 templated parameters.
129 * It is now an error to submit too many values for a multi-valued parameter.
130 This has generated a warning since MediaWiki 1.14.
131 * Assertion failures from the 'assert' and 'assertuser' parameters will no
132 longer use the action module's custom response format, for the few modules
133 that use custom formatters that handle errors.
134 * (T198935) User list preferences such as `email-blacklist` and similar
135 extension preferences are no longer represented as arrays when returned by
136 action=query&meta=userinfo&uiprop=options.
137 * 'missingparam' errors will now use the prefixed parameter name in the code
138 and error text, e.g. "noxxfoo" and "The 'xxfoo' parameter must be set" rather
139 than "nofoo" and "The 'foo' parameter must be set".
140 * action=query&prop=revisions now takes a 'rvslots' parameter to indicate the
141 multi-content revision slots for which content should be returned. It also
142 has a new rvprop, 'roles', to indicate which roles have slots. A deprecation
143 warning will be issued if rvprop=content or rvprop=contentmodel are used
144 without rvslots.
145 * The rvcontentformat parameter to action=query&prop=revisions has been
146 deprecated. Clients should be prepared to deal with the default format for
147 relevant models.
148 * Use of the deprecated parameters rvexpandtemplates, rvgeneratexml, rvparse,
149 rvdiffto, rvdifftotext, rvdifftotextpst, rvcontentformat, or the deprecated
150 rvprop=parsetree is forbidden with the new 'rvslots' parameter.
151 * action=query&prop=deletedrevisions, action=query&list=allrevisions, and
152 action=query&list=alldeletedrevisions are changed similarly to
153 &prop=revisions (see the three previous items).
154 * (T174032) action=compare now supports multi-content revisions.
155 * It has a 'slots' parameter to select diffing of individual slots. The
156 default behavior is to return one combined diff.
157 * The 'fromtext', 'fromsection', 'fromcontentmodel', 'fromcontentformat',
158 'totext', 'tosection', 'tocontentmodel', and 'tocontentformat' parameters
159 are deprecated. Specify the new 'fromslots' and 'toslots' to identify which
160 slots have text supplied and the corresponding templated parameters for
161 each slot.
162 * The behavior of 'fromsection' and 'tosection' of extracting one section's
163 content is not being preserved. 'fromsection-{slot}' and 'tosection-{slot}'
164 instead expand the given text as if for a section edit. This effectively
165 declines T183823 in favor of T185723.
166
167 === Action API internal changes in 1.32 ===
168 * Added 'ApiParseMakeOutputPage' hook.
169 * Parameter names may no longer contain '{' or '}', as these are now used for
170 templated parameters.
171 * (T194950) Added 'ApiMaxLagInfo' hook.
172 * Added 'ApiParseMakeOutputPage' hook.
173 * The following methods now take a RevisionRecord rather than a Revision. No
174 external callers are known.
175 * ApiFeedContributions::feedItemAuthor()
176 * ApiFeedContributions::feedItemDesc()
177 * ApiQueryRevisionsBase::extractRevisionInfo()
178
179 === Languages updated in 1.32 ===
180 MediaWiki supports over 350 languages. Many localisations are updated regularly.
181 Below only new and removed languages are listed, as well as changes to languages
182 because of Phabricator reports.
183
184 * (T193566) Added language support for Ambonese Malay (abs).
185 * (T194047) Added language support for Shawiya, Latin script (shy-latn).
186 * (T195940) Added language support for Batak Mandailing (btm).
187 * (T137491) Added language support for Standard Moroccan Amazigh (zgh).
188 * (T198132) Added language support for Manipuri (mni).
189 * (T201276) Added language support for Western Armenian (hyw).
190 * (T201583) Added language support for Mon (mnw).
191
192 === Breaking changes in 1.32 ===
193 * $wgRequestTime, deprecated in 1.25, was removed. Use
194 $_SERVER['REQUEST_TIME_FLOAT'] or WebRequest::getElapsedTime() instead.
195 * The MediaWikiI18N class, deprecated in 1.31, was removed.
196 * QuickTemplate::setTranslator(), deprecated in 1.31, was removed. Use
197 Skin::msg() instead.
198 * wfInitShellLocale(), deprecated in 1.30, was removed.
199 * wfShellExecDisabled(), deprecated in 1.30, was removed.
200 * The type string for the parameter $lang of DateFormatter::getInstance,
201 deprecated in 1.31, was removed.
202 * The EDIT_TOKEN_SUFFIX constant deprecated in 1.27, was removed. Use
203 MediaWiki\Session\Token::SUFFIX instead.
204 * EditPage::isOouiEnabled() deprecated in 1.30, was removed.
205 * mw.util.wikiGetlink(), deprecated in 1.23, was removed. Use mw.util.getUrl()
206 instead.
207 * (T61113) The following methods and constants from the Revision class, which
208 were deprecated in 1.25, have now been removed:
209 * Revision::getRawUser()
210 * Revision::getRawUserText()
211 * Revision::getRawComment()
212 * window.gM() from mediawiki.jqueryMsg, deprecated in 1.23, was removed. Use
213 mw.msg() or mw.message() instead.
214 * mw.util.escapeId(), deprecated in 1.30, was removed. Use
215 mw.util.escapeIdForAttribute or mw.util.escapeIdForLink instead.
216 * mw.util.updateTooltipAccessKeys(), deprecated in 1.24, was removed. Use
217 jquery.accessKeyLabel instead.
218 * The SqlDataUpdate class, deprecated in 1.28, has been removed.
219 * The Html5Internal and Html5Depurate tidy driver classes were removed, along
220 with the Balancer tidy implementation. Both implementations were experimental,
221 and were replaced by RemexHtml.
222 * (T179624) Job::insert() and ::batchInsert(), deprecated in 1.21, were both
223 removed. Use JobQueueGroup::singleton()->push() instead.
224 * The jquery.footHovzer module, for mediawiki.debug, was removed.
225 * The es5-shim module, empty and deprecated since 1.29, was removed.
226 * the dom-level2-shim module, empty and deprecated since 1.29, was removed.
227 * the json module, empty and deprecated since 1.29, was removed.
228 * The mediawiki.widgets.visibleByteLimit module alias, deprecated in 1.32, was
229 removed. Use mediawiki.widgets.visibleLengthLimit instead.
230 * The jquery.farbtastic module, unused since 1.18, was removed.
231 * The 'jquery.expandableField' module, unused since 1.22, was removed.
232 * (T181318) The $wgStyleVersion setting and its appendage to various script and
233 style URLs in OutputPage, deprecated in 1.31, was removed.
234 * The hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend' may provide
235 any HTMLForm object rather than PreferencesForm.
236 * The non namespaced TimestampException class, deprecated in 1.29, was removed.
237 Use Wikimedia\Timestamp\TimestampException instead.
238 * The global functions codepointToUtf8, hexSequenceToUtf8, utf8ToHexSequence,
239 utf8ToCodepoint, and escapeSingleString (deprecated in 1.25) were removed.
240 The UtfNormal\Utils class from the utfnormal library should be used instead.
241 * The deprecated UTF8_ and UNICODE_ constants were removed. The class constants
242 from the UtfNormal\Constants class from the utfnormal library should be used
243 * (T140807) The wgResourceLoaderLESSImportPaths configuration option was removed
244 from ResourceLoader. Instead, use `@import` statements in LESS to import
245 files directly from nearby directories within the same project.
246 * (T140804) The wgResourceLoaderLESSVars configuration option, deprecated
247 since 1.30, was removed. Instead, to expose variables from PHP to LESS, use
248 the ResourceLoaderModule::getLessVars() method.
249 * The protected methods PHPSessionHandler::returnSuccess() and returnFailure(),
250 only needed for PHP5 compatibility, have been removed. It now uses the boolean
251 values `true` and `false` respectively.
252 * The $parserMemc global and wfGetParserCacheStorage(), deprecated since 1.30,
253 were removed. Use the ParserCache class instead.
254 * ScopedCallback (deprecated in 1.28) was removed. Use Wikimedia\ScopedCallback
255 instead.
256 * Support for ResourceLoaderModule::getModifiedTime() and getModifiedHash(),
257 deprecated since 1.26, was removed. Use getDefinitionSummary() instead.
258 * (T195256) Skins are recommended not to rely on JavaScript for the "mw-jump"
259 and "jump-to-nav" accessibility links. To this end, the "jquery.mw-jump"
260 is no longer loaded by default. The Vector and MonoBook skins have made a
261 minor change to implement the toggle feature with CSS instead. To restore
262 prior functionality, either explicitly load "jquery.mw-jump" in your skin
263 or refer to T195256 for details on how to make the same change.
264 * Hook 'EditPageBeforeEditChecks' was removed;
265 use 'EditPageGetCheckboxesDefinition' instead.
266 * Linker::getLinkColour() and DummyLinker::getLinkColour(), deprecated since
267 1.28, were removed. LinkRenderer::getLinkClasses() should be used instead.
268 * Wikimedia\Rdbms\LoadBalancer::getLaggedSlaveMode(), deprecated in 1.28, has
269 been removed. Use Wikimedia\Rdbms\LoadBalancer::getLaggedReplicaMode()
270 instead.
271 * mw.widgets.CategoryMultiselectWidget now uses TagMultiselectWidget instead of
272 CapsuleMultiselectWidget. The following methods may no longer be used:
273 * setItemsFromData: Use setValue instead
274 * getItemsData: Use getItems instead and get the data property
275 * Two OutputPage methods, addMetadataLink() and getMetadataAttribute(), were
276 removed. Use addLink() instead.
277 * Another two OutputPage methods, setPageTitleActionText() and
278 getPageTitleActionText(), were removed. They did nothing since 1.15 (almost
279 ten years). Use setHTMLTitle() directly.
280 * All MagicWord static member variables have been removed. Use appropriate
281 hooks or MagicWordFactory methods instead.
282 * MagicWord::clearCache() has been removed. Instead, create a new
283 MagicWordFactory, such as by calling
284 resetServiceForTesting( 'MagicWordFactory' ) on a MediaWikiServices.
285 * mw.util.init() has been removed. This function is not needed anymore and was
286 a no-op function since 1.30.
287 * SpecialPageFactory::resetList() is a no-op. Call overrideMwServices()
288 instead.
289 * MediaWiki no longer supports a StartProfiler.php file.
290 Define $wgProfiler via LocalSettings.php instead.
291 * The mw.loader.addSource() is now considered a private method, and no longer
292 supports the `id, url` signature. Use the `Object` parameter instead.
293 * Several collations were removed. They were workarounds for bugs in the ICU
294 library and they are no longer needed (as of ICU 57.1):
295 * 'uppercase-se' (NorthernSamiUppercaseCollation) - use 'uca-se' instead
296 * 'xx-uca-et' (CollationEt) - use 'uca-et' instead
297 * 'xx-uca-fa' (CollationFa) - use 'uca-fa' instead
298 * The hooks 'SpecialRecentChangesFilters' & 'SpecialWatchlistFilters' deprecated
299 in 1.23 were removed. Instead, use 'ChangesListSpecialPageStructuredFilters'.
300 The ChangesListSpecialPage code for these legacy hooks, and their use in
301 SpecialRecentchanges.php and SpecialWatchlist, was also removed:
302 * ChangesListSpecialPage->getCustomFilters()
303 * ChangesListSpecialPage->getFilterGroupDefinitionFromLegacyCustomFilters()
304 * ChangesListSpecialPage::customFilters
305
306 === Deprecations in 1.32 ===
307 * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit
308 button is already marked as progressive.
309 * Skin::setupSkinUserCss() is deprecated. Adding of modules to load
310 has been centralised to Skin::getDefaultModules(), which is now capable
311 of queueing style modules as well.
312 * OutputPage::addModuleScripts() and ParserOutput::addModuleScripts are
313 deprecated. Use addModules() instead.
314 * Overriding SearchEngine::{searchText,searchTitle,searchArchiveTitle}
315 in extending classes is deprecated. Extend related doSearch* methods
316 instead.
317 * The following 'mediawiki.api' plugin modules were merged into mediawiki.api
318 and deprecated: mediawiki.api.category, mediawiki.api.edit,
319 mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
320 mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
321 mediawiki.api.messages, and mediawiki.api.rollback.
322 * ApiBase::truncateArray() is deprecated. No replacement, as nothing is known
323 to use it.
324 * WatchAction::getUnwatchToken is deprecated. Use WatchAction::getWatchToken
325 with the 'unwatch' action parameter instead.
326 * IcuCollation::getICUVersion() is deprecated, as you can just use the PHP
327 constant INTL_ICU_VERSION directly in all versions that MediaWiki supports.
328 * Parser::fetchFile() is deprecated. Use ::fetchFileAndTitle() instead.
329 * The ApiQueryContributions class has been renamed to ApiQueryUserContribs.
330 * The XMPInfo, XMPReader, and XMPValidate classes have been deprecated in favor
331 of the namespaced classes provided by the wikimedia/xmp-reader library.
332 * SearchResultSet::{next,rewind} are deprecated. Calling code should
333 use foreach on the SearchResultSet, or the extractResults method. Extending
334 code should override extractResults.
335 * Instantiating SearchResultSet directly is deprecated. SearchEngine
336 implementations must subclass SearchResultSet for their purposes.
337 * SearchResult::setExtensionData argument has been changed from accepting an
338 array to accepting a Closure that returns the array when called.
339 * Class CryptRand, everything in MWCryptRand except generateHex() and function
340 MediaWikiServices::getCryptRand() are deprecated, use random_bytes() to
341 generate cryptographically secure random byte sequences.
342 * Parser::getConverterLanguage() is deprecated. Use ::getTargetLanguage()
343 instead.
344 * Language::markNoConversion() is deprecated. It confused readers because
345 it had unexpected behavior (only marking text if it looked like a URL)
346 and was only used in a single place in the code. Use
347 LanguageConverter::markNoConversion() instead.
348 * (T197492) Language::truncate() was soft deprecated in 1.31 and is
349 hard deprecated in this release. It has been split into two similar
350 methods, Language::truncateForVisual() and Language::truncateForDatabase(),
351 which measure length in characters and bytes, respectively. Use
352 Language::truncateForVisual() when possible to provide equity to users
353 of multibyte scripts.
354 * (T176526) EditPage::getContextTitle() falling back to $wgTitle when the
355 context title is unset is now deprecated; anything creating an EditPage
356 instance should set the context title via ::setContextTitle().
357 * The 'jquery.hidpi' module (polyfill for IMG srcset) is deprecated.
358 * ResourceLoaderStartUpModule::getStartupModules() and ::getLegacyModules()
359 are deprecated. These concepts are obsolete and have no replacement.
360 * String type for $lang of DifferenceEngine::setTextLanguage is deprecated.
361 * The following methods of OutputPage are now deprecated in favour
362 of using showFatalError directly: OutputPage::showFileDeleteError()
363 OutputPage::showFileNotFoundError(), OutputPage::showFileRenameError()
364 OutputPage::showFileCopyError() and OutputPage::showUnexpectedValueError().
365 * The Replacer, DoubleReplacer, HashtableReplacer, and RegexlikeReplacer
366 classes are now deprecated. Use a Closure instead.
367 * (T194263) ContentHandler::makeParserOptions() is deprecated. Use
368 WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead.
369 * (T100681) Use of the Parsoid v1 API with the VirtualRESTService, deprecated in
370 MediaWiki 1.26, is now hard-deprecated. All known clients were converted to
371 the Parsoid v3 API in May 2015.
372 * $input is deprecated in hook 'LogEventsListGetExtraInputs'. Use
373 $formDescriptor instead.
374 * SearchEngine::transformSearchTerm( $term ) should no longer be called prior
375 to running searchText. This method was mainly implemented to support the
376 'prefix' URI param in SpecialSearch, but there are no reasons to expose this
377 logic as it should be handled internally by SearchEngine implementations
378 supporting this feature. SearchEngine implementations should no longer
379 override this methods.
380 * SearchEngine::replacePrefixes( $query ) should no longer be called prior
381 to running searchText/searchTitle.
382 * (T199657) Messages for $wgFilterLogTypes labels should be no longer be in the
383 'log-show-hide-[type]' format. Instead use 'logeventslist-[type]-log'.
384 * Global functions wfArrayFilter() and wfArrayFilterByKey() are deprecated.
385 use array_filter() directly.
386 * The $wgShowSQLErrors global is deprecated and nonfunctional.
387 Set $wgShowExceptionDetails and/or $wgShowHostnames instead.
388 * The $wgShowDBErrorBacktrace global is deprecated and nonfunctional.
389 Set $wgShowExceptionDetails instead.
390 * Public access to the DifferenceEngine properties mOldid, mNewid, mOldRev,
391 mNewRev, mOldPage, mNewPage, mOldContent, mNewContent, mRevisionsLoaded,
392 mTextLoaded and mCacheHit is deprecated. Use getOldid() / getNewid() /
393 getOldRevision() / getNewRevision() for the first four (note that the
394 revision ones return a RevisionRecord, not a Revision), do your own lookup
395 for page/content.
396 * The $wgExternalDiffEngine value 'wikidiff2' is deprecated. To use wikidiff2
397 just enable the PHP extension, and it will be autodetected.
398 * (T194731) DifferenceEngine properties mOldContent and mNewContent and methods
399 setContent(), generateContentDiffBody(), generateTextDiffBody() and textDiff()
400 are deprecated. To interact with a single slot, use a SlotDiffRenderer (and
401 subclass it to customize diff rendering); to diff custom (e.g. unsaved)
402 content, use setRevisions(). Subclassing DifferenceEngine should only be done
403 to customize page-level diff properties (such as the navigation header).
404 * The wfUseMW function, soft-deprecated in 1.26, is now hard deprecated.
405 * All MagicWord static methods are now deprecated. Use the MagicWordFactory
406 methods instead.
407 * PasswordFactory::init is deprecated. To get a password factory with the
408 standard configuration, use MediaWikiServices::getPasswordFactory.
409 * $wgContLang is deprecated, use MediaWikiServices::getContentLanguage()
410 instead.
411 * $wgParser is deprecated, use MediaWikiServices::getParser() instead.
412 * wfGetMainCache() is deprecated, use ObjectCache::getLocalClusterInstance()
413 instead.
414 * wfGetCache() is deprecated, use ObjectCache::getInstance() instead.
415 * All SpecialPageFactory static methods are deprecated. Instead, call the
416 methods on a SpecialPageFactory instance, which may be obtained from
417 MediaWikiServices.
418 * mw.user.stickyRandomId was renamed to the more explicit
419 mw.user.getPageviewToken to better capture its function.
420 * Passing Revision objects to ContentHandler::getUndoContent() is deprecated,
421 Content object should be passed instead.
422 * (T197179) Parameters 'notice', 'notice-messages', 'notice-message',
423 previously used by OOUI HTMLForm fields, are now deprecated. Use
424 'help', 'help-message', 'help-messages' instead.
425 * (T197179) HTMLFormField::getNotices() is now deprecated.
426 * The jquery.localize module is now deprecated. Use jquery.i18n instead.
427
428 === Other changes in 1.32 ===
429 * (T198811) The following tables have had their UNIQUE indexes turned into
430 proper PRIMARY KEYs for increased maintainability: interwiki, page_props,
431 protected_titles and site_identifiers.
432 * OOUI HTMLForm will now display help text inline after the input field,
433 rather than in a popup. Previous behavior can be restored by using
434 `'help-inline' => false`.
435 * The archive table's ar_rev_id field is now unique.
436 * Special:BotPasswords now requires reauthentication.
437 * …
438
439 == Compatibility ==
440 MediaWiki 1.32 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is
441 supported, it is generally advised to use PHP 7.0.0 or later for long term
442 support.
443
444 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
445 but support for them is somewhat less mature. There is experimental support for
446 Oracle and Microsoft SQL Server.
447
448 The supported versions are:
449
450 * MySQL 5.5.8 or later
451 * PostgreSQL 9.2 or later
452 * SQLite 3.3.7 or later
453 * Oracle 9.0.1 or later
454 * Microsoft SQL Server 2005 (9.00.1399)
455
456 == Upgrading ==
457 1.32 has several database changes since 1.31, and will not work without schema
458 updates. Note that due to changes to some very large tables like the revision
459 table, the schema update may take quite long (minutes on a medium sized site,
460 many hours on a large site).
461
462 Don't forget to always back up your database before upgrading!
463
464 See the file UPGRADE for more detailed upgrade instructions, including
465 important information when upgrading from versions prior to 1.11.
466
467 For notes on 1.31.x and older releases, see HISTORY.
468
469 == Online documentation ==
470 Documentation for both end-users and site administrators is available on
471 MediaWiki.org, and is covered under the GNU Free Documentation License (except
472 for pages that explicitly state that their contents are in the public domain):
473
474 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
475
476 == Mailing list ==
477 A mailing list is available for MediaWiki user support and discussion:
478
479 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
480
481 A low-traffic announcements-only list is also available:
482
483 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
484
485 It's highly recommended that you sign up for one of these lists if you're
486 going to run a public MediaWiki, so you can be notified of security fixes.
487
488 == IRC help ==
489 There's usually someone online in #mediawiki on irc.freenode.net.