User:VoABot II/admin panel.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
Documentation for this user script can be added at User:VoABot II/admin panel. |
//<--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/;
////////////////