MediaWiki:Gadget-Botify.js: Difference between revisions
Jump to navigation
Jump to search
m
Logging
KokoroSenshi (talk | contribs) m (Rewrote, untested) |
KokoroSenshi (talk | contribs) m (Logging) |
||
Line 3: | Line 3: | ||
// -------------------------------------------------------- | // -------------------------------------------------------- | ||
function isBot() { | function isBot() { console.log("isBot()"); | ||
var isBot; | var isBot; | ||
Line 24: | Line 24: | ||
} | } | ||
function getRightsToken() { | function getRightsToken() { console.log("getRightsToken()"); | ||
var rightsToken; | var rightsToken; | ||
Line 43: | Line 43: | ||
} | } | ||
function botify( makeBot, userName, rightsToken, botExpiry ) { | function botify( makeBot, userName, rightsToken, botExpiry ) { console.log("botify()"); | ||
var apiOptions = { | var apiOptions = { | ||
Line 71: | Line 71: | ||
} | } | ||
function botOnReplaceText( rightsToken, userName ) { | function botOnReplaceText( rightsToken, userName ) { console.log("botOnReplaceText()"); | ||
$('#choose_pages').on('submit', function(e){ | $('#choose_pages').on('submit', function(e){ |