User:2Actimv/wikia.js

window.UserTagsJS = { modules: {} };

/* Users who are not longer than 4 days on the wiki, haven't made more than 0 edits and the edits have to be made on articles */ UserTagsJS.modules.newuser = { days: 4, // Must have been on the Wiki for 4 days edits: 0, // And have at least 0 edits to remove the tag namespace: 0 // Edits must be made to articles to count };

/* Users who aren't longer than 4 days on Wikia and haven't made somewhere on Wikia more than 10 edits */ UserTagsJS.modules.autoconfirmed = true; // Switch on

/* Users who haven't made an edit for 50 days */ UserTagsJS.modules.inactive = 50; // 50 days

/* See rigths people have */ UserTagsJS.modules.mwGroups = ['bureaucrat', 'sysop', 'rollback', 'bannedfromchat', 'chatmoderator', 'patroller', 'bot', 'bot-global'];

/* Users who haven't made an edit on the wiki */ UserTagsJS.modules.nonuser = true; // Switch on

/* Display rights */ UserTagsJS.modules.explode = { 'vandal-patrol': ['rollback', 'patroller'] // Adds 'vandal-patrol' group BUT does NOT remove rollback or patroller };

importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});

/* View IP-address of anonymous editors */ importArticles({   type: "script",    articles: [        "w:c:dev:RevealAnonIP/usercode.js"    ] });