X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.32;h=3c60124d40fb745725a1f2901b4aad075343ceea;hb=39163edd17e0cc3ec7d87f9e3ac942e995d56326;hp=d0783b6ec35087e164ee3b858e2ca0df267481bb;hpb=708f51c2c60b970549f463776faa38318fd11d21;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index d0783b6ec3..3c60124d40 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -24,6 +24,8 @@ production. * New configuration variable has been added: $wgCookieSetOnIpBlock. This determines whether to set a cookie when an IP user is blocked. Doing so means that a blocked user, even after moving to a new IP address, will still be blocked. +* The archive table's ar_rev_id field is now unique. +* Special:BotPasswords now requires reauthentication. === New features in 1.32 === * (T112474) Generalized the ResourceLoader mechanism for overriding modules @@ -35,6 +37,14 @@ production. temporary user groups. * (T152462) A cookie can now be set when an IP user is blocked to track that user if they move to a new IP address. This is disabled by default. +* (T194950) Added 'ApiMaxLagInfo' hook. +* SpecialPage::checkLoginSecurityLevel() will now preserve POST data when + reauthenticating. +* FormSpecialPage::execute() will now call checkLoginSecurityLevel() if + getLoginSecurityLevel() returns non-false. +* The 'ImageBeforeProduceHTML' hook is now passed three new parameters, $parser, + &$query and &$widthOption, allowing extensions even finer control over the resulting + HTML code. === External library changes in 1.32 === * … @@ -43,6 +53,7 @@ production. * Updated QUnit from 2.4.0 to 2.6.0. * Updated wikimedia/scoped-callback from 1.0.0 to 2.0.0. ** ScopedCallback objects can no longer be serialized. +* Updated wikimedia/wrappedstring from 2.3.0 to 3.0.1. ==== New external libraries ==== * Added wikimedia/xmp-reader 0.5.1 @@ -52,7 +63,8 @@ production. * … === Bug fixes in 1.32 === -* … +* SpecialPage::execute() will now only call checkLoginSecurityLevel() if + getLoginSecurityLevel() returns non-false. === Action API changes in 1.32 === * Added templated parameters. @@ -66,11 +78,15 @@ production. templated parameters. * It is now an error to submit too many values for a multi-valued parameter. This has generated a warning since MediaWiki 1.14. +* Assertion failures from the 'assert' and 'assertuser' parameters will no + longer use the action module's custom response format, for the few modules + that use custom formatters that handle errors. === Action API internal changes in 1.32 === * Added 'ApiParseMakeOutputPage' hook. * Parameter names may no longer contain '{' or '}', as these are now used for templated parameters. +* (T194950) Added 'ApiMaxLagInfo' hook. === Languages updated in 1.32 === MediaWiki supports over 350 languages. Many localisations are updated regularly. @@ -80,6 +96,7 @@ because of Phabricator reports. * (T193566) Added language support for Ambonese Malay (abs). * (T194047) Added language support for Shawiya, Latin script (shy-latn). * (T195940) Added language support for Batak Mandailing (btm). +* (T137491) Added language support for Standard Moroccan Amazigh (zgh). === Breaking changes in 1.32 === * $wgRequestTime, deprecated in 1.25, was removed. Use @@ -115,6 +132,7 @@ because of Phabricator reports. removed. Use JobQueueGroup::singleton()->push() instead. * The jquery.footHovzer module, for mediawiki.debug, was removed. * The es5-shim module, empty and deprecated since 1.29, was removed. +* the dom-level2-shim module, empty and deprecated since 1.29, was removed. * The mediawiki.widgets.visibleByteLimit module alias, deprecated in 1.32, was removed. Use mediawiki.widgets.visibleLengthLimit instead. * The jquery.farbtastic module, unused since 1.18, was removed. @@ -139,6 +157,18 @@ because of Phabricator reports. were removed. Use the ParserCache class instead. * ScopedCallback (deprecated in 1.28) was removed. Use Wikimedia\ScopedCallback instead. +* Support for ResourceLoaderModule::getModifiedTime() and getModifiedHash(), + deprecated since 1.26, was removed. Use getDefinitionSummary() instead. +* (T195256) Skins are recommended not to rely on JavaScript for the "mw-jump" + and "jump-to-nav" accessibility links. To this end, the "jquery.mw-jump" + is no longer loaded by default. The Vector and MonoBook skins have made a + minor change to implement the toggle feature with CSS instead. To restore + prior functionality, either explicitly load "jquery.mw-jump" in your skin + or refer to T195256 for details on how to make the same change. +* Hook 'EditPageBeforeEditChecks' was removed; + use 'EditPageGetCheckboxesDefinition' instead. +* Linker::getLinkColour() and DummyLinker::getLinkColour(), deprecated since + 1.28, were removed. LinkRenderer::getLinkClasses() should be used instead. === Deprecations in 1.32 === * Use of a StartProfiler.php file is deprecated in favour of placing @@ -169,6 +199,26 @@ because of Phabricator reports. * The ApiQueryContributions class has been renamed to ApiQueryUserContribs. * The XMPInfo, XMPReader, and XMPValidate classes have been deprecated in favor of the namespaced classes provided by the wikimedia/xmp-reader library. +* SearchResultSet::{next,rewind} are deprecated. Calling code should + use foreach on the SearchResultSet, or the extractResults method. Extending + code should override extractResults. +* Instantiating SearchResultSet directly is deprecated. SearchEngine + implementations must subclass SearchResultSet for their purposes. +* SearchResult::setExtensionData argument has been changed from accepting an + array to accepting a Closure that returns the array when called. +* Class CryptRand, everything in MWCryptRand except generateHex() and function + MediaWikiServices::getCryptRand() are deprecated, use random_bytes() to + generate cryptographically secure random byte sequences. +* Parser::getConverterLanguage() is deprecated. Use ::getTargetLanguage() + instead. +* Language::markNoConversion() is deprecated. It confused readers because + it had unexpected behavior (only marking text if it looked like a URL) + and was only used in a single place in the code. Use + LanguageConverter::markNoConversion() instead. +* (T176526) EditPage::getContextTitle() falling back to $wgTitle when the + context title is unset is now deprecated; anything creating an EditPage + instance should set the context title via ::setContextTitle(). +* The 'jquery.hidpi' module (polyfill for IMG srcset) is deprecated. === Other changes in 1.32 === * …