Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Any JavaScript here will be loaded for all users on every page load. */
window.UserTagsJS = {
modules: {},
tags: {
//Ranks
intern: { u:'Intern', order:0 },
helpers: { u:'Helper', order:0 },
rollback: { u:'Rollback', order:0 },
chatmoderator: { u:'Chat Mod', order:0 },
'content-moderator': { u:'Content Mod', order:0 },
threadmoderator: { u:'Discussion Mod', order:0 },
miniadmin: { u:'Mini-Admin', order:0 },
sysop: { u:'Admin', order:0 },
bureaucrat: { u:'Bureaucrat', order:0 },
//Heads
head: { u:'Head', order:-1/0 },
'head-helper': { u:'Head Helper', order:-1/0 },
'head-rollback': { u:'Head Rollback', order:-1/0 },
'head-chatmod': { u:'Head Chat Mod', order:-1/0 },
'head-contentmod': { u:'Head Content Mod', order:-1/0 },
'head-discussionmod': { u:'Head Discussion Mod', order:-1/0 },
'head-miniadmin': { u:'Head Mini-Admin', order:-1/0 },
'head-admin': { u:'Head Admin', order:-1/0 },
'head-bureaucrat': { u:'Head Bureaucrat', order:-1/0 },
//Head Pro tempore
'headpro-helper': { u:'Head Helper Pro tempore', order:1 },
'headpro-rollback': { u:'Head Rollback Pro tempore', order:1 },
'headpro-chatmod': { u:'Head Chat Mod Pro tempore', order:1 },
'headpro-contentmod': { u:'Head Content Mod Pro tempore', order:1 },
'headpro-discussionmod': { u:'Head Discussion Mod Pro tempore', order:1 },
'headpro-miniadmin': { u:'Head Mini-Admin Pro tempore', order:1 },
'headpro-admin': { u:'Head Admin Pro tempore', order:1 },
//Interim Heads
interim: { u:'Interim Head', order:-1/0 },
'headint-helper': { u:'Acting Head Helper', order:-1/0 },
'headint-rollback': { u:'Acting Head Rollback', order:-1/0 },
'headint-chatmod': { u:'Acting Head Chat Mod', order:-1/0 },
'headint-contentmod': { u:'Acting Head Content Mod', order:-1/0 },
'headint-discussionmod': { u:'Acting Head Discussion Mod', order:-1/0 },
'headint-miniadmin': { u:'Acting Head Mini-Admin', order:-1/0 },
'headint-admin': { u:'Acting Head Admin', order:-1/0 },
'headint-bureaucrat': { u:'Acting Head Bureaucrat', order:-1/0 },
//Deputies
deputy: { u:'Deputy', order:-1/0 },
'deputy-helper': { u:'Deputy Helper', order:-1/0 },
'deputy-rollback': { u:'Deputy Rollback', order:-1/0 },
'deputy-chatmod': { u:'Deputy Chat Mod', order:-1/0 },
'deputy-contentmod': { u:'Deputy Content Mod', order:-1/0 },
'deputy-discussionmod': { u:'Deputy Discussion Mod', order:-1/0 },
'deputy-miniadmin': { u:'Deputy Mini-Admin', order:-1/0 },
'deputy-admin': { u:'Deputy Admin', order:-1/0 },
'deputy-bureaucrat': { u:'Deputy Bureaucrat', order:-1/0 },
//Chairmen
'hc-sc': { u:'Historical Cmte (Sr Chmn)', order:2 },
'hc-jc': { u:'Historical Cmte (Jr Chmn)', order:2 },
'vc-sc': { u:'Training Cmte (Sr Chmn)', order:2 },
'vc-jc': { u:'Training Cmte (Jr Chmn)', order:2 },
'ec-sc': { u:'Activities Cmte (Sr Chmn)', order:2 },
'ec-jc': { u:'Activities Cmte (Jr Chmn)', order:2 },
//Committees
'hc-member': { u:'Historical Cmte', order:3 },
'vc-member': { u:'Training Cmte', order:3 },
'ec-member': { u:'Activities Cmte', order:3 },
//Former
'former-intern': { u:'Former Intern', order:-1/0 },
'former-helper': { u:'Former Helper', order:-1/0 },
'former-rollback': { u:'Former Rollback', order:-1/0 },
'former-chatmod': { u:'Former Chat Mod', order:-1/0 },
'former-contentmod': { u:'Former Content Mod', order:-1/0 },
'former-discussionmod': { u:'Former Discussion Mod', order:-1/0 },
'former-miniadmin': { u:'Former Mini-Admin', order:-1/0 },
'former-admin': { u:'Former Admin', order:-1/0 },
'former-bureaucrat': { u:'Former Bureaucrat', order:-1/0 },
//Misc
internpro: { u:'Intern Pro tempore', order:0 },
founder: { u:'Founder', order:100 },
}
};
UserTagsJS.modules.mwGroups = ['sysop', 'council', 'rollback', 'chatmoderator', 'threadmoderator', 'content-moderator', 'bureaucrat'];
//Add Tags
UserTagsJS.modules.custom = {
//Current Staff
/* Bureaucrats */
'Jackboog21': ['head', 'hc-sc'],
/* Admins */
/* Mini-Admins */
'Ŝenezala': ['miniadmin', 'head'],
/* Content Mods */
'Tsuzuro Yamazaki': ['ec-jc', 'hc-member', 'head'],
/* Discussion Mods */
/* Rollbacks */
/* Chat Mods */
'GhoulGirls90': ['chatmoderator', 'head'],
/* Helpers and Intern */
'Littleslinky': ['helpers'],
'PLACEHOLDER': ['intern'],
//Former Staff
/* Former Bureaucrats */
'Ekhinyu': ['former-bureaucrat'],
/* Former Admins */
/* Former Mini-Admins */
'AoiRyugokuTSFG1': ['former-miniadmin' ],
'A random student': ['former-miniadmin', 'hc-jc', 'ec-member'],
/* Former Content Mods */
'Travid117': ['former-contentmod'],
'GalaxE': [],
'SeiShii': ['former-chatmoderator', 'ec-member'],
/* Former Rollbacks */
'DezertFokx': ['former-rollback'],
'Third-Impact-is-Coming': ['former-rollback'],
'TheMoonPortal': ['former-rollback'],
'Redandsymmetry': ['former-rollback'],
'Tatsuya420': ['former-rollback'],
/* Former Discussion Mods */
'Grapeleaf Skeletonizer': ['former-discussionmod'],
'KawaiiKunWolf': ['former-discussionmod'],
/* Former Chat Mods */
'Rgis': ['former-chatmod'],
'EwImTrash': ['former-chatmod'],
'Chief Fenrir': ['former-chatmod'],
/* Former Helpers */
'Merrimilk': ['former-helper'],
"It'smeClara": ['former-helper'],
'LunathuThePotato': ['former-helper'],
'Ariariariari :P': ['former-helper'],
'XyoKiwii': ['former-helper'],
'BrianBanana': ['former-helper', 'ec-member'],
'Takriiiia': ['former-helper'],
'Shadow Bonnie202': ['former-helper'],
'ThatNerdyGamerGirl': ['former-helper'],
'MrCheeseTiger1234': ['former-helper', 'ec-member'],
'RedLightningStrike': ['former-helpers', 'ec-member'],
'S0ul245Official': ['former-helpers'],
/* Former Interns */
'EmotionlessKuu': ['former-intern'],
'SonrisitasPF': ['former-intern'],
'Ironslab': ['former-intern'],
'Nightmaric Pixels': ['former-intern', 'hc-member', 'vc-member'],
'Queen of Idiots': ['former-intern', 'vc-member'],
'AwesomeEvan61': ['former-intern', 'vc-member'],
'Batison': ['former-intern'],
'MeGUMMYsaikoBEAR': ['former-intern'],
'EchoPrince': ['former-intern'],
'Erin Hideko': ['former-intern'],
'Ekoa Daiki': ['former-intern'],
'Maven1010': ['former-intern'],
'AquaSniper37': ['former-intern'],
'Thekoolgal11': ['former-intern']
};
//Remove tag if has any of the blacklisted tags
UserTagsJS.modules.metafilter = {
//Ranks
sysop: ['bureaucrat'],
miniadmin: ['bureaucrat', 'sysop', 'head-miniadmin'],
'content-moderator': ['bureaucrat', 'sysop', 'miniadmin'],
threadmoderator: ['bureaucrat', 'sysop', 'miniadmin'],
chatmoderator: ['bureaucrat', 'sysop', 'miniadmin', 'threadmoderator'],
rollback: ['bureaucrat', 'sysop', 'miniadmin', 'content-moderator'],
helpers: ['bureaucrat', 'sysop', 'miniadmin', 'content-moderator', 'threadmoderator', 'rollback', 'chatmoderator'],
intern: ['bureaucrat', 'sysop', 'miniadmin', 'content-moderator', 'threadmoderator', 'rollback', 'chatmoderator', 'helpers'],
'former-intern': ['intern', 'internpro'],
//Heads
'head-admin': ['bureaucrat'],
'head-miniadmin': ['bureaucrat', 'sysop'],
'head-discussionmod': ['bureaucrat', 'sysop', 'miniadmin'],
'head-contentmod': ['bureaucrat', 'sysop', 'miniadmin'],
'head-chatmod': ['bureaucrat', 'sysop', 'miniadmin', 'threadmoderator'],
'head-rollback': ['bureaucrat', 'sysop', 'miniadmin', 'content-moderator'],
'head-helper': ['bureaucrat', 'sysop', 'miniadmin', 'content-moderator', 'threadmoderator', 'rollback', 'chatmoderator'],
//Interim Heads
'headint-admin': ['bureaucrat'],
'headint-miniadmin': ['bureaucrat', 'sysop'],
'headint-discussionmod': ['bureaucrat', 'sysop', 'miniadmin'],
'headint-contentmod': ['bureaucrat', 'sysop', 'miniadmin'],
'headint-chatmod': ['bureaucrat', 'sysop', 'miniadmin', 'threadmoderator'],
'headint-rollback': ['bureaucrat', 'sysop', 'miniadmin', 'content-moderator'],
'headint-helper': ['bureaucrat', 'sysop', 'miniadmin', 'content-moderator', 'threadmoderator', 'rollback', 'chatmoderator'],
//Deputies
'deputy-admin': ['bureaucrat', 'interim'],
'deputy-miniadmin': ['bureaucrat', 'sysop', 'interim'],
'deputy-discussionmod': ['bureaucrat', 'sysop', 'miniadmin', 'interim'],
'deputy-contentmod': ['bureaucrat', 'sysop', 'miniadmin', 'interim'],
'deputy-chatmod': ['bureaucrat', 'sysop', 'miniadmin', 'threadmoderator', 'interim'],
'deputy-rollback': ['bureaucrat', 'sysop', 'miniadmin', 'content-moderator', 'interim'],
'deputy-helper': ['bureaucrat', 'sysop', 'miniadmin', 'content-moderator', 'threadmoderator', 'rollback', 'chatmoderator', 'interim'],
};
//Add tag if all whitelisted tags are present, remove whitelisted tags
UserTagsJS.modules.implode = {
miniadmin: ['threadmoderator', 'content-moderator'],
//Heads
'head-helper': ['helpers', 'head'],
'head-rollback': ['rollback', 'head'],
'head-chatmod': ['chatmoderator', 'head'],
'head-contentmod': ['content-moderator', 'head'],
'head-discussionmod': ['threadmoderator', 'head'],
'head-miniadmin': ['threadmoderator', 'content-moderator', 'head'],
'head-admin': ['sysop', 'head'],
'head-bureaucrat': ['bureaucrat', 'head'],
//Interim Heads
'headint-helper': ['helpers', 'interim'],
'headint-rollback': ['rollback', 'interim'],
'headint-chatmod': ['chatmoderator', 'interim'],
'headint-contentmod': ['content-moderator', 'interim'],
'headint-discussionmod': ['threadmoderator', 'interim'],
'headint-miniadmin': ['threadmoderator', 'content-moderator', 'interim'],
'headint-admin': ['sysop', 'interim'],
'headint-bureaucrat': ['bureaucrat', 'interim'],
//Deputies
'deputy-helper': ['helpers', 'deputy'],
'deputy-rollback': ['rollback', 'deputy'],
'deputy-chatmod': ['chatmoderator', 'deputy'],
'deputy-contentmod': ['content-moderator', 'deputy'],
'deputy-discussionmod': ['threadmoderator', 'deputy'],
'deputy-miniadmin': ['threadmoderator', 'content-moderator', 'deputy'],
'deputy-admin': ['sysop', 'deputy'],
'deputy-bureaucrat': ['bureaucrat', 'deputy'],
};
//MastHeadRightsBadge
window.MastheadRightsBadgeSettings = {
iconSize: '25px',
};
window.MessageWallUserTags = {
users: {
'Jackboog21': 'Head Bureaucrat',
'Ŝenezala': 'Head Mini-Admin',
'Tsuzuro_Yamazaki': 'Head Content Mod',
'GhoulGirls90': 'Head Chat Mod',
'Littleslinky': 'Head Helper',
'Placeholder': 'Intern',
}
};
//TopicBlockList
TBL_WIKIS = [ "community", "yandere-simulator", "yandere-simulator-fan"];
//AbuseLogRC
abuseLogRC_showTo = [ 'content-moderator', 'rollback' ];
//MarkForDeletion
window.MarkForDeletion = {
promptedDeleteReason: "Vandalism/Spam",
replace: true
};
//Import for Content Staff
if (mw.config.get('wgUserGroups').includes('rollback') ||
mw.config.get('wgUserGroups').includes('content-moderator') ||
mw.config.get('wgUserGroups').includes('sysop'))
{
importArticles({
type: 'script',
articles: [
'u:dev:MediaWiki:MarkForDeletion/code.js',
]
});
}
//Import for Social Staff
if (mw.config.get('wgUserGroups').includes('threadmoderator') ||
mw.config.get('wgUserGroups').includes('sysop'))
{
importArticles({
type: 'script',
articles: [
'u:dev:MediaWiki:ArchiveTool/code.js',
]
});
}
//Import for all Staff
if (mw.config.get('wgUserName').includes('VacantIntern') /*Intern*/ ||
mw.config.get('wgUserName').includes('Littleslinky') ||
mw.config.get('wgUserName').includes('GhoulGirls90') ||
mw.config.get('wgUserGroups').includes('rollback') ||
mw.config.get('wgUserGroups').includes('chatmoderator') ||
mw.config.get('wgUserGroups').includes('content-moderator') ||
mw.config.get('wgUserGroups').includes('threadmoderator') ||
mw.config.get('wgUserGroups').includes('sysop'))
{
importArticles({
type: 'script',
articles: [
//'u:dev:MediaWiki:RailWAM/code.js', WAM is not on UCP
]
});
}
//LockOldComments
window.lockOldComments = (window.lockOldComments || {});
window.lockOldComments.limit = 183;
window.lockOldComments.addNoteAbove = true;
//AjaxRC
window.ajaxSpecialPages = [
//"Recentchanges",
//"WikiActivity",
//"Watchlist",
"Log",
"Contributions"
];
window.ajaxRefresh = 60000;
//WikiActivity
window.rwaOptions = {
refresh : true,
};
//BackToTopButton
window.BackToTopModern = true;
//Refresh Live! Chat every 30 seconds
//window.chatReloadTime = 30000;
//DPLforums
window.dplforumBoards = [
//General
{ boardName: 'general-discussion',
boardDescription: 'This board is for general conversations about the wiki.'
},
{ boardName: 'fun-and-games',
boardDescription: 'This board is for off-topic conversation - a place to hang out.'
},
//HelpCenter
{ boardName: 'questions-and-answers',
boardDescription: 'Got a question about the wiki, or the topic? Ask your questions here!'
},
{ boardName: 'bug-reports',
boardDescription: "Found a bug and don't want to annoy YandereDev? Maybe we can help."
},
//News
{ boardName: 'news-and-announcements',
boardDescription: 'Breaking news and information!'
},
{ boardName: 'new-on-yandere-simulator-wiki',
boardDescription: "Want to share something posted on the wiki, or congratulate somebody?"
},
{ boardName: 'game-updates',
boardDescription: "Discuss the latest update and future updates."
},
//Staff
{ boardName: 'staff',
boardDescription: 'Staff meetings and more.'
},
{ boardName: 'applications',
boardDescription: 'Apply for staff here.'
},
//Defaults
{ boardName: 'help-desk',
boardDescription: 'Need help with the wiki?'
},
{ boardName: 'watercooler',
boardDescription: 'Looking to chat?'
}
];
window.i = window.i || 0; //Required for SignatureCheck to work properly
window.SignatureCheckJS = {
forumheader: 'Forum/Header',
};