Unikitty Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Any JavaScript here will be loaded for all users on every page load. */
 
/* Auto-refresh */
 
window.AjaxRCRefreshText = 'Auto-refresh';
 
window.AjaxRCRefreshHoverText = 'Automatically refresh the page';
 
window.ajaxPages =["Special:RecentChanges", "Special:WikiActivity"];
 
 
 
/* Replaces {{USERNAME}} with the name of the user browsing the page.
 
/* Replaces {{USERNAME}} with the name of the user browsing the page.
 
Requires copying Template:USERNAME. */
 
Requires copying Template:USERNAME. */
Line 19: Line 13:
 
 
 
/* End of the {{USERNAME}} replacement */
 
/* End of the {{USERNAME}} replacement */
 
/* User tags */
 
window.UserTagsJS = {
 
modules: {
 
inactive: 30,
 
mwGroups: [
 
'bureaucrat',
 
'chatmoderator',
 
'rollback',
 
'sysop',
 
'bannedfromchat',
 
'bot',
 
'bot-global'
 
],
 
autoconfirmed: false,
 
metafilter: {
 
sysop: ['bureaucrat'],
 
chatmoderator: ['sysop'],
 
rollback: ['sysop'],
 
contentmoderator: ['sysop'],
 
},
 
newuser: true,
 
},
 
tags: {
 
unikitty: { u: 'unikitty' order: 0 },
 
puppycorn: { u: 'puppycorn' order: 0 },
 
hawkodile: { u: 'hawkodile' order: 1 },
 
dr.fox: { u: 'dr.fox' order: 1 },
 
richard: { u: 'richard' order: 1 },
 
}
 
};
 
/** User Tags Custom **/
 
UserTagsJS.modules.custom = {
 
'Banana.spread10': ['bureaucrat', 'sysop', 'hawkodile'],
 
'Toa Kopaka Nuva': ['bureaucrat', 'sysop', 'unikitty']
 
'Chouts1': ['sysop']
 
};
 
 
UsertagsJS.modules.mwGroup = ['bureaucrat', 'sysop'];
 
UsertagsJS.modules.mwGroup = ['rollback'];
 

Latest revision as of 14:59, 4 May 2020

/* Any JavaScript here will be loaded for all users on every page load. */
/* Replaces {{USERNAME}} with the name of the user browsing the page.
   Requires copying Template:USERNAME. */
 
$(function userNameReplace() {
    "use strict";
    var disableUsernameReplace;
    if (disableUsernameReplace || mw.config.get('wgUserName') === null) {
        return;
    }
    $("span.insertusername").text(mw.config.get('wgUserName'));
});
 
/* End of the {{USERNAME}} replacement */