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(' | mw.loader.using('mediawiki.user', function() { | ||
if (mw.user.anonymous()) { | if (mw.user.anonymous()) { | ||
mw.loader.load('ext.gadget.InvertAnon'); | mw.loader.load('ext.gadget.InvertAnon'); | ||
Revision as of 11:34, 14 June 2020
mw.loader.using('mediawiki.user', function() {
if (mw.user.anonymous()) {
mw.loader.load('ext.gadget.InvertAnon');
}
else {
mw.loader.load('ext.gadget.InvertUser');
}
});