Page MenuHomePhabricator

Saved articles not syncing for newer Wiki languages
Open, MediumPublicBUG REPORT

Description

It seems like the languages that we added in https://phabricator.wikimedia.org/T260454 are failing when we try to sync saved articles.

Example call:
POST https://en.wikipedia.org/api/rest_v1/data/lists/3019748/entries/batch?csrf_token=ae44e0e813177bf78caa7b2b42928f9360511823%2B%5C
Body

{
  "batch": [
    {
      "title": "Tetanduran",
      "project": "https://ban.wikipedia.org"
    }
  ]
}

Response

{
  "type": "https://mediawiki.org/wiki/HyperSwitch/errors/bad_request",
  "title": "readinglists-db-error-no-such-project",
  "method": "post",
  "detail": "'https://ban.wikipedia.org' is not a recognized project.",
  "uri": "/en.wikipedia.org/v1/data/lists/3019748/entries/batch"
}

The article still saves for offline, but it never gets stored on the server and a fresh install & resync does not restore it.

I have noticed the same POST errors for these wikis, all of which were added in T260454:

https://ban.wikipedia.org
https://mnw.wikipedia.org
https://ary.wikipedia.org
https://avk.wikipedia.org
https://nqo.wikipedia.org
https://avk.wikipedia.org
https://sat.wikipedia.org
https://hyw.wikipedia.org

Testing with iOS simulator, version 6.7.4.