Page MenuHomePhabricator

add RESTBase to donate wiki
Closed, DeclinedPublic

Description

It's listed in https://phabricator.wikimedia.org/diffusion/GRBD/browse/master/scap/vars.yaml;c86e94f937cc26e40dd522949b69bf2c6d771318$59 , but that doesn't seem to be enough.
https://donate.wikimedia.org/api/rest_v1/page/mobile-html/Ways_to_Give gives a json-formatted 'not found'
and https://donate.wikimedia.org/api/rest_v1/ gives 'site info fetch failed'

It would be great if we could ALSO make the content available via donate.wikiPedia.org - we've had to start using this domain for thank you pages so we can set wikiPedia.org cookies to hide banners after people donate, but mobile donors with the apps installed will see all *.wikiPedia.org links open in-app.

Event Timeline

It would be great if we could ALSO make the content available via donate.wikiPedia.org - we've had to start using this domain for thank you pages so we can set wikiPedia.org cookies to hide banners after people donate, but mobile donors with the apps installed will see all *.wikiPedia.org links open in-app.

I doubt this will be reasonable to do within RESTBase. However the options we might have are 1) work with Traffic to set up a transparent rewrite for donate.wikiPedia/rest_v1 -> donate.wikiMedia/rest_v1 in Varnish. or 2) to determine whether the in-app list is really wildcard based or whether it consults a list that could be modified.

The domain list for android is wildcard-based: https://github.com/wikimedia/apps-android-wikipedia/blob/master/app/src/main/AndroidManifest.xml#L92 . Not sure where the equivalent iOS thing is.

Any fixes to those in-app domain lists would only be valid for new installs and upgrades, so a fix we could make server-side would help us more quickly.

Aklapper added a subscriber: Pchelolo.

Removing inactive assignee (Platform Engineering: Please unassign tasks of previous team members.)

RESTBase is supposed to be removed: RESTBase Sunsetting . Can this task be closed as declined?

OK, let's decline it. The issue we were trying to address here is just that the apps were opening certain wikis and showing broken pages. If RESTBase is going away on the rest of the wikis, I guess the apps won't be expecting it anywhere.