X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=RELEASE-NOTES-1.32;h=0dca8f13d58fd67da78205ec02ab7b10d188e71e;hp=0ad2e41b65f698bc2a17056aa91b9877a05d9fc7;hb=cf95107ffaadae9852063fc7bcd969d3ea73b326;hpb=65b6faa534c2673df1652b7ab579392268525054 diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index 0ad2e41b65..0dca8f13d5 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -6,40 +6,49 @@ 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 + +==== 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. + +==== 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 @@ -75,12 +84,20 @@ production. render diffs between two Content objects, and DifferenceEngine::setRevisions() to render diffs between two custom (potentially multi-content) revisions. Added GetSlotDiffRenderer hook which works like GetDifferenceEngine for slots. +* Added a temporary action=mcrundo to the web UI, as the normal undo logic + can't yet handle MCR and deadlines are forcing is to put off fixing that. + 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. === 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.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. @@ -89,12 +106,9 @@ 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 === @@ -136,6 +150,18 @@ production. * action=query&prop=deletedrevisions, action=query&list=allrevisions, and action=query&list=alldeletedrevisions are changed similarly to &prop=revisions (see the three previous items). +* (T174032) action=compare now supports multi-content revisions. + * It has a 'slots' parameter to select diffing of individual slots. The + default behavior is to return one combined diff. + * The 'fromtext', 'fromsection', 'fromcontentmodel', 'fromcontentformat', + 'totext', 'tosection', 'tocontentmodel', and 'tocontentformat' parameters + are deprecated. Specify the new 'fromslots' and 'toslots' to identify which + slots have text supplied and the corresponding templated parameters for + each slot. + * The behavior of 'fromsection' and 'tosection' of extracting one section's + 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. === Action API internal changes in 1.32 === * Added 'ApiParseMakeOutputPage' hook. @@ -259,10 +285,10 @@ because of Phabricator reports. a no-op function since 1.30. * SpecialPageFactory::resetList() is a no-op. Call overrideMwServices() instead. +* MediaWiki no longer supports a StartProfiler.php file. + Define $wgProfiler via LocalSettings.php instead. === Deprecations in 1.32 === -* Use of a StartProfiler.php file is deprecated in favour of placing - configuration in LocalSettings.php. * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit button is already marked as progressive. * Skin::setupSkinUserCss() is deprecated. Adding of modules to load @@ -377,6 +403,13 @@ because of Phabricator reports. MediaWikiServices. * mw.user.stickyRandomId was renamed to the more explicit mw.user.getPageviewToken to better capture its function. +* Passing Revision objects to ContentHandler::getUndoContent() is deprecated, + Content object should be passed instead. +* (T197179) Parameters 'notice', 'notice-messages', 'notice-message', + previously used by OOUI HTMLForm fields, are now deprecated. Use + 'help', 'help-message', 'help-messages' instead. +* (T197179) HTMLFormField::getNotices() is now deprecated. +* The jquery.localize module is now deprecated. Use jquery.i18n instead. === Other changes in 1.32 === * (T198811) The following tables have had their UNIQUE indexes turned into @@ -385,6 +418,8 @@ 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. * … == Compatibility ==