Sign ups are back :3 -Sukaira

MediaWiki:Common.js: Difference between revisions

From ORCWiki
Jump to navigationJump to search
No edit summary
Tag: Reverted
Blanked the page
Tag: Blanking
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
mw.loader.using('mediawiki.util').then(() => {
 
    const groups = mw.config.get('wgUserGroups') || [];
    if (!groups.includes('sysop')) {
        $('#n-Management').hide();
    }
    if (!groups.includes('mod') & !groups.includes('sysop')) {
        $('#n-Staff').hide();
    }
}}

Latest revision as of 23:27, 16 July 2026