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




________________________________
 From: Al Johnson <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Friday, February 1, 2013 1:22 AM
Subject: [MediaWiki-l] How to get a list of RECENT deleted pages for a namespace
 
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]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to