X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=RELEASE-NOTES-1.32;h=c06ba9143a55050cfe3a4f8e3a420c32e4226855;hp=8e4491008ac6f2cd219c3e3b9acccc2871da6491;hb=633e8dfb1b81e034e817246fe554a183a7688a75;hpb=b0494b29097eaff97073f01e3427f2629eedadc1 diff --git a/RELEASE-NOTES-1.32 b/RELEASE-NOTES-1.32 index 8e4491008a..c06ba9143a 100644 --- a/RELEASE-NOTES-1.32 +++ b/RELEASE-NOTES-1.32 @@ -43,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. @@ -96,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 === * …