197
edits
(use regex instead to actually replace all instances) |
(throttling to prevent rate limiting) |
||
Line 2:
//<nowiki>
//This script automates the process of finding inactive sysops.
//Output is in the format of "[[User:Example|Example]] || [[Special:PermanentLink/1234|timestamp]] || [[Special:Log/Example|timestamp]]"
mw.loader.using(['oojs-ui', 'mediawiki.util']).done( function () {
Line 93 ⟶ 92:
var checked = 0;
var inactive = [];
var checkList = [];
var total = 0;
// Get user list
Line 130 ⟶ 131:
}
}
function checkUser( user
$.getJSON(
mw.util.wikiScript( 'api' ),
Line 178:
progressBar.setProgress( parseInt(checked / total) * 100 );
if(
checkUser( checkList.pop() );
} else {
listInactiveUsers();
}
|