User:ThisUserLikesOreo/global.js

WHAMBotMe = true; massBlockDelay = 1000;

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:WHAM/code.2.js',        'u:dev:MediaWiki:AllPagesHideRedirect/code.js',        'u:dev:MediaWiki:ViewRemoved/code.js',        'u:dev:MediaWiki:AjaxRedirect/code.js',        'u:dev:MediaWiki:PurgeButton/code.js',        'u:dev:MediaWiki:MassBlock/code.js',        'u:dev:MediaWiki:ChatRefresh/code.js',        'u:dev:MediaWiki:ChatOptions/code.js',        'u:dev:MediaWiki:ContribsLink/code.js',        'u:dev:MediaWiki:MessageBlocker/code.js',        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MediaWiki:AddButtonsPhoto/code.js',        'u:dev:MediaWiki:ChatEditTools/code.2.js',        'u:dev:MediaWiki:FindAndReplace/code.js',        'u:dev:MediaWiki:DupImageList/code.js',        'u:dev:AutoEditPages/code.js',        "u:dev:MediaWiki:HoverEditCount/code.js",        'u:dev:UserRightsRecord/code.js',        'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:QuickIW/code.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:SearchEnhancements.js', 'u:dev:MediaWiki:SearchSuggest/code.js', 'u:dev:LastEdited/code.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');