X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=blobdiff_plain;f=RELEASE-NOTES-1.32;h=54352138a3e55f5ff969b33e7ea2382cce273e1a;hb=dcb721dca4612594666025b56687c36ba18794fb;hp=c41e5b5dc86ce2031f98b1b8f6198329ec500cd7;hpb=e0a3801da297d012fc67f2c128ab7e57e20f0571;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index c41e5b5dc8..54352138a3 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -23,10 +23,12 @@ production. the parser allowing them to insert malicious attributes. Disabled by default, you can configure this via $wgCSPHeader and $wgCSPReportOnlyHeader. * 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. + 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. +* (T194414) The default watchlist view time has been increased from 3 to 7 days. === New features in 1.32 === * (T112474) Generalized the ResourceLoader mechanism for overriding modules @@ -36,16 +38,24 @@ production. * Added 'ApiParseMakeOutputPage' hook. * (T174313) Added checkbox on Special:ListUsers to display only users in 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. +* (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. + &$query and &$widthOption, allowing extensions even finer control over the + resulting HTML code. +* Added new 'ArticleShowPatrolFooter' hook, which allows extensions to determine + if the [mark as patrolled] link should be shown at the footer of patrollable + pages. +* The array of hidden options ($opts) passed to the 'SpecialSearchPowerBox' hook + is now passed by reference, allowing extensions to modify or even unset it. +* Added new 'OutputPageAfterGetHeadLinksArray' hook, allowing extensions to + modify the return value of OutputPage#getHeadLinksArray in order to add, + remove or otherwise alter the elements to be output in the page . === External library changes in 1.32 === * … @@ -82,6 +92,9 @@ production. * 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. +* (T198935) User list preferences such as `email-blacklist` and similar + extension preferences are no longer represented as arrays when returned by + action=query&meta=userinfo&uiprop=options. === Action API internal changes in 1.32 === * Added 'ApiParseMakeOutputPage' hook. @@ -179,6 +192,9 @@ because of Phabricator reports. CapsuleMultiselectWidget. The following methods may no longer be used: * setItemsFromData: Use setValue instead * getItemsData: Use getItems instead and get the data property +* LanguageCode::bcp47() now always returns a valid BCP 47 code. This means + that some MediaWiki-specific language codes, such as `simple`, are mapped + into valid BCP 47 codes (eg `en-simple`). === Deprecations in 1.32 === * Use of a StartProfiler.php file is deprecated in favour of placing @@ -225,6 +241,12 @@ because of Phabricator reports. 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. +* (T197492) Language::truncate() was soft deprecated in 1.31 and is + hard deprecated in this release. It has been split into two similar + methods, Language::truncateForVisual() and Language::truncateForDatabase(), + which measure length in characters and bytes, respectively. Use + Language::truncateForVisual() when possible to provide equity to users + of multibyte scripts. * (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(). @@ -232,8 +254,36 @@ because of Phabricator reports. * ResourceLoaderStartUpModule::getStartupModules() and ::getLegacyModules() are deprecated. These concepts are obsolete and have no replacement. * String type for $lang of DifferenceEngine::setTextLanguage is deprecated. +* The following methods of OutputPage are now deprecated in favour + of using showFatalError directly: OutputPage::showFileDeleteError() + OutputPage::showFileNotFoundError(), OutputPage::showFileRenameError() + OutputPage::showFileCopyError() and OutputPage::showUnexpectedValueError(). +* The Replacer, DoubleReplacer, HashtableReplacer, and RegexlikeReplacer + classes are now deprecated. Use a Closure instead. +* (T194263) ContentHandler::makeParserOptions() is deprecated. Use + WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead. +* (T100681) Use of the Parsoid v1 API with the VirtualRESTService, deprecated in + MediaWiki 1.26, is now hard-deprecated. All known clients were converted to + the Parsoid v3 API in May 2015. +* $input is deprecated in hook 'LogEventsListGetExtraInputs'. Use + $formDescriptor instead. +* SearchEngine::transformSearchTerm( $term ) should no longer be called prior + to running searchText. This method was mainly implemented to support the + 'prefix' URI param in SpecialSearch, but there are no reasons to expose this + logic as it should be handled internally by SearchEngine implementations + supporting this feature. SearchEngine implementations should no longer + override this methods. +* SearchEngine::replacePrefixes( $query ) should no longer be called prior + to running searchText/searchTitle. +* (T199657) Messages for $wgFilterLogTypes labels should be no longer be in the + 'log-show-hide-[type]' format. Instead use 'logeventslist-[type]-log'. +* Global functions wfArrayFilter() and wfArrayFilterByKey() are deprecated. + use array_filter() directly. === Other changes in 1.32 === +* (T198811) The following tables have had their UNIQUE indexes turned into + proper PRIMARY KEYs for increased maintainability: interwiki, page_props, + protected_titles and site_identifiers. * … == Compatibility ==