User:MusikAnimal/customWatchlists.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 42:
var matches = $.grep(data.query.watchlist, function(el){
var mwName = new mw.Title(el.title);
return pages.indexOf(mwName.getNamespacePrefix()+mwName.getMainTextgetMain()) >= 0;
});
for(var i=0; i<matches.length; i++) {