MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ window.railWAM = { logPage:"Project:WAM Log" }; importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:WallGreetingButton/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:BackToTopButton/code.js',    ] }); window.BackToTopModern = true;

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:DiscussionsActivity.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:SeeMoreActivityButton/code.js',    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:PurgeButton/code.js',    ] });

// User tags window.UserTagsJS = { tags: { 'bureaucrat': { u:'Demon Lord', link: 'Project:Bureaucrats' }, 'sysop': { u:'True Dragon', link: 'Project:Sysops' }, 'content-moderator': { u:'Paladin', link: 'Project:Content moderator' }, 'poweruser': { u:'Slime', link: 'Project:Autoconfirmed users' }, 'autoconfirmed-user': { u:'Fair Oni', link: 'Project:Autoconfirmed users' }, 'user': { u:'Slime', link: 'Project:Autoconfirmed users' }, 'newuser': { u:'Slime' }, inactive: { u:'Deceased', title: 'The user hasn\'t edited for last 30 days' }, blocked: { u:'Dark Oni', link:'Project:Blocking policy' }, }, modules: { stopblocked: false, inactive: 30, mwGroups: ['bureaucrat', 'sysop', 'content-moderator', 'rollback', 'autoconfirmed-user', 'user', 'autoconfirmed-user', 'bot', 'bot-global', 'blocked', 'nonuser'], autoconfirmed: true, newuser: true, metafilter: { 'content-moderator': ['bureaucrat'], rollback: ['bureaucrat', 'content-moderator'], threadmoderator: ['content-moderator'], user: ['bureaucrat', 'sysop','content-moderator', 'rollback','translator', 'newuser', 'inactive','blocked'], bot: ['bot-global'], newuser: ['inactive'], bureaucrat: ['inactive'], sysop: ['inactive'], founder: ['inactive'], blocked: ['inactive'], poweruser: ['newuser'] }, }, };