Page MenuHomePhabricator

Mark the MobileView API as deprecated
Open, NormalPublic

Description

Given our discussions on ticket T99009 we should mark the mobile view API as deprecated.
The deprecation message should link to the mediawiki.org page which will be used to communicate this change.

Note: With a deprecation we can take as long as we want so this does not mean we need to mark a day it will be removed just yet but we can at least start getting feedback from users of the API!

Notes

MobileFrontend's mobileview module accounts for ~0.73% of Wikipedia's daily action API traffic (see P7873).

Acceptance criteria

Details

Related Gerrit Patches:
mediawiki/extensions/MobileFrontend : masterMark the mobileview API as deprecated

Event Timeline

Given our discussions on ticket T99009 we should mark the mobile view API as deprecated.

Is this correct? In T99009: Remove noimages transform (was inconsistent parameter names for action=mobileview when you compare with action=parse) we confirmed that the mobile apps don't rely on the noimages parameter (which affects the parse query module when the MobileFrontend extension is loaded and the mobileview module), not that they don't rely on the mobileview API.

phuedx updated the task description. (Show Details)Nov 30 2018, 1:44 PM

@phuedx my understanding per T186627#3954391 and T99009 is that we're working towards this within WMF. We can set something as deprecated and remove it 5 years later if we want to, but the importance of marking it as deprecated early would be to identify consumers and their needs as early as possible. So I think setting this intention is important and it also gives us permission/flexibility to deprecate things as we see fit.

Jdlrobson lowered the priority of this task from Normal to Low.Jul 31 2019, 6:50 PM
ovasileva raised the priority of this task from Low to Normal.Tue, Oct 15, 4:49 PM
Jdlrobson updated the task description. (Show Details)Tue, Oct 15, 4:49 PM
Jdlrobson added a project: User-Jdlrobson.

@JoeWalsh friendly ping - just wondering how close we are from being able to remove the mobile view API ?
The team talked about this task today, and we want to mark the API as deprecated (but not remove it).

Change 546685 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/extensions/MobileFrontend@master] Mark the mobileview API as deprecated

https://gerrit.wikimedia.org/r/546685

JoeWalsh added a comment.EditedMon, Oct 28, 7:42 PM

@Jdlrobson I filed two new tickets to specifically track what's blocking removal of the mobile view API: T236733 and T236731

The iOS app is planning to switch to away from the mobile view API by January or February of 2020. Then, enough users have to upgrade to satisfy T236731. I don't have a timeline for the mobile-html switch away from mobile view as that is blocked by parsoid language variant support: T43716

Thanks @JoeWalsh that's really useful to know! I've noted the rough timeline in T186627.

@Jdlrobson I filed two new tickets to specifically track what's blocking removal of the mobile view API: T236733 and T236731

Thanks, @JoeWalsh!

There's a small patch that outlines intention. There's little to no risk in starting to communicate out to people that we plan to remove it eventually.

Jdlrobson moved this task from Inbox to Next up on the User-Jdlrobson board.Tue, Nov 5, 5:35 PM