Page MenuHomePhabricator

Drop support for the deprecated mobileview "noimages" api parameter
Closed, ResolvedPublic

Description

The deprecated mobileview api has a parameter noimages which allows removal of images from the page. It makes use of the RemoveImagesTransform

As we are refactoring MobileFormatter this codes adds some unnecessary challenges that make continued support too expensive.

Rather than continue to support this, let's remove this parameter and associated code.

https://en.wikipedia.org/wiki/Special:ApiSandbox#action=mobileview&format=json&page=Spain&prop=text%7Csections%7Cnormalizedtitle&noimages=1

acceptance criteria

  • Remove the noimages transform
  • RemoveImagesTransform has been removed
  • Announce the change on mediawiki-api-announce@ and mediawiki-api@

Event Timeline

Change 626593 had a related patch set uploaded (by Peter.ovchyn; owner: Peter.ovchyn):
[mediawiki/extensions/MobileFrontend@master] Remove noImages parameter from mobile API and all its artifacts

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

Change 626593 merged by jenkins-bot:
[mediawiki/extensions/MobileFrontend@master] Remove noImages parameter from mobile API and all its artifacts

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

The noimages parameter is no more and the announcement email went through (finally):
https://lists.wikimedia.org/pipermail/mediawiki-api/2020-September/004265.html