User:Joepayne/grantBureaucrat.js: Difference between revisions

Jump to navigation Jump to search
(Test fix)
(Fix template)
Line 124: Line 124:
             summary: 'Rights notification',
             summary: 'Rights notification',
             nocreate: 1,
             nocreate: 1,
             appendtext: '\n\n{{subst:' + 'Rights removed}}',
             appendtext: '\n\n{{subst:' + 'Bureaucrat granted}}',
             token: mw.user.tokens.get( 'csrfToken' )
             token: mw.user.tokens.get( 'csrfToken' )
         }
         }
Line 145: Line 145:
             summary: 'Rights notification',
             summary: 'Rights notification',
             createonly: 1,
             createonly: 1,
             text: '\n\n{{subst:' + 'Rights removed}}',
             text: '\n\n{{subst:' + 'Bureaucrat granted}}',
             token: mw.user.tokens.get( 'csrfToken' )
             token: mw.user.tokens.get( 'csrfToken' )
         }
         }