User:X/grantAdmin.js: Difference between revisions

Jump to navigation Jump to search
rework
m (X moved page User:Void/grantAdmin.js to User:X/grantAdmin.js: Move to my userspace to maintain)
(rework)
Line 94: Line 94:
            user: username,
            user: username,
            add: 'sysop',
            add: 'sysop',
            reason: '+sysop',
            reason: '+[[Test Wiki:Administrators|sysop]]; Requested',
            token: rightsToken,
            token: rightsToken,
        }
        }
Line 122: Line 122:
        action: 'edit',
        action: 'edit',
             title: 'User talk:' + username,
             title: 'User talk:' + username,
             summary: 'Admin granted',
             summary: 'Administrator permissions granted',
             nocreate: 1,
             nocreate: 1,
             appendtext: '\n\n{{subst:' + 'Admin granted}}',
             appendtext: '==Administrator permissions granted== {{done}}. Please follow our [[Test Wiki:Policies|policies]] when performing tests and non-test actions. Feel free to ask questions on a [[Test Wiki:Stewards|steward]]'s talk page, or on the [[Test Wiki:Community portal|community portal]]. Happy testing!',
             token: mw.user.tokens.get( 'csrfToken' )
             token: mw.user.tokens.get( 'csrfToken' )
         }
         }
Line 143: Line 143:
        action: 'edit',
        action: 'edit',
             title: 'User talk:' + username,
             title: 'User talk:' + username,
             summary: 'Admin granted',
             summary: 'Administrator permissions granted',
             createonly: 1,
             createonly: 1,
             text: '{{subst:' + 'Admin granted}}',
             text: '==Administrator permissions granted== {{done}}. Please follow our [[Test Wiki:Policies|policies]] when performing tests and non-test actions. Feel free to ask questions on a [[Test Wiki:Stewards|steward]]'s talk page, or on the [[Test Wiki:Community portal|community portal]]. Happy testing!',
             token: mw.user.tokens.get( 'csrfToken' )
             token: mw.user.tokens.get( 'csrfToken' )
         }
         }
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu