X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=RELEASE-NOTES-1.32;h=60f5e6abf109a42617ea090767f020e519554f99;hp=041b3d73dbe6c799e7544f2f5c2372b7f9136a7d;hb=908d5115623ec9e6c40599c5cee4555a7335423f;hpb=e2c57689a62ee82f812a05e9cd59c7978dec25ab diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index 041b3d73db..60f5e6abf1 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -36,6 +36,10 @@ production. (e.g. MediaWiki:Common.js), CSS or JSON was separated from 'editinterface' and is available under 'editsitejs'/'editsitecss'/'editsitejson'. Having 'editinterface' is still necessary to edit such pages. +* $wgMultiContentRevisionSchemaMigrationStage now defaults to writing both the + old and the new schema, but reading the new schema, so Multi-Content Revisions + (MCR) are now functional per default. The new default value of the setting is + SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW. ==== Removed configuration ==== * $wgEnableAPI and $wgEnableWriteAPI – These settings, deprecated in 1.31, @@ -104,7 +108,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. @@ -163,13 +167,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() @@ -290,11 +296,33 @@ because of Phabricator reports. Define $wgProfiler via LocalSettings.php instead. * The mw.loader.addSource() is now considered a private method, and no longer supports the `id, url` signature. Use the `Object` parameter instead. +* The backwards-compatibility code in HTMLForm to add a drop-down control to an + option that is not set to be a drop-down if the "mw-chosen" class is present, + is now removed. * Several collations were removed. They were workarounds for bugs in the ICU library and they are no longer needed (as of ICU 57.1): * 'uppercase-se' (NorthernSamiUppercaseCollation) - use 'uca-se' instead * 'xx-uca-et' (CollationEt) - use 'uca-et' instead * 'xx-uca-fa' (CollationFa) - use 'uca-fa' instead +* The hooks 'SpecialRecentChangesFilters' & 'SpecialWatchlistFilters' deprecated + in 1.23 were removed. Instead, use 'ChangesListSpecialPageStructuredFilters'. + The ChangesListSpecialPage code for these legacy hooks, and their use in + SpecialRecentchanges.php and SpecialWatchlist, was also removed: + * ChangesListSpecialPage->getCustomFilters() + * ChangesListSpecialPage->getFilterGroupDefinitionFromLegacyCustomFilters() + * 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. === Deprecations in 1.32 === * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit @@ -417,6 +445,27 @@ because of Phabricator reports. 'help', 'help-message', 'help-messages' instead. * (T197179) HTMLFormField::getNotices() is now deprecated. * The jquery.localize module is now deprecated. Use jquery.i18n instead. +* The SecondaryDataUpdates hook was deprecated in favor of RevisionDataUpdates, + or overriding ContentHandler::getSecondaryDataUpdates (T194038). +* The WikiPageDeletionUpdates hook was deprecated in favor of + PageDeletionDataUpdates, or overriding ContentHandler::getDeletionDataUpdates + (T194038). +* Content::getSecondaryDataUpdates has been deprecated in favor of + ContentHandler::getSecondaryDataUpdates() for overriding by extensions + (T194038). + Application logic should call WikiPage::doSecondaryDataUpdates() (T194037). +* 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. === Other changes in 1.32 === * (T198811) The following tables have had their UNIQUE indexes turned into @@ -427,6 +476,11 @@ because of Phabricator reports. `'help-inline' => false`. * The archive table's ar_rev_id field is now unique. * Special:BotPasswords now requires reauthentication. +* (T174023) Multi-Content Revision (MCR) capabilities were introduced into the + storage layer and have basic support for display. No user interface exists + yet for creating or managing content in slots beides the main slot. See + for more + information. * … == Compatibility ==