Difference between revisions of MediaWiki:Gadget-Invert.js

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
mw.loader.using('mediawiki.user', function() {
mw.loader.load('ext.gadget.InvertAnon');
    if (mw.user.anonymous()) {
        mw.loader.load('ext.gadget.InvertAnon');
    }
    else {
        mw.loader.load('ext.gadget.InvertUser');
    }
});

Revision as of 11:34, 14 June 2020

mw.loader.load('ext.gadget.InvertAnon');