The "logevents" API should return the same data as Special:Log. For example,

https://en.wikipedia.org/w/api.php?action=query&list=logevents&letitle=Category:Recipients%20of%20the%20Order%20of%20the%20Tower%20and%20Sword

This can be filtered further to just delete events, and so on.

But if you only want to know whether an article exists or not, "missing" should be accurate.  Can you share some example URLs for which the page exists, but the API returns "missing"?

Kind regards,
Adam W.

On 10/27/21 3:40 AM, D Z wrote:
Hello All,

I am doing research investigating the role of machine translation in
Wikipedia articles. I am having trouble with how to know if an article has
been deleted from Wikipedia. Specifically, I am getting a list of articles
from the cxtranslation list and I would like to know which articles are no
longer on Wikipedia. I see that there is the deletion log form
<https://en.wikipedia.org/wiki/Special:Log/delete> but is there an API or
some way to access something like this form so I could check if a mass
amount of articles have been deleted?

I have used the Media Wiki API <https://en.wikipedia.org/w/api.php> to get
articles and the API returns missing for some articles, but this does not
seem to be fully accurate for determining if an article has been deleted
because the API has returned 'missing' for articles that do exist.

To summarize, my main question is: given an article language edition and
article title, or an article pageid, is there an API to check if the
article has been deleted?

Any help would be greatly appreciated!

Thanks,

Doris Zhou
_______________________________________________
Wiki-research-l mailing list -- wiki-research-l@lists.wikimedia.org
To unsubscribe send an email to wiki-research-l-le...@lists.wikimedia.org
_______________________________________________
Wiki-research-l mailing list -- wiki-research-l@lists.wikimedia.org
To unsubscribe send an email to wiki-research-l-le...@lists.wikimedia.org

Reply via email to