User:Monochromatic Bunny/global.js

/* credit to kockadmiralac for js */

var MessageBlock = { title : 'Block', message : 'You have been blocked with an expiry time of $2. The reason for this block is: $1.', autocheck : true };

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', ], 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', 'u:dev:MessageBlock/code.js', ];

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

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

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

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

var autoFormatWikimediaLinks = false; mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript' );