User:ThisUserLikesOreo/global.js

WHAMBotMe = true; massBlockDelay = 1000;

importArticles({   type: 'script',    articles: [    	'u:dev:MediaWiki:AllPagesHideRedirect/code.js',    	'u:dev:MediaWiki:AlwaysShowBottomBar.js',        'u:dev:MediaWiki:AjaxRedirect/code.js',        'u:dev:MediaWiki:CategoryRedLinks.js',        'u:dev:MediaWiki:CopyTitle.js',        'u:dev:MediaWiki:DeleteTalkpage.js',    	'u:dev:MediaWiki:DupImageList/code.js',    	'u:dev:MediaWiki:EditConflictAlert/code.js',    	'u:dev:MediaWiki:EditLeaderboard.js',    	'u:dev:MediaWiki:LastEdited/code.js',    	'u:dev:MediaWiki:LinkPreview/code.js',    	'u:dev:MediaWiki:ListFiles/code.js',    	'u:dev:MediaWiki:MassBlock/code.js',    	'u:dev:MediaWiki:MassCategorization/code.js',    	'u:dev:MediaWiki:MassEdit/code.js',    	'u:dev:MediaWiki:MassProtect/code.js',    	'u:dev:MediaWiki:Nuke/code.js',    	'u:dev:MediaWiki:PageCreator/code2.js',        'u:dev:MediaWiki:PurgeButton/code.js',        'u:dev:MediaWiki:SearchEnhancements.js', 'u:dev:MediaWiki:SearchSuggest/code.js', 'u:dev:MediaWiki:SOAPReport.js', 'u:dev:MediaWiki:QuickIW/code.js', 'u:dev:MediaWiki:WHAM/code.2.js', ] });

LIRoptions = { bottomMessage: '', editSummary: '', singleButtonText: 'Rename and update', queueButtonText: 'Add to queue', delay: 1000 };

window.massEditConfig = { editSummary: "", editInterval: 1500 };

window.WLHEditLinksLoaded = true; window.WLHFileLinksLoaded = false;

dil = new Array; function findDupImages(gf) { output = ""; url = "/api.php?action=query&generator=allimages&prop=duplicatefiles&gailimit=500&format=json"; if (gf) url += "&gaifrom=" + gf; $.getJSON(url,function (data) { if (data.query) { pages = data.query.pages; for (pageID in pages) { dils = ","+dil.join; if (dils.indexOf(","+pages[pageID].title) == -1 && pages[pageID].title.indexOf("File::") == -1 && pages[pageID].duplicatefiles) { output += " "+pages[pageID].title+" \n\n"; for (x=0;xFile:"+pages[pageID].duplicatefiles[x].name+"\n"; dil.push("File:"+pages[pageID].duplicatefiles[x].name.replace(/_/g," ")); } output += "\n\n" } } $("#mw-dupimages").append(output); if (data["query-continue"]) setTimeout("findDupImages('"+data["query-continue"].allimages.gaifrom+"');",5000); } }); } $(function { if ($("#mw-dupimages").length) findDupImages; });

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');