MediaWiki:Common.js

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

importArticle({type:'script', article:'w:c:dev:UserBadges/code.js'});

window.UserBadgesJS = { inactive: 45, // Inactive if no edits in this many days, 0=disabled gone: {}, // List of users who have formally left but it hasn't been 'inactive' days yet groups: { bureaucrat:true, patroller:true, rollback:true, chatmoderator:true }, stopBlocked: true, // Don't display any non-custom badges for blocked users newusers: true, // Tag non-autoconfirmed users (MW1.19 only) nonusers: true, // Tag global Wikia accounts that have never edited anything custom: {}, // Map of user names to arrays of strings names: {} // Badge display names