MediaWiki:Common.js: Difference between revisions
imported>Sumpy No edit summary |
imported>Sumpy 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. */ | ||
var ajaxPages = ["Special:WikiActivity","Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; | |||
var AjaxRCRefreshText = 'Auto-refresh'; | |||
var AjaxRCRefreshHoverText = 'Automatically refresh this page'; | |||
/* 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 24: | ||
importScriptPage('InactiveUsers/code.js', 'dev'); | importScriptPage('InactiveUsers/code.js', 'dev'); | ||
window.MessageWallUserTags = { | |||
tagColor: '#d4d4d4', | |||
txtSize: '10px', | |||
glow: false, | |||
users: { | |||
'username': 'usergroup', | |||
'Sumpy': 'ADMIN', | |||
'MoekaChiina': 'ADMIN', | |||
'Lawiki1534virus': 'ADMIN', | |||
'RogueHarrier': 'ADMIN', | |||
'Zeroxeon': 'ADMIN' | |||
'Socoollogos': 'ADMIN' | |||
'Kianlolcat99': 'ADMIN' | |||
'Abinadabi': 'ADMIN' | |||
'HLDK': 'ADMIN' | |||
} | |||
}; | |||
importArticles({ | |||
type: 'script', | |||
articles: [ | |||
//other scripts, | |||
'u:dev:MessageWallUserTags/code.js' | |||
] | |||
}); |