On 15 July 2011 20:21, priyank bagrecha <[email protected]> wrote:
> is there a way to find using the api whether a certain page is deleted or not?

What do you mean by “is deleted”? You can ask whether a certain page
exists at the moment with something like

http://en.wikipedia.org/w/api.php?action=query&titles=X
http://en.wikipedia.org/w/api.php?action=query&titles=Htfhfhsrtr

And you can ask whether a certain page has been deleted sometime in
the past with something like

http://en.wikipedia.org/w/api.php?action=query&list=logevents&letype=delete&letitle=X
http://en.wikipedia.org/w/api.php?action=query&list=logevents&letype=delete&letitle=Htfhfhsrtr

-- [[cs:User:Mormegil | Petr Kadlec]]

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to