---------- Forwarded message --------- From: Jon Robson jrobson@wikimedia.org Date: Fri, Sep 11, 2020 at 12:49 PM Subject: INFO: Announcing removal of noimages parameter from deprecated action=mobileview API To: mediawiki-api-announce@lists.wikimedia.org
The action=mobileview API was marked as deprecated at the end of the 2019 [1]. As we refactor code relating to this API we have decided to remove support for its `noimages` parameter which allowed users to request a page with img tags replaced with spans.
Note: The `noimages` parameter also appeared inside the action=parse API [2] however was a no-op. It will no longer appear on action=parse requests as a result of this change.
For clients wanting to perform img tag removals, this will need to be done by those scripts themselves, the PHP code is provided for your reference [3]
If you have any questions or concerns about this change, please feel free to follow up on the Phabricator ticket [4].
[1] https://phabricator.wikimedia.org/T210808 [2] https://en.wikipedia.org/wiki/Special:ApiSandbox#action=parse&format=jso... [3] https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MobileFrontend/+/62659... [4] https://phabricator.wikimedia.org/T262580
mediawiki-api@lists.wikimedia.org