jayvdb added a subscriber: jayvdb. jayvdb added a comment.
See
http://mapping.referata.com/w/api.php?action=query&format=jsonfm&met...
{ "query": { "repos": [ { "name": "shared", "displayname": "a shared repository", "rootUrl": "/w/images", "local": false, "apiurl": "http://commons.wikimedia.org/w/api.php", "articlepath": "/wiki/$1", "server": "//commons.wikimedia.org" }, { "name": "local", "displayname": null, "rootUrl": "/w/images", "local": true } ] } }
vs
http://en.wikipedia.org/w/api.php?action=query&meta=filerepoinfo&fri...
{ "warnings": { "filerepoinfo": { "*": "Unrecognized values for parameter 'friprop': apiurl, articlepath, server" }, "query": { "*": "Formatting of continuation data will be changing soon. To continue using the current formatting, use the 'rawcontinue' parameter. To begin using the new format, pass an empty string for 'continue' in the initial query." } }, "query": { "repos": [ { "name": "shared", "displayname": "Wikimedia Commons", "rootUrl": "//upload.wikimedia.org/wikipedia/commons", "local": false }, { "name": "local", "displayname": "Wikipedia", "rootUrl": "//upload.wikimedia.org/wikipedia/en", "local": true } ] } }
Maybe it is something special about WMF projects that is causing filerepoinfo to not work correctly?
TASK DETAIL https://phabricator.wikimedia.org/T85153
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: Aklapper, XZise, Anomie, jayvdb, Legoktm, pywikipedia-bugs