---------- Forwarded message ---------
From: Jon Robson <jrob...@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-annou...@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=json&page=Spain&prop=text%7Clanglinks%7Ccategories%7Clinks%7Ctemplates%7Cimages%7Cexternallinks%7Csections%7Crevid%7Cdisplaytitle%7Ciwlinks%7Cproperties%7Cparsewarnings%7Cindicators&noimages=1
[3]
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MobileFrontend/+/626593/1/includes/Transforms/RemoveImagesTransform.php
[4] https://phabricator.wikimedia.org/T262580
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to