User:JJPMaster/Scripts/GreenAndGold.js: Difference between revisions

Content deleted Content added
No edit summary
m JJPMaster moved page User:JJPMaster/GreenAndGold.js to User:JJPMaster/Scripts/GreenAndGold.js: cleaning up my userspace
 
(3 intermediate revisions by the same user not shown)
Line 5:
let finalTitle;
$(links).each(function() {
titles.push(decodeURI($(this).attr("href").replace(wikiSlash, '')));
});
Line 13:
action: 'query',
format: 'json',
proplist: 'categoriescategorymembers',
cmtitle: "Featured articles"
titles: finalTitle
},
api = new mw.Api();