X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=RELEASE-NOTES-1.32;h=6fb15bb7fc27e2095105c0184322be6eca8c33b5;hb=bf30fcb71427d673f7c83a067b3241040d3470b6;hp=5954b872a7af9f97e0cb0f96e7fa5cdcb431a677;hpb=8bc630cead937718d6e6bcb6e32c5c539d6ad305;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index 5954b872a7..6fb15bb7fc 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -93,6 +93,9 @@ production. This action should be considered deprecated and should not be used directly. * Extensions overriding ContentHandler::getUndoContent() will need to be updated for the changed method signature. +* Added a new hook, 'UserGetRightsRemove', which can be used to remove rights + from user. Unlike the 'UserGetRights' it will ensure that removed rights + will not be reinserted. === External library changes in 1.32 === @@ -108,7 +111,7 @@ production. * Updated mediawiki/mediawiki-codesniffer from v20.0.0 to v21.0.0. * Updated composer/spdx-licenses from 1.3.0 to 1.4.0. * Updated jquery.i18n from 1.0.4 to 1.0.5. -* Updated wikimedia/timestamp from 1.0.0 to 2.0.0. +* Updated wikimedia/timestamp from 1.0.0 to 2.2.0. * Updated wikimedia/remex-html from 1.0.3 to 2.0.0. * Updated jquery from v3.2.1 to v3.3.1. @@ -119,6 +122,7 @@ production. * SpecialPage::execute() will now only call checkLoginSecurityLevel() if getLoginSecurityLevel() returns non-false. * (T43720, T46197) Improved page display title handling for category pages +* (T65080) Fixed resetting options of some types via API action=options. === Action API changes in 1.32 === * Added templated parameters. @@ -167,13 +171,15 @@ production. content is not being preserved. 'fromsection-{slot}' and 'tosection-{slot}' instead expand the given text as if for a section edit. This effectively declines T183823 in favor of T185723. +* (T198214) The 'disabletidy' parameter to action=parse has been + deprecated; untidy output will not be supported by future wikitext + parsers. === 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. -* Added 'ApiParseMakeOutputPage' hook. * The following methods now take a RevisionRecord rather than a Revision. No external callers are known. * ApiFeedContributions::feedItemAuthor() @@ -311,6 +317,18 @@ because of Phabricator reports. * ChangesListSpecialPage::customFilters * The global function wfUseMW, deprecated since 1.26, has now been removed. Use the "requires" property of static extension registration instead. +* $wgSpecialPages no longer accepts array syntax, deprecated since 1.18. +* The MailAddress constructor can no longer be called with a User object, + behaviour which has been deprecated since 1.24. +* LBFactory, deprecated since 1.28, has been removed. Instead, use + Wikimedia\Rdbms\LBFactory. +* The MimeMagic class, deprecated since 1.28 has been removed. Get a + MimeAnalyzer instance from MediaWikiServices instead. +* The '--tidy' option to maintenance/parse.php has been removed. Tidying + the output is now the default. Use '--no-tidy' to bypass the tidy + phase. +* The global function wfErrorLog, deprecated since 1.25, has now been removed. + Use MWLoggerLegacyLogger::emit or UDPTransport. === Deprecations in 1.32 === * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit @@ -445,6 +463,22 @@ because of Phabricator reports. * Content::getDeletionUpdates has been deprecated in favor of ContentHandler::getDeletionUpdates() for overriding by extensions (T194038). Application logic should call WikiPage::doSecondaryDataUpdates() (T194037). +* (T198214) Old Tidy-related configuration settings, which were soft-deprecated + in MediaWiki 1.26, have now been hard deprecated. This affects $wgUseTidy, + $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and $wgDebugTidy. Use + $wgTidyConfig instead. +* All Tidy configurations other than Remex have been hard deprecated; + future parsers will not emit compatible output for these configurations. +* QuickTemplate::msgHtml() and BaseTemplate::msgHtml() have been deprecated + as they promote bad practises. I18n messages should always be properly + escaped. +* Skin::getDynamicStylesheetQuery() has been deprecated. It always + returns action=raw&ctype=text/css which callers should use directly. +* Class LegacyFormatter is deprecated. +* Use of CommentStore::insertWithTempTable() with 'img_description' is + deprecated. Use CommentStore::insert() instead. +* Language::setCode is deprecated as public function. Use Language::factory + to create a new Language object with a different language code. === Other changes in 1.32 === * (T198811) The following tables have had their UNIQUE indexes turned into @@ -460,7 +494,10 @@ because of Phabricator reports. yet for creating or managing content in slots beides the main slot. See for more information. -* … +* The image_comment_temp database table is merged into the image table and + deprecated. Since access should be mediated by the CommentStore class, this + change shouldn't affect external code. +* (T206147) Database::close() will no longer commit any open transactions. == Compatibility == MediaWiki 1.32 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is