MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */

importArticles({   type: "script",    articles: [        "w:c:dev:Countdown/code.js",             //**Creates countdown clock**//        "w:c:dev:UserTags/code.js",              //**Custom usertags**//        "w:c:dev:LockOldBlogs/code.js",          //**Lock blog posts**//        "w:c:dev:LockForums/code.js",            //**Lock forums**//        "u:dev:Standard_Edit_Summary/code.js",   //**Standard edit summaries**//        "u:dev:MessageWallUserTags/code.js",        "u:dev:LastEdited/code.js",        'u:dev:MassProtect/code.js',             //**Mass protect articles**//        'u:dev:ReferencePopups/code.js',         //**References popup**//        'u:dev:BackToTopButton/code.js',         //**Back to top of page**//        "MediaWiki:Snow.js"    ] });

//**Custom user tags**// window.UserTagsJS = { modules: {}, tags: { // FORMAT= groupe: { tag } 'css': { u:'CSS codeur', order:4 }, 'founder': { u:'Founder', order:0}, 'sysop': { link:'Project:Admins and Mods', order:1}, 'chatmoderator': { link:'Project:Admins and Mods', order:2}, 'rollback': { link:'Special:ListUsers/rollback', order:3}, 'vstf': {order:100} } }; UserTagsJS.modules.custom = { 'Utilisateur2': ['css'], // Add Codeur CSS to Utilisateur2 'DJSponge': ['founder'], // Add Founder to DJSponge }; UserTagsJS.modules.mwGroups = ['rollback']; // Add rollback group to Rollbacks UserTagsJS.modules.metafilter = { 'rollback': ['sysop']                  // Remove rollback from Sysops };

//**End custom user tags**//

//**Lock blog posts**// window.LockOldBlogs = { expiryDays: 60, expiryMessage: "This blog hasn\'t been commented on for over  days. There is no need to comment." ,   nonexpiryCategory: "Never archived blogs" }; //**End lock blog posts**//

//**Lock forums**// window.LockForums = { expiryDays: 60, expiryMessage: "This forum hasn\'t been commented on in over  days. There is no need to comment.", ignoreDeletes: true, banners: true, expiryBannerMessage: "Note: This topic has been unedited for  days. It is considered archived - the discussion is over. If you feel this forum needs additional information, contact an administrator.", };

//**End lock forums**//

if (wgUserName != 'null') { $('.insertusername').html(wgUserName); }

//**Highlighted messagewall tags**// window.MessageWallUserTags = { tagColor: '#40E0D0', glow: true, glowSize: '15px', glowColor: '#FEFEFA', users: { 'Ripto22475': 'Administrator', 'Ray422': 'Administrator', 'Sdstig': 'Administrator', 'DJSponge': 'Founder', 'Booswithanger': 'Former Administrator', 'Mrflyingmushroom': 'Former Administrator', 'Itsme226': 'Former Administrator', 'Beastiefan83': 'Chat Moderator', 'Number1PearlshippingSaiyan02': 'Chat Moderator', 'Stryzzar': 'Rollback', 'MarioKero345': 'Rollback', 'Collintrex': 'Rollback', } };

//**End highlighted messagewall tags**//

//**LastEdited**// window.lastEdited = { avatar: true, size: false, diff: true, comment: false, time: 'timestamp', namespaces: { include: [], exclude: [] },   pages: [] };

//**End LastEdited**//