Jump to content

User:Trav1085/Botz/admin panel.js

From Wikipedia, the free encyclopedia
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 while 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?
var SCAN_ALL_IPS_BOT=1;

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

/////////////////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=1;
//(must be 0 or 1)

//This reverts all edits by any logged-out shared or server IP or new user to the watchlist
//moves to pages in the watclist by new users will be reverted
var WATCHLIST_APPROVAL_BOT=1;
//(must be 0 or 1)
/////////////////

/////////////////AOl shared IP settings/////////////////
//This vastly restricts AOL IP editing to the watchlist only, many types of edits will be reverted
var AOL_W_LIMIT_BOT=0;
//(must be 0 or 1)

//reverts ALL logged-out AOL user edits to the watchlist
var AOL_W_REVERT_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=0;
//(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 watclist by new users will be reverted
var NEW_USER_LIMITED=0;
//(must be 0 or 1)

//This mode will revert all new user edits to the Watchlist
//moves to pages in the watclist by new users will be reverted
var NEW_USER_W_REVERT_BOT=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/;
////////////////