To fix bugs like T73020 https://phabricator.wikimedia.org/T73020 and to generally improve the structure of the API output, the formatting of the log entry parameters returned from action=query list=logevents&leprop=details, list=recentchanges&rcprop=loginfo, and list=watchlist&wlprop=loginfo is changing. This change should be deployed to WMF wikis with 1.26wmf3, see https://www.mediawiki.org/wiki/MediaWiki_1.26/Roadmap for the schedule.
In all cases, the log parameters will now be located in a "params" sub-element to separate them from the information about the log entry itself. Further, where applicable the opportunity has been taken to change the parameters from being numerically indexed to being indexed by logical names and to restructure output for easier use by API clients. Numerically-indexed parameters on any remaining log types should be considered deprecated and will likely be changed to the named style in the future.
Besides the general changes described above, the following changes are made to specific types: * Move logs refer to "target_ns" and "target_tile", rather than "new_ns" and "new_title" (old https://en.wikipedia.org/w/api.php?action=query&list=logevents&letype=move&lelimit=1&lestart=2015-04-17T13:48:29Z&continue=, new http://en.wikipedia.beta.wmflabs.org/w/api.php?action=query&list=logevents&letype=move&lestart=2015-04-14T20:53:57Z&lelimit=1&continue= ) * Patrol logs have "curid" and "previd" rather than "cur" and "prev", and the "auto" flag is returned as a boolean rather than an integer (old https://en.wikipedia.org/w/api.php?continue=&action=query&list=logevents&letype=patrol&lestart=2015-04-17T14:01:48Z&lelimit=1, new http://en.wikipedia.beta.wmflabs.org/w/api.php?continue=&action=query&list=logevents&letype=patrol&lestart=2015-04-17T12:43:00Z&lelimit=1 ) * Rights logs now list "newgroups" and "oldgroups" as arrays, rather than "new" and "old" as comma-separated strings (old https://en.wikipedia.org/w/api.php?continue=&action=query&list=logevents&letype=rights&lestart=2015-04-16T16:20:41Z&lelimit=1, new http://en.wikipedia.beta.wmflabs.org/w/api.php?continue=&action=query&list=logevents&letype=rights&lestart=2015-03-10T20:29:38Z&lelimit=1 ) * Block logs list "flags" as an array rather than a comma-separated string ( old https://en.wikipedia.org/w/api.php?continue=&action=query&list=logevents&letype=block&lestart=2015-04-17T13:50:10Z&lelimit=1, new http://en.wikipedia.beta.wmflabs.org/w/api.php?continue=&action=query&list=logevents&letype=block&lestart=2014-06-06T16:24:37Z&lelimit=1 )
mediawiki-api-announce@lists.wikimedia.org