Thread:Ripto22475/@comment-26221691-20160324104416/@comment--20160326225351

Oh yeah, it's very relieving at how easy personal imports can be.

Ah okay. So you had a personal common.js page on that wiki. That would indeed work for personal use too. The only difference between personal "common.js" and "wikia.js" is that common.js will work for all wikia skins (Monobook, Oasis) while wikia.js is for Oasis skin. The default wikia skin is oasis. Which is most likely what you're using.

So there's no big difference between which JS page in your case unless you're using monobook.

In that case, simply add the import into your common.js page.

I'm looking at your common.js page and the top part codes don't make sense to me.

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

^ I have no idea what that does but it appears incorrectly imported in a personal JS page. I'm guessing, whoever added that tried to import a script for you that would only work if you were "an admin".

Remove everything from your common.js page and replace it with this as this is a correctly imported. /* MassNullEdit delay */ nullEditDelay = 1000;

/* MassProtect delay */ massProtectDelay = 1000;

/* Script imports */ massCategorizationDelay = 1000; importScriptPage('MediaWiki:MassCategorization/code.js', 'dev');

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:MassNullEdit/code.js',        // Mass null edit pages        'u:dev:MediaWiki:MassRenameRevert/code.js',    // Mass open revert links        'u:dev:MediaWiki:QuickToolsv2/code.js',        // Easy admin tools        'u:dev:MediaWiki:MassBlock/code.js',           // Mass block users        'u:dev:MediaWiki:MassProtect/code.js',         // Mass protect pages    ] });

Afterwards, purge your page and that should hopefully clear things up for you. Let me know what happens :)