m (Undo revision 460547 by Banarama (talk)) |
m (Move import) |
||
Line 48: | Line 48: | ||
'u:dev:Medals/code.js', |
'u:dev:Medals/code.js', |
||
'u:dev:UserRightsRecord/code.js', |
'u:dev:UserRightsRecord/code.js', |
||
− | 'u:dev:UserTags/code.js', |
||
'u:dev:WikiManager_Nameplate.js', |
'u:dev:WikiManager_Nameplate.js', |
||
'u:elderscrolls:Common.js/DiscussionsLinks.js' |
'u:elderscrolls:Common.js/DiscussionsLinks.js' |
Revision as of 16:41, 3 November 2019
///////////////////////////////////////////////
/*********** Import Configurations ***********/
///////////////////////////////////////////////
/* Lock Forums */
window.LockForums = {
//disableOn: ['29793'],//Admins may use this field to unlock specific threads if necessary.
expiryDays: 60,
expiryMessage: 'This thread hasn’t been commented on for <actualDays> days. The discussion is over — there is no need to comment.',
warningDays: 30,
warningMessage: 'This thread is now <actualDays> days old. Please reply ONLY if a response is seriously needed.',
ignoreDeletes: true,
banners: true,
expiryBannerMessage: 'This topic has been unedited for <actualDays> days. It is considered archived — the discussion is over. If you feel this thread needs additional information, contact an administrator so they may unlock it if necessary.',
warningBannerMessage: 'This topic has been unedited for <actualDays> days. It is considered archived — the discussion is over. Do not add to it unless it really needs a response.',
expiryBannerStyle: 'stylesheet',
warningBannerStyle: 'stylesheet',
warningPopup: true,
warningPopupMessage: 'Posting in an old thread can cause many users still following this thread to be spammed with notifications. Are you sure you want to do this?',
boxHeight: 50
};//End LF*/
/* Preloaded Template Location */
window.customPreloadTemplate = 'MediaWiki:Custom-Preloaded';//End PTL*/
/* TalkButton */
window.TalkButtonNamespaces = [112, 116];//End TB*/
///////////////////////////////////////////////
/************ NS-specific imports ************/
///////////////////////////////////////////////
var config = mw.config.get([
'wgNamespaceNumber',
'wgPageName'
]);
if (
[-1, 2, 4, 500, 1200, 1201].indexOf(config.wgNamespaceNumber) !== -1 &&
config.wgPageName !== 'Project:Home'
) {
importArticles({
type: 'script',
articles: [
'CategoryCommunityModules.js',
'Tags.js',
'Tournaments.js',
'u:dev:CommunityDataUsers/code.js',
'u:dev:ListUsers/code2.js',
'u:dev:Medals/code.js',
'u:dev:UserRightsRecord/code.js',
'u:dev:WikiManager_Nameplate.js',
'u:elderscrolls:Common.js/DiscussionsLinks.js'
]
}, {
type: 'style',
article: 'MediaWiki:Log.css'
});
}//End NNSS*/