X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=RELEASE-NOTES-1.32;h=5954b872a7af9f97e0cb0f96e7fa5cdcb431a677;hp=ab008db9f161984d7472bb6b8742cc0163429228;hb=91698e974c6fdc6113af09bd7a6e7c7352778ba3;hpb=235f3409d1b0b8ab61a01b1e14c2714e7ecb98a7 diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index ab008db9f1..5954b872a7 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -6,42 +6,53 @@ MediaWiki 1.32 is an alpha-quality branch and is not recommended for use in production. === Configuration changes in 1.32 === -* (T115414) The $wgEnableAPI and $wgEnableWriteAPI settings, deprecated in 1.31, - have been removed. -* The $wgUseAjax setting, deprecated in 1.31, is now ignored. -* The $wgSiteSupportPage setting, unused since 1.5, was removed. -* The $wgBrowserBlacklist setting, deprecated in 1.30, was removed. -* The default quality of JPEG thumbnails generated by GD was reduced from 95 to - 80. The quality of JPEG thumbnails is now configurable through the new setting - $wgJpegQuality (default 80). This aligns the quality to what ImageMagick uses. -* $wgExperimentalHtmlIds, deprecated since 1.30, has been removed. The - 'html5-legacy' value for $wgFragmentMode is no longer accepted. -* The experimental Html5Internal and Html5Depurate tidy drivers were removed. - RemexHtml, which is the default, should be used instead. -* (T135963) You can now define a Content Security Policy for your wiki. This - adds a defense-in-depth feature to stop an attacker who has found a bug in - 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. -* 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. -* The right to edit sitewide Javascript (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. -* A new user group, 'interface-admin', is added for controlling access to - sitewide CSS/JS (and editing other users' CSS/JS). No other group has - 'editsitecss', 'editusercss', 'editsitejs' or 'edituserjs' by default. -* A new grant group, 'editsiteconfig', is added for granting the above rights. -* The $wgPasswordSenderName setting, ignored since 1.23 by MediaWiki and almost - all extensions, is no longer set at all. Instead, you can modify the system - message `emailsender`. -* A new configuration setting, $wgRawHtmlMessages, is added, for listing + +==== New configuration ==== +* $wgJpegQuality – The quality of JPEG thumbnails is now configurable through + this setting. The default is 80, which matches the quality of JPEG thumbnails + previously generated by ImageMagick. The quality of JPEG thumbnails generated + by GD was previously 95, but now uses the $wgJpegQuality setting as well. +* $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. +* $wgRawHtmlMessages – This new configuration setting is added for listing messages which are displayed as raw HTML. +* $wgCSPHeader and $wgCSPReportOnlyHeader – You can now define a + "Content Security Policy" for your wiki. This adds a defense-in-depth feature + to stop an attacker who has found a bug in the parser allowing them to insert + malicious attributes. Disabled by default. (T135963) +* $wgGroupPermissions – A new user group, 'interface-admin', is added for + controlling access to sitewide CSS/JS (and editing other users' CSS/JS). No + other group has 'editsitecss', 'editusercss', 'editsitejs' or 'edituserjs' + by default. +* $wgGrantPermissions – A new grant group, 'editsiteconfig', is added for + granting the above rights. + +==== Changed configuration ==== +* $wgUseAjax – This setting, deprecated in 1.31, is now ignored. +* $wgDefaultUserOptions – The default watchlist view time (watchlistdays) has + been increased from 3 to 7 days. (T194414) +* $wgGroupPermissions – The right to edit sitewide Javascript + (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, + have been removed. (T115414) +* $wgSiteSupportPage – This setting, unused since 1.5, was removed. +* $wgBrowserBlacklist – This setting, deprecated in 1.30, was removed. +* $wgExperimentalHtmlIds – This setting, deprecated since 1.30, was removed. + The 'html5-legacy' value for $wgFragmentMode is no longer accepted. +* $wgPasswordSenderName - This setting, ignored since 1.23 by MediaWiki and + most extensions, is no longer set. Instead, you can modify the system + message `emailsender`. +* $wgTidyConfig – The experimental Html5Internal and Html5Depurate tidy drivers + were removed. RemexHtml, which is the default, should be used instead. === New features in 1.32 === * (T112474) Generalized the ResourceLoader mechanism for overriding modules @@ -84,10 +95,13 @@ production. updated for the changed method signature. === External library changes in 1.32 === + +==== New external libraries ==== +* Added wikimedia/xmp-reader 0.6.0 * … -==== Upgraded external libraries ==== -* Updated QUnit from 2.4.0 to 2.6.0. +==== Changed external libraries ==== +* Updated qunitjs from 2.4.0 to 2.6.2. * 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. @@ -96,17 +110,15 @@ production. * Updated jquery.i18n from 1.0.4 to 1.0.5. * Updated wikimedia/timestamp from 1.0.0 to 2.0.0. * Updated wikimedia/remex-html from 1.0.3 to 2.0.0. +* Updated jquery from v3.2.1 to v3.3.1. -==== New external libraries ==== -* Added wikimedia/xmp-reader 0.6.0 -* … - -==== Removed and replaced external libraries ==== +==== Removed external libraries ==== * … === Bug fixes in 1.32 === * SpecialPage::execute() will now only call checkLoginSecurityLevel() if getLoginSecurityLevel() returns non-false. +* (T43720, T46197) Improved page display title handling for category pages === Action API changes in 1.32 === * Added templated parameters. @@ -280,6 +292,25 @@ because of Phabricator reports. instead. * MediaWiki no longer supports a StartProfiler.php file. 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. === Deprecations in 1.32 === * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit @@ -292,7 +323,6 @@ because of Phabricator reports. * Overriding SearchEngine::{searchText,searchTitle,searchArchiveTitle} in extending classes is deprecated. Extend related doSearch* methods instead. -* CollationFa has been removed completely as it's not needed anymore * The following 'mediawiki.api' plugin modules were merged into mediawiki.api and deprecated: mediawiki.api.category, mediawiki.api.edit, mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse, @@ -403,6 +433,18 @@ 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). === Other changes in 1.32 === * (T198811) The following tables have had their UNIQUE indexes turned into @@ -411,6 +453,13 @@ because of Phabricator reports. * OOUI HTMLForm will now display help text inline after the input field, rather than in a popup. Previous behavior can be restored by using `'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 ==