The API has an interface for showing the deletion logs see logevents parameter
On Friday, February 1, 2013, Al Johnson wrote: > Oh, and I need to query based on WHEN the page was deleted, not the date > of the deleted revision, as the API does. Is scrapping the > Special:Log/delete page the only way? > > Thanks, > Al > > Hi, > > The API does not allow one to get a list of deleted revisions for a > namespace sorted 1st by date and using the drstart and drend parameters. > Basically, I need to use drstart/drend in mode 3 and sorted by date most > recent first. I only need recent deletions, not all deletions since the > wiki was created. Is there any way to get this done? > > The following: > > > http://www.mywikidev.com/wiki/api.php?action=query&list=deletedrevs&drdir=newer&drlimit=5000&drunique= > > won't work because it's not sorted by date first and I would have to get > the entire list of all pages ever deleted just to find out which ones were > deleted recently. > > Thanks, > Al > _______________________________________________ > MediaWiki-l mailing list > [email protected] <javascript:;> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ > MediaWiki-l mailing list > [email protected] <javascript:;> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
