X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=RELEASE-NOTES-1.32;h=a42da5da79d27b3d9d1daa2372c9249d7c8778d9;hp=ab008db9f161984d7472bb6b8742cc0163429228;hb=6c6efe54ec8c008699b54fe7b46855d0c302bfe6;hpb=14297a2cb4e022a8049359ee1289f1be68f46c83 diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index ab008db9f1..a42da5da79 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -6,42 +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 - 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. + +==== 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 +91,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 +106,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 +288,16 @@ 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 === Deprecations in 1.32 === * HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit @@ -292,7 +310,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, @@ -411,6 +428,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 ==