Russell Blau schreef:
I never expected to be giving *you* lessons on how to use the API, Roan, but...
You'd be surprised how little I know about actually *using* the API, as I don't do that very often. Quite a few authors of API clients (which includes you, IIRC) are much more aware of obscure features like apprtype then I am.
http://en.wikipedia.org/w/api.php?action=query&list=allpages&apprtyp...
will list pages that are edit-protected; if you use it as a generator, with prop=info&inprop=protection, you can get the specific type of protection; if you use apprtype=edit&apprlevel=sysop, you get only fully-protected pages. There's also apprtype=move for move-protected pages, and so on.
That'll work, but it still won't list pages with pre-1.10 protections, as it only queries the page_restrictions table. Also, you'd have to repeat this request for every possible value for apprtype (which can be more than just edit and move).
Roan Kattouw (Catrope)