Page MenuHomePhabricator

wikimediaeventsblockededit API isn't logging blocked edits from mobile VE
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Try to edit while blocked using mobile VE

What happens?:

API response:

{
    "error": {
        "code": "badvalue",
        "info": "Unrecognized value for parameter \"platform\": phone.",
        "docref": "See https://en.wikipedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
    },
    "servedby": "mw-api-ext.codfw.canary-c99cdf7cf-jbp84"
}

What should have happened instead?:

Succeeded

Event Timeline

This is a very belated follow-up to T310390.

Change #1245423 had a related patch set uploaded (by DLynch; author: DLynch):

[mediawiki/extensions/WikimediaEvents@master] Blocked edit attempts: mobile VE attempts weren't being logged

https://gerrit.wikimedia.org/r/1245423

Change #1245423 merged by jenkins-bot:

[mediawiki/extensions/WikimediaEvents@master] Blocked edit attempts: mobile VE attempts weren't being logged

https://gerrit.wikimedia.org/r/1245423

DLynch claimed this task.
DLynch added a project: Skipped QA.