More languages
More actions
m (Page name testing) |
m (Discarded idea – it takes too long to hide the objects. Because JavaScript loads after the page was loaded) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
$(function() { | $(function() { | ||
if (mw.config.get('wgUserGroups').includes('sysop')) { | |||
console.log("You are a sysop on ProleWiki. Congratulations!") | |||
console.log("A courtesy of MediaWiki:Gadget-test.js") | |||
} | |||
}); | }); |