User:MichiRecRoom/global.js

// Prevent Javascript on global.js page if (mw.config.get("wgPageName") == "User:" + mw.config.get("wgUserName") + "/global.js") { throw new Error("User is on javascript page; disabled."); }

nullEditDelay = 250; importArticles({ type: 'script',  articles: [    'u:dev:AjaxUndo/code.js',    'u:dev:MassNullEdit/code.js',    'u:dev:Message/code.js',    'u:dev:NullEditButton/code.js',    'u:dev:RedirectManagement/code.js',    'u:dev:ViewRemoved/code.js',    'u:dev:WHAM/code.2.js'  ] });

if (mw.config.get("wgUserGroups").indexOf('sysop') > -1) { if (mw.config.get("wgDBname") == "michitest") { batchDeleteDelay = 250; massRedirectDelay = 250; massRenameDelay = 250; } else { batchDeleteDelay = 500; massRedirectDelay = 1000; massRenameDelay = 1000; }

massRenameSummary = 'automatic';

PRAoptions = { editSummary: 'Updating page links (automatic)' }

importArticles({   type: 'script',    articles: [      'u:dev:AjaxBatchDelete/code.2.js',      'u:dev:AjaxBatchUndelete/code.js',      'u:dev:CategoryRenameAuto-update/code.js',      'u:dev:MassRedirect/code.2.js',      'u:dev:MassRename/code.js',      'u:dev:MassRenameRevert/code.js',      'u:dev:PageRenameAuto-update/code.js'    ]  }); }