aude added a comment.

We have lost some of the error descriptions, but think that can be fixed by adding i18n messages for api errors.

currently on Wikidata:

https://www.wikidata.org/w/api.php?action="">

{
    "error": {
        "code": "param-missing",
        "info": "A parameter that is required was missing. (Either provide the item \"ids\" or pairs of \"sites\" and \"titles\" for corresponding pages)",
        "messages": [
            {
                "name": "wikibase-api-param-missing",
                "parameters": [],
                "html": {
                    "*": "A parameter that is required was missing."
                }
            }
        ],
        "*": "See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
    },
    "servedby": "mw1278"
}

Wikibase master:

{
    "error": {
        "code": "param-missing",
        "info": "A parameter that is required was missing.",
        "messages": [
            {
                "name": "wikibase-api-param-missing",
                "parameters": [],
                "html": {
                    "*": "A parameter that is required was missing."
                }
            }
        ],
        "*": "See https://wikidatawiki/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
    }
}

TASK DETAIL
https://phabricator.wikimedia.org/T153359

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: thiemowmde, aude
Cc: WMDE-leszek, hoo, aude, Aleksey_WMDE, daniel, Lydia_Pintscher, gerritbot, thiemowmde, Anomie, Aklapper, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Izno, Wikidata-bugs, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to