User:Pcj/SelectPagesForExport.js

a = new mw.Api; a.get({action:"query",list:"allpages",aplimit:5000}).done(function(data){	o = "";	for (p in data.query.allpages) {		if (data.query.allpages[p].title.indexOf("/nl")==-1) continue;		o+= data.query.allpages[p].title+"\n";   }	$("#mw-input-pages textarea").html(o); });