On Wed, Dec 18, 2013 at 5:54 PM, Amir Ladsgroup <[email protected]> wrote: > Hello, > It's strange for me why new pages hasn't been implemented in API yet. > We can retrieve recent changes and filter new pages (as we did in > pywikibot to retrieve new pages) but if we want new pages of English > Wikipedia in a certain day (or certain number) we need to retrieve ALL > of edits made during that period of time, which is bad for global > warming. Is there any reason not to implement new pages API > functionality. If it's okay, I'll start working on it
Note that Special:NewPages only works over the pages still on Special:RecentChanges, just as https://en.wikipedia.org/w/api.php?action=query&list=recentchanges&rctype=new&rclimit=max does. If you do decide to try to do this, do make sure your database queries are sensible, without excessive row scans or filesorts. -- Brad Jorsch (Anomie) Software Engineer Wikimedia Foundation _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
