User:Noreplyz/common.js

// OTHER SCRIPTS // When something goes wrong, blame Mime. importScriptURI('//noreply.fandom.com/index.php?title=User:Noreplyz/userpagetemplate.js&action=raw&ctype=text/javascript'); importScriptURI('//noreply.fandom.com/index.php?title=MediaWiki:FileUsage.js&action=raw&ctype=text/javascript');

advancedChatconnectRevisionDelete = true;

importScriptURI('//internal-community.fandom.com/index.php?title=MediaWiki:BlogReport.js&action=raw&ctype=text/javascript');

/* Header links */ function makeCCButton(type) { var ccbutton = cclinks[type]; $('#cclinks').append('' + ccbutton.name + ''); }

cclinks = { deletions: { name: 'CfDs', link: 'https://community.fandom.com/wiki/Category:Candidates_for_speedy_deletion?action=purge' },   maintenance: { name: 'Maintenance', link: 'https://community.fandom.com/wiki/User:Noreplyz/Maintenance' },   forumthread: { name: 'Forums', link: 'https://community.fandom.com/wiki/Special:RecentChanges?tagfilter=New' },   adoptions: { name: 'Adopt', link: 'https://community.fandom.com/wiki/Special:RecentChanges?tagfilter=NewAR' },   messagewallthreads: { name: 'MWT', link: 'https://community.fandom.com/wiki/Special:RecentChanges?namespace=1201' },   images: { name: 'IMG', link: 'https://community.fandom.com/wiki/Special:RecentChanges?namespace=6' },   ill: { name: 'ILL', link: 'https://community.fandom.com/wiki/Special:RecentChanges?namespace=4' },   welcome: { name: 'WR', link: 'https://community.fandom.com/wiki/Special:RecentChanges?tagfilter=WelcomeReply' } }

$(".wds-community-header__local-navigation").empty.prepend(' '); for (var x in cclinks) { makeCCButton(x); }