User:Monochromatic Bunny/global.js

/* credit to kockadmiralac for js */

var regularList = [ 'u:dev:QuickCreateUserPage/code.js', 'u:dev:AjaxRC/code.js', 'u:dev:PurgeButton/code.js', 'u:dev:Rollback/code.js', 'u:dev:FindAndReplace/code.js', 'u:dev:RedirectManagement/code.js', 'u:dev:ListFiles/code.js', 'u:dev:QQX/code.js', 'u:dev:QuickDiff/code.js', 'u:dev:AnchoredRollback/code.js', 'u:dev:AjaxUndo/code.js', 'u:dev:CacheCheck/code.js', 'u:dev:Linksweeper/code.js', ], adminList = [ 'u:dev:AjaxBatchDelete/code.2.js', 'u:kocka:AjaxCommentDelete/code.js', 'u:dev:Nuke/code.js', 'u:dev:WHAM/code.2.js', 'u:kocka:MediaWiki:AjaxThreadDelete/code.js', 'u:dev:AjaxBlock/code.js' ];

importArticles({ type: 'script', articles: (regularList.concat((wgUserGroups.includes("sysop") ? adminList : []))) });

$(".message-removed.hide").removeClass("hide");

/* hide logs from Recent Changes * User Creation */ var tx1 = 'created a user account'; $('li:contains(' + tx1 + ')').hide;

/* User Avatar */ var tx2 = 'User avatar added or updated'; $('li:contains(' + tx2 + ')').hide;