X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=RELEASE-NOTES-1.25;h=f0d1c07f8f6f4f38a08e65669a41d3b3a644cf82;hb=8756987e27fb9d9df77dd10e750c61bd2901e39a;hp=4f648f51950af48dd6286eb27e4c667b8ad8cdb8;hpb=4fa02402289e9ba08369f2c3f9cb78eb0080027a;p=lhc%2Fweb%2Fwiklou.git diff --git a/RELEASE-NOTES-1.25 b/RELEASE-NOTES-1.25 index 4f648f5195..f0d1c07f8f 100644 --- a/RELEASE-NOTES-1.25 +++ b/RELEASE-NOTES-1.25 @@ -125,6 +125,9 @@ production. Special:EditTags, generally accessed via the revision-deletion-like interface on history pages and Special:Log is likely to be more useful. * Added 'applychangetags' and 'changetags' user rights. +* (T35235) LogFormatter subclasses are now responsible for formatting the + parameters for API log event output. Extensions should implement the new + getParametersForApi() method in their log formatters. ==== External libraries ==== * MediaWiki now requires certain external libraries to be installed. In the past @@ -253,6 +256,18 @@ production. * Default type param for query list=watchlist and list=recentchanges has been changed from all types (e.g. including 'external') to 'edit|new|log'. * Added formatversion to format=json, still experimental. +* (T73020) Log event details are now always under a 'params' subkey for + list=logevents, and a 'logparams' subkey for list=watchlist and + list=recentchanges. +* Log event details are changing formatting: + * block events now report flags as an array rather than as a comma-separated + list. + * patrol events now report the 'auto' flag as a boolean (absent/empty string + for BC formats) rather than as an integer. + * rights events now report the old and new group lists as arrays rather than + as comma-separated lists. + * merge events use new-style formatting. + * delete/event and delete/revision events use new-style formatting. === Action API internal changes in 1.25 === * ApiHelp has been rewritten to support i18n and paginated HTML output. @@ -299,6 +314,8 @@ production. * ApiResult/ApiFormatBase "raw mode" is deprecated. * ApiFormatXml now assumes defaults and so on instead of throwing errors when metadata isn't set. +* (T35235) LogFormatter subclasses are now responsible for formatting log event + parameters for the API. * The following methods have been deprecated and may be removed in a future release: * ApiBase::getDescription @@ -341,6 +358,7 @@ production. * ApiResult::size * ApiResult::convertStatusToArray * ApiQueryImageInfo::getPropertyDescriptions + * ApiQueryLogEvents::addLogParams * The following classes have been deprecated and may be removed in a future release: * ApiQueryDeletedrevs