User:DodoMan/grantadmin.js: Revision history

From Test Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

2 April 2024

1 April 2024

23 March 2024

  • curprev 18:2318:23, 23 March 2024DodoMan~usurped talk contribs 3,041 bytes +3,041 Created page with "//Script to add sysop to a user on one click //To do: add toggles for different skins if( mw.config.get("wgRelevantUserName") ) { var username = mw.config.get("wgRelevantUserName"); $.getJSON( //Get user's group membership mw.util.wikiScript('api'), { format: 'json', action: 'query', list: 'users', usprop: 'groups', ususers: username } ).done( function ( data ) { try { if(data.query.users[0].groups.indexOf(..."