Yesterday, the MobileView Action API was removed from all Wikimedia
production servers [1].
The API was originally built to service our apps but over time that has
been replaced with the Page Content Service [2]. The original service was
not being maintained, and usage was very low. If you were using the
MobileView API we urge you to check this API out as it is a more powerful,
better cached alternative.
We marked the API as hard deprecated in December 2019 [3], after which it
was marked in ApiSandbox and in the response as deprecated, and support has
been dwindling since then, for example, the noimages parameter was dropped
in September 2020 [4].
In March 2022 we removed the remaining production blocker for removing the
code: language variant support [5]. The Page content service was
prreviously using the mobile view API for language variant views but has
now been rewired to use the better supported core action=parse API. If you
need to support language variant views and previously couldn't because of
the lack of support in the page content service this should no longer be an
obstacle..
Since April 2022 users of the API would have been seeing an inline banning
warning them of the upcoming breakage [6]. We got no feedback from these
banners so were comfortable with pushing forward.
Impact on user scripts was judged as low [7] with only 14 scripts impacted
so this has not been announced on tech news.
If you are impacted by this change, I apologise that previous
communications have failed you and I'd love to hear from you about how we
could have done this deprecation better. If I can support you in any way in
making sure your apps/gadgets/scripts are working again please feel free to
reply to this email either privately or publicly or to raise a topic on the
MobileFrontend talk page [8].
Finally, thanks to the engineers who helped make this deprecation possible.
Jon
[1] https://phabricator.wikimedia.org/T186627
[2] https://www.mediawiki.org/wiki/Page_Content_Service
[3] https://phabricator.wikimedia.org/T210808
[4] https://phabricator.wikimedia.org/T262580,
[5] https://phabricator.wikimedia.org/T236733
[6] https://phabricator.wikimedia.org/T286836
[7]
https://global-search.toolforge.org/?q=%5B%27%22%5C%3D%5Dmobileview®ex=1…
[8]
https://www.mediawiki.org/wiki/Extension_talk:MobileFrontend?tableofcontent…
_______________________________________________
Mediawiki-api-announce mailing list -- mediawiki-api-announce(a)lists.wikimedia.org
To unsubscribe send an email to mediawiki-api-announce-leave(a)lists.wikimedia.org
Hi,
I am trying to compile a list of duplicate images in Wikimedia Commons. I
am iterating through the list of images using the generator=allimages API
and using the continue option to get the next set. But the api gets stuck
at 𪎥-seal.svg and it does not return the next set or the continue option.
Here is the url I am using:
https://commons.wikimedia.org/w/api.php?action=query&generator=allimages&pr…
Can anyone help me with this? If there is an alternative, that would be
great.
Thanks,
Sreejith Kulamgarath.
Hi,
I've posted this also on the API:Edit talk page
https://www.mediawiki.org/wiki/API_talk:Edit#How_does_%22recreate%22_parame…
Apparently, without this "recreate" parameter, an article can be recreated
even if it was deleted since the retrieval of the basetimestamp. Is this an
expected behavior? From the current description (*Override any errors about
the page having been deleted in the meantime*) I understand that you have
to set it to true if you want to be able to recreate the page, so no giving
this parameter should raise an error. Can you clarify the document and
behavior?
Discussion on enwiki :
https://en.wikipedia.org/w/index.php?title=User_talk:GoingBatty&diff=995218…
Thanks
Nico
Hi all,
is it true that the english wikipedia page name is always the same of
dbpedia and wikimedia commons name?
As an example, https://en.wikipedia.org/wiki/*Paris = *
http://dbpedia.org/page/*Paris = *https://commons.wikimedia.org/wiki/*Paris*
Thank you.
Best,
Luca
---------- Forwarded message ---------
From: Jon Robson <jrobson(a)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(a)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&p…
[3]
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MobileFrontend/+/6265…
[4] https://phabricator.wikimedia.org/T262580
My question is where is my token and how can i use the token for API calls?
I am getting this error when i
https://en.wiktionary.org/w/api.php?action=edit§ion=4&format=json&conti…
post it
ERROR:
See https://en.wiktionary.org/w/api.php for API usage. Subscribe to
the mediawiki-api-announce mailing list at
&lt;https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&;amp;gt;
for notice of API deprecations and breaking changes.