User:XLinkBot/Settings
Appearance
#
# Settings for XLinkBot # # Notes: # Settings are loaded just before every revert. # # Syntax is as follows: # * EVERY line starting with a "#" character is disregarded # * Every non-blank line is in the format "Setting=value" # Channel settings warningchannel=#wikipedia-spam-bot-channel # Setting reverting_on to 0 will stop reverting of the bot. In this case it will still revert [[user:Beetstra/Sandbox]], which can then be used for testing. reverting_on=1 # Where is the blacklist, "Wiki" = here, "SQL" = off-wiki database. Anything else will result in Wiki. RevertListSource=Wiki #This is the page XLinkBot uses to retrieve regexes that trigger his reverts. RevertList=User:XLinkBot/RevertList|User:COIBot/RevertList|User:MER-C/RevertList.css #This is the page XLinkBot uses to retrieve regexes that match whitelisted links WhiteList=User:XLinkBot/WhiteList|User:COIBot/WhiteList #This is the page XLinkBot uses to retrieve regexes that trigger his reverts FOR REFERENCES ONLY! RevertReferencesList=User:XLinkBot/RevertReferencesList|User:COIBot/RevertReferencesList|User:MER-C/RevertReferencesList.css #This is the page log page for the RevertList. RevertListLog=User:XLinkBot/RevertList requests/log #This is the page XLinkBot uses to check if a rule is on override. OverrideList=User:XLinkBot/OverrideList|User:MER-C/OverrideList.css|User:COIBot/OverrideList #This is the page XLinkBot uses to check if a rule is on hard override. HardOverrideList=User:XLinkBot/HardOverrideList|User:MER-C/HardOverrideList.css|User:COIBot/HardOverrideList # use parsed diff or unparsed diff useparseddiff=0 # Do I revert to myself ("revert_once = 0") or not ("revert_once = 1") revert_once=1 # Revert all edits by a user (0), or only the last one (1)? revertoneedit=0 # If I do revert to myself (i.e. "revert_once = 0"), do I revert the SAME user twice # (DontRevertSameUserTwice = 0) or not (DontRevertSameUserTwice = 1) # !! See also setting "WithinReversiontime" !! DontRevertSameUserTwice=1 # If I revert to myself (i.e. "revert_once = 0") AND revert the same user twice (DontRevertSameUserTwice = 0) # then, how long is there between the previous edit by this user, # WithinReversiontime=indef -> never revert # WithinReversiontime=### -> if the previous addition by this user was more than ### seconds ago, revert again WithinReversiontime=indef # If editor does too many edits in a row, don't revert maxconsequtiveedits=50 # Authorized bots # These are the linkwatcher bots, and Beetstra (as operator for test functions) authorized_bots=LiWa3_1|LiWa3_2|LiWa3_3|LiWa3_4|LiWa3_5|Beetstra # trusted users trusted_users=Wikimedia/Beetstra|Wikimedia/Versageek # Do I try to detect if the external link is in a reference? detect_refs=1 # template parameters which may contain a working url templateparameters=url # Templates to be expanded before parsing a page expandtemplates=twitter|myspace # When templates matching this regex are (now) on the page, the bot does NOT revert (except hard override), # separate templates with |, is interpreted as a regex tested on source of page. noreverttemplates=copyviocore|db-g12|db-copyvio|copypaste|db-g12|copyvio-revdel # Edits larger than 2000 are not reverted size_limit=2000 # autoconfirm_reason can take "age", "count", or "both". If a wrong value is used, the standard is "age". # "age" -> if the account is created longer than 'autoconfirm_limit' seconds ago -> don't revert # "count" -> if the account has more than 'autoconfirm_edits' edits -> don't revert # "both" -> when both age AND count are too high -> don't revert # "both" will result in accounts which have been created more than 'autoconfirm_limit' seconds ago, but with less than 'autoconfirm_edits' edits to be reverted. autoconfirm_reason=both # Autoconfirm age of an account in seconds, 4 * 24 * 60 * 60 = 345600 (4 days) # When a user is older than this, XLinkBot does not revert, except when the link is on override autoconfirm_limit=345600 # Autoconfirm edits of an account, 10. # When a user has performed more edits than this, XLinkBot does not revert, except when the link is on override autoconfirm_edits=10 # Autoconfirm edits of an account, 50. # When a user has performed more edits than this, XLinkBot does not revert, except when the link is on override IRC_autoconfirm_edits=50 # Place to report repeat spammers in the end ('AIV' on en.wikipedia): reportplace=Wikipedia:Administrator_intervention_against_vandalism/TB2 # report strings for ip and users: IPuser-reportstring=* {{IPvandal|$user}} - Keeps adding external links matching $rule ($link) after final warning (please read [[User:XLinkBot#A Note for Admins|this note]]). --~~~~ user-reportstring=* {{vandal|$user}} - Keeps adding external links matching $rule ($link) after final warning (please read [[User:XLinkBot#A Note for Admins|this note]]). --~~~~ # Other AntiVandalismBots, XLinkBot does not revert to these bots AntiVandalismBots=VoABot II|ClueBot|SoxBot III|ClueBot NG # Which namespaces are not to be reverted NoRevertNameSpace=Talk|User|User talk|Wikipedia|Wikipedia talk|Image|Image talk|MediaWiki|MediaWiki talk|Template|Template talk|Help|Help talk|Category|Category talk|Portal|Portal talk # Which namespaces to be reverted RevertNameSpace=0 # If there are more than 'warningoverflow' warnings on a users' talkpage, post to 'overflow-talkpage(s)' (separated by '|') the 'overflow-warning' warningoverflow=9 overflow-talkpage=User talk:XLinkBot|User talk:Versageek|User talk:Beetstra overflow-warning=Please investigate the [[Special:Contributions/$user|contributions]] of [[user:$user]], they have received $times warnings on their [[user talk:$user|talkpage]]. # Forget that you warned a user after .. (XLinkBot remembers when he last reverted a user, if it is more than 'Forget' seconds ago, warninglevel will be reset to '2' resulting in the bot starting with the level defined in iprestartlevel/userrestartlevel below). Forget=259200 # Restartlevel for an IP account ('iprestartlevel') and a useraccount ('userrestartlevel'), after the 'Forget' time, XLinkBot restarts warning from this level: # 1: good faith remark without warning # 2: uw-spam1 # 3: uw-spam2 # 4: uw-spam3 # 5: uw-spam4 # IPs may have changing user, start with good faith remark. iprestartlevel=1 iprestartlevel_afterold4im=3 iprestartlevel_after4im=4 # users should have read the good faith message earlier, start with same level as highest level found on talkpage userrestartlevel=highest userrestartlevel_afterold4im=4 userrestartlevel_after4im=5 # 3RR checks his edits in the last 3RR_Reverttime seconds, if there are more than 3RR_Reverts in 3RR_Reverttime, XLinkBot will not revert # 30 hours 3RR_Reverttime=108000 # Max 3 edits # if there are more than 3RR_Reverts in 3RR_Reverttime, XLinkBot will not revert 3RR_Reverts=2 # PageLocks PageLocks=User:XLinkBot/PageLocks|User:COIBot/PageLocks # PageExcludes PageExcludes=User:XLinkBot/PageExcludes|User:COIBot/PageExcludes # UserLocks UserLocks=User:XLinkBot/UserLocks|User:COIBot/UserLocks # The next 4 settings make up the majority of the warnings: # On a first revert, no warning template is added, but this message is left # $pagename is replaced with the pagename where the link was added by the user. # $diffurl is replaced with the link to the diff of the linkaddition by the user # $rule is replaced with rule on the revertlist that matches the 'offending' link # $link is replaced with a list of links that the editor has added, which match the rule on the revertlist. # $user is replaced with username of the user that is being warned firstrevertremark=Welcome to Wikipedia. Although everyone is welcome to contribute constructively to the encyclopedia, your addition of one or more external links to the page [[:$pagename]] has been reverted.<br /> # First warning # (uses $pagename,$diffurl,$rule,$link,$user) firstwarning={{subst:uw-spam1|$pagename| }}<br /> # Second warning # (uses $pagename,$diffurl,$rule,$link,$user) secondwarning={{subst:uw-spam2|$pagename| }}<br /> # Third warning # (uses $pagename,$diffurl,$rule,$link,$user) thirdwarning={{subst:uw-spam3|$pagename| }}<br /> # Fourth warning # (uses $pagename,$diffurl,$rule,$link,$user) fourthwarning={{subst:uw-spam4|$pagename| }}<br /> # Only warning - user by level overrule system # (uses $pagename,$diffurl,$rule,$link,$user) onlyfinalwarning={{subst:uw-spam4im|$pagename| }}<br /> # This is the explanation of why the bot reverts (non-reference links) # (uses $pagename,$diffurl,$rule,$link,$user) revertexplanation=Your edit [$diffurl here] to [[$pagename]] was reverted by an automated bot that attempts to remove links which are discouraged per our [[WP:EL|external links guideline]]. The external link(s) you added or changed ($link<!-- matching the [[regex|regex rule]] $rule) -->) is/are on my list of links to remove and probably shouldn't be included in Wikipedia. # This is the explanation of why the bot reverts (reference links) # (uses $pagename,$diffurl,$rule,$link,$user) referenceexplanation=Your edit [$diffurl here] to [[$pagename]] was reverted by an automated bot that attempts to remove links in references which are discouraged per our [[WP:RS|reliable sources guideline]] (see also [[WP:RSP|this list of frequently-discussed sources]]). The reference(s) you added or changed ($link<!-- matching the [[regex|regex rule]] $rule) -->) is/are on my list of links to remove and probably shouldn't be included in Wikipedia. # now a set of messages specific to some rules (can be used to explain better why some rules are on the revertlist) # the first (xxxxrule) is a list of terms that is matched with the rule and the link; separated by a | # the second (xxxxtext) is the text that will be added when the xxxxrule matches the revert-rule # own remarks exist for these; ownremark is a list of names separated by a | # e.g. if the list below contains 'email', then you need 'emailrule' and 'emailtext' defined as well. # the remarks are parsed in the order in ownremark, and the editor will only get one remark (the one of the first match). ownremark=image|media|petition|blog|payforview|email|wiki|fallingrain|telephone1|telephone2|copyright # emailrule/text # (uses $pagename,$diffurl,$rule,$link,$user) emailrule=@ emailtext=Wikipedia pages should not contain personal information such as email addresses. For more information, please read [[Wikipedia:BLP|Wikipedia:Biography of Living People]], specifically the section about [[Wikipedia:BLP#Privacy_of_personal_information|personal information]]. # telephone1rule/text # (uses $pagename,$diffurl,$rule,$link,$user) telephone1rule=(?<![\w\d-])(?<!isbn[\s])\d{3,5}[\s-]\d{2,3}[\s-]\d{4}(?![\d\w-]) telephone1text=Wikipedia pages should not contain personal information such as telephone numbers. For more information, please read [[Wikipedia:BLP|Wikipedia:Biography of Living People]], specifically the section about [[Wikipedia:BLP#Privacy_of_personal_information|personal information]]. # telephone2rule/text # (uses $pagename,$diffurl,$rule,$link,$user) telephone2rule=(?<![\w\d-])(?<!isbn[\s])\d{6}[\s-]\d{4}(?![\d\w-]) telephone2text=It appears that you inserted a telephone number to $pagename. Wikipedia pages should not contain personal information. For more information, please read [[Wikipedia:BLP|Wikipedia:Biography of Living People]], specifically the section about [[Wikipedia:BLP#Privacy_of_personal_information|personal information]]. # imagerule/text -> for image revert rules # (uses $pagename,$diffurl,$rule,$link,$user) imagerule=jpg|jpeg|png|gif|bmp|tif|tiff|swf|svg|flickr|piczo|foto|image|photo imagetext=If the external link you inserted or changed was to an image file on an external server, then note that linking to such files may be subject to Wikipedia's [[WP:COPYRIGHT|copyright policy]] and therefore probably should not be linked to. Please consider using our [[Wikipedia:Upload|upload]] facility to upload a suitable image. # mediarule/text -> for media revert rules # (uses $pagename,$diffurl,$rule,$link,$user) mediarule=youtube|vimeo|liveleak|chem-toddler mediatext=If the external link you inserted or changed was to a media file (e.g. music or video) on an external server, then note that linking to such files may be subject to Wikipedia's [[WP:COPYVIO|copyright policy]], as well as other parts of our [[WP:ELNO|external links guideline]]. If the information you linked to is indeed in violation of copyright, then such information should not be linked to. Please consider using our [[Wikipedia:Upload|upload]] facility to upload a suitable media file, or consider linking to the original. # petitionrule/text, for petitions # (uses $pagename,$diffurl,$rule,$link,$user) petitionrule=petition petitiontext=If the external link you inserted or changed was to a [[petition]] site then please note that wikipedia is [[WP:SOAPBOX|not a soapbox]], and that such links generally should not be included. # Wikirule/text # (uses $pagename,$diffurl,$rule,$link,$user) wikirule=wikia wikitext=If the external link you inserted or changed was to an external [[Wiki]], then please note that these links should generally not be included (see [[WP:ELNO|'links to avoid' #12]]). # blogrule/text, for blogs, forums # (uses $pagename,$diffurl,$rule,$link,$user) blogrule=blog|forum|twitter blogtext=If the external link you inserted or changed was to a [[blog]], [[Internet forum|forum]], [[free web hosting service]], [[fansite]], or similar site (see [[WP:ELNO|'Links to avoid', #11]]), then please check the information on the external site thoroughly. Note that such sites should probably not be linked to if they contain information that is in violation of the creator's [[Wikipedia:COPYRIGHT|copyright]] (see [[Wikipedia:COPYRIGHT#Linking to copyrighted works|Linking to copyrighted works]]), or they are not written by a recognised, [[Wikipedia:Reliable sources|reliable source]]. Linking to sites that you are involved with is also strongly discouraged (see [[Wikipedia:Conflict of interest|conflict of interest]]). # payforviewrule/text, for rules matching pages where the maintainer of the page on the external site gets payd when people follow the external link # (uses $pagename,$diffurl,$rule,$link,$user) payforviewrule=ehow payforviewtext=If the external link you inserted or changed was to a site that provides payment for people visiting the that page, then note that Wikipedia is not an [[Wikipedia:Spam|advertising service]]. Linking to sites that you are involved with is also strongly discouraged (see [[Wikipedia:Conflict of interest|conflict of interest]]). # fallingrain fallingrainrule=fallingrain\.com fallingraintext=If you were adding a link or reference to [[fallingrain.com]], then you should be aware that this site is considered on wikipedia to be an unreliable source. More information can be found [[MediaWiki_talk:Spam-blacklist#Fallingrain.com]] here ([http://en.wikipedia.org/w/index.php?title=MediaWiki_talk:Spam-blacklist&oldid=357616937#Fallingrain.com permanent]). Please consider to use/find another source for the information. # copyright copyrightrule=findagrave\.com copyrighttext=The site you were adding contains information which is in [[WP:COPYVIO|''violation'' of copyright]]. Please check if the information on the page is not in violation of copyright before considering to re-add the link. # end of the message, it is followed by the signature of the bot. # (uses $pagename,$diffurl,$rule,$link,$user) endtext=<br />If you were trying to insert an [[Wikipedia:External links|external link]] that does comply with our [[Wikipedia:List of policies|policies]] and [[Wikipedia:List of guidelines|guidelines]], then please accept my creator's apologies and feel free to [[WP:UNDO|undo]] the bot's revert. However, if the link does not comply with our policies and guidelines, but your edit included other, constructive, changes to the article, feel free to make those changes again without re-adding the link. Please read Wikipedia's [[WP:EL|external links guideline]] for more information, and consult my [[User:XLinkBot/Reversion reasons|list of frequently-reverted sites]]. For more information about me, see [[User:XLinkBot/FAQ|my FAQ page]]. Thanks! # if the editor is an IP, this is added after the message. isiptext=<br /><small>If this is a shared [[IP address]], and you didn't make the edit, please ignore this notice.</small> # edit summary used for the notification of the user on the talkpage # (uses $pagename,$diffurl,$rule,$link,$user) + '$level', which is the level of the revert; e.g. level 0 gives '(good faith remark)' and level 2 gives '(second warning)'; usernotify_editsummary=BOT - Notifying user of reverted link additions to [[$pagename]] $level - links: $link # edit summary used for the revert. # (uses $pagename,$diffurl,$rule,$link,$user) + '$revisionid', which is the revid of page reverted to revert_editsummary=BOT--Reverting link addition(s) by [[:en:Special:Contributions/$user|$user]] to revision $revisionid ($link [$rule]) # edit summary used for the revert when it is in a reference. # (uses $pagename,$diffurl,$rule,$link,$user) + '$revisionid', which is the revid of page reverted to revertreference_editsummary=BOT--Reverting reference addition(s) by [[:en:Special:Contributions/$user|$user]] to revision $revisionid ($link [$rule]) # In the above warnings, $link is replaced with a working link of the added link. # The following setting ('disablelinkontalkpage') contains regexes (separated by |) which when matched to the added link, will # NOT result in a working link on the talkpage. disablelinkineditsummary= disablelinkontalkpage=\bexample\.com\b # hiderules contains a list of rules which get replaced, separated by a | # needs three extra settings, named 'hide'+hiderule+'rule'/'text'/'where'; e.g. for hiderule 'email': # hideemailrule is a regex catching the link to be hidden # hideemailtext is the text that is used instead # hideemailwhere contains 'editsummary' for hiding in the edit summary; 'talkpage' for the talkpage, or 'both' for both. hiderules=email|telephone1|telephone2 hideemailrule=(?<![^\s:])[^\s\]\[\{\}\\\|^\/`<>@:]+@\w+(?!\.htm)(?:\.\w+){1,3} hideemailtext=[[User:XLinkBot/EMAILFAQ|email address removed]] hideemailwhere=both hidetelephone1rule=(?<![\w\d-])(?<!isbn[\s])\d{3,5}[\s-]\d{2,3}[\s-]\d{4}(?![\d\w-]) hidetelephone1text=[[User:XLinkBot/TELEPHONEFAQ|telephone number removed]] hidetelephone1where=both hidetelephone2rule=(?<![\w\d-])(?<!isbn[\s])\d{6}[\s-]\d{4}(?![\d\w-]) hidetelephone2text=[[User:XLinkBot/TELEPHONEFAQ|telephone number removed]] hidetelephone2where=both # debug debug=0 debug2=0 # New settings. trustedusers=User:XLinkBot/TrustedUsers # Do I welcome new users (i.e. users where the talkpage does not have a single revision) welcomeusers=1 welcomeIPs=0 # What templates do I welcome with? userswelcometemplate={{subst:welcomeg|heading=no}} ipswelcometemplate={{subst:welcomeanon|heading=no}} --~~~~ #header for welcome (note, the first '=' is necessary for the setting!!!) dowelcomeheader=1 welcomeheader=== Welcome! == #detection of old warnings spam0_warning=uw-spam0 spam1_warning=uw-spam1 spam2_warning=uw-spam2 spam3_warning=uw-spam3 spam4_warning=uw-spam4 spam4im_warning=uw-spam4im spam5_warning=uw-spam5 block1_warning=template:block1 # user whitelist userwhitelist=User:XLinkBot/UserWhitelist|User:COIBot/UserWhiteList.css # level overrule list # rules established there will override the level-detection by XLinkBot for certain regexes # Useful to quickly get quickly revolving spam IPs to AIV - one can apply a '1 strike and you are out' - technique. leveloverrulepage=User:XLinkBot/LevelOverrule|User:MER-C/LevelOverrule.css|User:COIBot/LevelOverrule.css #