Page MenuHomePhabricator

zhwiki mobile-html: no mobileview in response
Closed, ResolvedPublicBUG REPORT

Description

Found these in the logs. About 50 happened within the last 30 days. Most occurrences were with zh.wikipedia.org/v1/page/mobile-html/MediaWiki%3AConversiontable%2Fzh-*.

Steps to Reproduce:

Actual Results:

{
    "status": 504,
    "type": "api_error",
    "title": "no mobileview in response",
    "detail": {
        "error": {
            "code": "internal_api_error_InvalidArgumentException",
            "info": "[...] Caught exception of type InvalidArgumentException",
            "errorclass": "InvalidArgumentException"
        },
        "warnings": {
            "mobileview": {
                "warnings": "This API is deprecated. See T186627 for more details."
            }
        },
        "servedby": "mw1284"
    },
    "method": "GET",
    "uri": "/zh.wikipedia.org/v1/page/mobile-html/MediaWiki%3AConversiontable%2Fzh-hans"
}

Expected Results:
200 response.

Related Objects

Event Timeline

While debugging this I noticed another issue in the code using action=mobileview (T257632). I've got a fix for that but don't know why action=mobileview returns internal_api_error_InvalidArgumentException. This page seems to be working fine on mobile web: https://zh.m.wikipedia.org/wiki/MediaWiki%3AConversiontable%2Fzh-hans.

MSantos claimed this task.
MSantos subscribed.

Errors seem to be gone, probably fixed by child task. Please re-open if I'm missing something.