Jump to content

User:VoABot II/admin panel.js

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
//<--BOT INCLUDE-->
//NOTE: changes go into effect within 1 hour at most, though "VOABOT_ON" is instant
//bad regexps or changes to variable names can cause problems
//NOTICE: when changing settings, please be sure that they are brief and that you use a descriptive edit summary

//Turning this off will shut down RC patrol immediately, almost no server use after 15 min max
var VOABOT_ON=1;

// Tasks
var RCPATROL_BOT=1;
var WATCHLIST_BOT=1;
var MOVEPATROL_BOT=1;
var NEWBIEWATCH_BOT=1;
var WATCHUPDATELST_BOT=1;
var BOT_USER_NOTICE=1;
var CATEGWATCH_BOT=1;

// Should ALL IP edits be scanned? (skips stuff)
var SCAN_ALL_IPS_BOT=0;

// Do not revert more than X times
var MAX_BOT_REVERTS=2;

/////////////Friendly bots/////////////
var ALLIES_AVOID_BOT = '|CorenSearchBot|ClueBot|AntiVandalBot|Xenophon (bot)|Werdnabot2|T-850 Robotic Assistant|MartinBot|SgtDrini|VoABot II|XLinkBot|AntiAbuseBot|SoxBot III';

/////////////////Watchlist modes/////////////////
//NOTE: some of the settings below may be redundant if the following are set

//This vastly restricts shared IP or new user editing to the watchlist, many types of edits will be reverted
//moves to pages in the watclist by new users will be reverted
var WATCHLIST_LIMITED_BOT=0;
//(must be 0 or 1)
/////////////////

/////////////////Non-AOL shared IP settings/////////////////
//vasty limits edits by logged-out non-AOL shared IP user edits to the watchlist
var SHARED_W_LIMIT_BOT=0;
//(must be 0 or 1) 

//reverts ALL logged-out non-AOL shared IP user edits to the watchlist
var SHARED_W_REVERT_BOT=0;
//(must be 0 or 1) 
/////////////////

/////////////////Server IP settings/////////////////
//vasty limits edits by logged-out server IP user edits to the watchlist
var SERVER_W_LIMIT_BOT=1;
//(must be 0 or 1) 

//reverts ALL logged-out server IP edits to the watchlist
var SERVER_W_REVERT_BOT=0;
//(must be 0 or 1)
/////////////////

/////////////////New User settings/////////////////
//These are modes to limit new user edits

//This is to heavily limit new user edits to the Watchlist
//moves to pages in the watchlist by new users will be reverted
var NEW_USER_LIMITED=0;
//(must be 0 or 1)
/////////////////

/////////////////BAD IP ranges for specific pages/////////////////
//Using /24 and /16 ranges is easiest, as this does not compile CIDR forms
//Edits by logged-out users to the Watchlist with these IPs will auto-reverted
//xxx\.xxx\. denotes a /16 range, do NOT use anything larger
var BadIP_ranges_BOT = /^(212\.120\.|201\.47\.|4\.167\.|88\.218\.|128\.101\.|219\.88\.|82\.50\.|82\.48\.)/;
/////////////////

/////////////////KEYWORDS TO FLAG A PAGE TO WATCH IT when on RC/////////////////
//Any non-talk page with any of these names will be checked if *any* IP edits it
var NAME_TYPE_CHECK = /NONE AT THIS TIME/;
////////////////