Board Thread:General Coding Help/@comment-26323950-20180707201116/@comment-26323950-20180707202229

if (mw.config.get("wgUserGroups").indexOf('sysop') > -1) { massCategorizationDelay = 1000; importScriptPage('MediaWiki:MassCategorization/code.js', 'dev'); }

Is that not what the above script is doing? But also limiting the functionality to sysops?