Mike McGrath wrote:
Rob Church wrote:
Of course, if you're querying multiple pages, then a far more efficient method is to do a batch check; this would be a very handy API module to have in core for multiple uses, not least of all interwiki existence checking[*], and would essentially be a simple wrapper around a LinkBatch operation.
- = though for Wikimedia sites, we'd probably want the option to query
the database directly
In my case the pages are more codes, there will be thousands of codes, only a few being checked at a time so an api would be handy.
-Mike
I think you missed that Rob and I were talking about an *existing* api with which you can do batch queries. http://www.mediawiki.org/wiki/API