FANDOM


  • /* Any JavaScript here will be loaded for all users on every page load. */
     
     
    /* AjaxRC */
    window.ajaxPages = [
        "Special:WikiActivity",
        "Special:RecentChanges",
        "Special:Watchlist",
        "Special:Log",
        "Special:Contributions",
        "Special:Images"
    ];
     
    //UserTags config
    window.UserTagsJS = {
        modules: {
            inactive: 60,
            userage: true,
            mwGroups: true,
            autoconfirmed: true
        },
        tags: {
                'bot': {link: 'Special:ListUsers/bot'},
                'bureaucrat': {link: 'Special:ListUsers/bureaucrat'},
                'chatmoderator': {link: 'Special:ListUsers/chatmoderator'},
                'content-moderator': {link: 'Special:ListUsers/content-moderator'},
                'rollback': {link: 'Special:ListUsers/rollback'},
                'sysop': {link: 'Special:ListUsers/sysop'},
                'threadmoderator': {link: 'Special:ListUsers/threadmoderator'
        }
        },
    };
     
     
    /* to make ReportLog visible */
    (function showLogs() {
    	var $reportLog = $('.ReportLog');
    	ug = mw.config.get('wgUserGroups');
    	if ( wgPageName==="Special:WikiActivity" && $reportLog.length === 0) setTimeout(showLogs, 250);
    	else if (ug.indexOf('bot') + ug.indexOf('chatmoderator') + ug.indexOf('imagecontrol') + ug.indexOf('rollback') + ug.indexOf('sysop') + ug.indexOf('patroller') + ug.indexOf('bureaucrat') > -7) $reportLog.css('display', 'block');
    })();
    };
     
    UserTagsJS.modules.custom = {
        // 'username': ['tag'], (The last line doesn't need
        // a comma at the end but all the other do)
        'WillMystery': ['overall'],
        'Cutiesunflower': ['overall'],
        'ChumChum999': ['founder']
    


    Is there something wrong with the code? Nothing worked.

      Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.