X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.32;h=c06ba9143a55050cfe3a4f8e3a420c32e4226855;hb=fd3f586dbbbb556aa19c0a53c7e8cb1aa93fa164;hp=5c1adcb51011e3e78ac267081b143045634d1cb4;hpb=6c7a15faf9682e92e39124401b12975f86054a5c;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index 5c1adcb510..c06ba9143a 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -12,9 +12,15 @@ production. * The $wgSiteSupportPage setting, unused since 1.5, 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). + $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 features in 1.32 === * (T112474) Generalized the ResourceLoader mechanism for overriding modules @@ -37,10 +43,20 @@ production. * … === Action API changes in 1.32 === -* … +* Added templated parameters. + * A module can define a templated parameter like "{fruit}-quantity", where + the actual parameters recognized correspond to the values of a multi-valued + parameter. Then clients can make requests like + "fruits=apples|bananas&apples-quantity=1&bananas-quantity=5". + * action=paraminfo will return templated parameter definitions separately + from normal parameters. All parameter definitions now include an "index" + key to allow clients to maintain parameter ordering when merging normal and + templated parameters. === 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. === Languages updated in 1.32 === MediaWiki supports over 350 languages. Many localisations are updated regularly. @@ -73,7 +89,12 @@ because of Phabricator reports. mw.msg() or mw.message() instead. * mw.util.escapeId(), deprecated in 1.30, was removed. Use mw.util.escapeIdForAttribute or mw.util.escapeIdForLink instead. +* mw.util.updateTooltipAccessKeys(), deprecated in 1.24, was removed. Use + jquery.accessKeyLabel instead. * The SqlDataUpdate class, deprecated in 1.28, has been removed. +* The Html5Internal and Html5Depurate tidy driver classes were removed, along with the + Balancer tidy implementation. Both implementations were experimental, and were replaced + by RemexHtml. === Deprecations in 1.32 === * Use of a StartProfiler.php file is deprecated in favour of placing @@ -85,6 +106,9 @@ because of Phabricator reports. of queueing style modules as well. * OutputPage::addModuleScripts() and ParserOutput::addModuleScripts are deprecated. Use addModules() instead. +* Overriding SearchEngine::{searchText,searchTitle,searchArchiveTitle} + in extending classes is deprecated. Extend related doSearch* methods + instead. === Other changes in 1.32 === * …