Forwarding, not sure if this breaks pywikibot.
-------- Doorgestuurd bericht -------- Onderwerp: [Mediawiki-api-announce] [BREAKING CHANGE] meta=notifications outputs array instead of object since 1.27.0-wmf.22 Datum: Tue, 28 Jun 2016 15:49:03 +0200 Van: Roan Kattouw roan.kattouw@gmail.com Antwoord-naar: mediawiki-api@lists.wikimedia.org Aan: MediaWiki API announcements & discussion mediawiki-api-announce@lists.wikimedia.org
As of 1.27.0-wmf.22 (deployed to WMF wikis April 26-28) and MediaWiki release 1.27 (specifically, this change https://phabricator.wikimedia.org/rECHOb10bd700333d2eef10c7df0a9946b87fd451f81b in Echo), meta=notifications will return its result as an array rather than an object.
Previously, the meta=notifications output looked like:
{ "query": { "notifications": { "list": { "12345": { "id": "12345", "type": "edit-user-talk", ... }, ... }
Now, it looks like:
{ "query": { "notifications": { "list": [ { "id": "12345", "type": "edit-user-talk", ... }, ... ]
My apologies for the late announcement, and thanks to APerson and Cienca Al Poder for noticing https://phabricator.wikimedia.org/T138690 and encouraging me to write this announcement.
On Jun 28, 2016 10:06 AM, "Maarten Dammers" maarten@mdammers.nl wrote:
Forwarding, not sure if this breaks pywikibot.
It did, in fact, break Pywikibot, but fortunately we noticed it a few days before this email went out.
Hi Daniel,
Op 28-6-2016 om 16:10 schreef Daniel Glus:
On Jun 28, 2016 10:06 AM, "Maarten Dammers" <maarten@mdammers.nl mailto:maarten@mdammers.nl> wrote:
Forwarding, not sure if this breaks pywikibot.
It did, in fact, break Pywikibot, but fortunately we noticed it a few days before this email went out.
What bug is it? Can't seem to find it in phabricator. It's not linked from https://gerrit.wikimedia.org/r/#/c/295567/
Maarten
What bug is it? Can't seem to find it in phabricator. It's not linked
from https://gerrit.wikimedia.org/r/#/c/295567/
There was no Phab task opened for this; I noticed the bug during normal bot development and went straight to a gerrit patch. However, T138690 was opened during the review process to determine when exactly the breaking change was made.