Jump to content

User:COIBot/Settings: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
+ Conde Edmond Dantès to Poke
Line 204: Line 204:
# (Groups and users are separated by a | )
# (Groups and users are separated by a | )
grantedgroups=sysop|bureaucrat|founder|steward|checkuser|rollbacker|template editor
grantedgroups=sysop|bureaucrat|founder|steward|checkuser|rollbacker|template editor
grantedusers=MER-C|Trijnstel|PiRSquared17|Igna|Jafeluv|Wiki13|Wutsje|Drmies|Beetstra|Mathonius|MarcoAurelio|Wbm1058|Herbythyme|Billinghurst|Syum90|Elaenia|Cyphoidbomb|PaleoNeonate|GermanJoe|Praxidicae|Kuru|JonKolbert|Berean Hunter|Sumurai8|Creffett|Nardog|Scope creep|Slywriter|Graywalls|1292simon|علاء|Conde Edmond Dantès
grantedusers=MER-C|Trijnstel|PiRSquared17|Igna|Jafeluv|Wiki13|Wutsje|Drmies|Beetstra|Mathonius|MarcoAurelio|Wbm1058|Herbythyme|Billinghurst|Syum90|Elaenia|Cyphoidbomb|PaleoNeonate|GermanJoe|Praxidicae|Kuru|JonKolbert|Berean Hunter|Sumurai8|Creffett|Nardog|KH-1|Scope creep|Slywriter|Graywalls|1292simon|علاء|Conde Edmond Dantès


# commandpages:
# commandpages:

Revision as of 13:00, 8 February 2021

#

 
# Settings for COIBot
#
# Notes:
# Settings are loaded just before every edit.
#
# Syntax is as follows: 
#   * EVERY line starting with a "#" character is disregardedb
#   * Every non-blank line is in the format "Setting=value"

# Setting metaediting to 0 will stop editing of the bot.
metaediting=1

# Settings editing_on to 0 will stop editing on this wiki.
editing_on=1

# rc settings, server, port and the channels COIBot is on
rcserver=irc.wikimedia.org
rcport=6667
rcchannels=#en.wikipedia #meta.wikimedia #commons.wikimedia #de.wikipedia #fr.wikipedia #pl.wikipedia #ja.wikipedia #it.wikipedia #nl.wikipedia #pt.wikipedia #es.wikipedia #sv.wikipedia #aa.wikipedia #ab.wikipedia #af.wikipedia #ak.wikipedia #als.wikipedia #am.wikipedia #an.wikipedia #ang.wikipedia #ar.wikipedia #arc.wikipedia #as.wikipedia #ast.wikipedia #av.wikipedia #ay.wikipedia #az.wikipedia #ba.wikipedia #bar.wikipedia #bat-smg.wikipedia #bcl.wikipedia #be-x-old.wikipedia #be.wikipedia #bg.wikipedia #bh.wikipedia #bi.wikipedia #bm.wikipedia #bn.wikipedia #bo.wikipedia #bpy.wikipedia #br.wikipedia #bs.wikipedia #bug.wikipedia #bxr.wikipedia #ca.wikipedia #cbk-zam.wikipedia #cdo.wikipedia #ce.wikipedia #ceb.wikipedia #ch.wikipedia #cho.wikipedia #chr.wikipedia #chy.wikipedia #co.wikipedia #cr.wikipedia #crh.wikipedia #cs.wikipedia #csb.wikipedia #cu.wikipedia #cv.wikipedia #cy.wikipedia #da.wikipedia #diq.wikipedia #dsb.wikipedia #dv.wikipedia #dz.wikipedia #ee.wikipedia #el.wikipedia #eml.wikipedia #eo.wikipedia #et.wikipedia #eu.wikipedia #ext.wikipedia #fa.wikipedia #ff.wikipedia #fi.wikipedia #fiu-vro.wikipedia #fj.wikipedia #fo.wikipedia #frp.wikipedia #fur.wikipedia #fy.wikipedia #ga.wikipedia #gan.wikipedia #gd.wikipedia #gl.wikipedia #glk.wikipedia #gn.wikipedia #got.wikipedia #gu.wikipedia #gv.wikipedia #ha.wikipedia #hak.wikipedia #haw.wikipedia #he.wikipedia #hi.wikipedia #hif.wikipedia #ho.wikipedia #hr.wikipedia #hsb.wikipedia #ht.wikipedia #hu.wikipedia #hy.wikipedia #hz.wikipedia #ia.wikipedia #id.wikipedia #ie.wikipedia #ig.wikipedia #ii.wikipedia #ik.wikipedia #ilo.wikipedia #io.wikipedia #is.wikipedia #iu.wikipedia #jbo.wikipedia #jv.wikipedia #ka.wikipedia #kaa.wikipedia #kab.wikipedia #kg.wikipedia #ki.wikipedia #kj.wikipedia #kk.wikipedia #kl.wikipedia #km.wikipedia #kn.wikipedia #ko.wikipedia #kr.wikipedia #ks.wikipedia #ksh.wikipedia #ku.wikipedia #kv.wikipedia #kw.wikipedia #ky.wikipedia #la.wikipedia #lad.wikipedia #lb.wikipedia #lbe.wikipedia #lg.wikipedia #li.wikipedia #lij.wikipedia #lmo.wikipedia #ln.wikipedia #lo.wikipedia #lt.wikipedia #lv.wikipedia #map-bms.wikipedia #mdf.wikipedia #mg.wikipedia #mh.wikipedia #mi.wikipedia #mk.wikipedia #ml.wikipedia #mn.wikipedia #mo.wikipedia #mr.wikipedia #ms.wikipedia #mt.wikipedia #mus.wikipedia #my.wikipedia #myv.wikipedia #mzn.wikipedia #na.wikipedia #nah.wikipedia #nap.wikipedia #nds-nl.wikipedia #nds.wikipedia #ne.wikipedia #new.wikipedia #ng.wikipedia #nn.wikipedia #no.wikipedia #nomcom.wikipedia #nov.wikipedia #nrm.wikipedia #nv.wikipedia #ny.wikipedia #oc.wikipedia #om.wikipedia #or.wikipedia #os.wikipedia #pa.wikipedia #pag.wikipedia #pam.wikipedia #pap.wikipedia #pdc.wikipedia #pi.wikipedia #pih.wikipedia #pms.wikipedia #ps.wikipedia #qu.wikipedia #rm.wikipedia #rmy.wikipedia #rn.wikipedia #ro.wikipedia #roa-rup.wikipedia #roa-tara.wikipedia #ru.wikipedia #rw.wikipedia #sa.wikipedia #sah.wikipedia #sc.wikipedia #scn.wikipedia #sco.wikipedia #sd.wikipedia #se.wikipedia #sg.wikipedia #sh.wikipedia #si.wikipedia #simple.wikipedia #sk.wikipedia #sl.wikipedia #sm.wikipedia #sn.wikipedia #so.wikipedia #sq.wikipedia #sr.wikipedia #srn.wikipedia #ss.wikipedia #st.wikipedia #stq.wikipedia #su.wikipedia #sw.wikipedia #szl.wikipedia #ta.wikipedia #te.wikipedia #tet.wikipedia #tg.wikipedia #th.wikipedia #ti.wikipedia #tk.wikipedia #tl.wikipedia #tn.wikipedia #to.wikipedia #tokipona.wikipedia #tpi.wikipedia #tr.wikipedia #ts.wikipedia #tt.wikipedia #tum.wikipedia #tw.wikipedia #ty.wikipedia #udm.wikipedia #ug.wikipedia #uk.wikipedia #ur.wikipedia #uz.wikipedia #ve.wikipedia #vec.wikipedia #vi.wikipedia #vls.wikipedia #vo.wikipedia #wa.wikipedia #war.wikipedia #wo.wikipedia #wuu.wikipedia #xal.wikipedia #xh.wikipedia #yi.wikipedia #yo.wikipedia #za.wikipedia #zea.wikipedia #zh-classical.wikipedia #zh-min-nan.wikipedia #zh-yue.wikipedia #zh.wikipedia #zu.wikipedia #mediawiki.wikipedia #species.wikimedia #strategy.wikimedia
ignoredchannels=#meta.wikimedia|#commons.wikimedia

# from list of wikis, those which are not 'normal' wikis, but still need to be looked at.
special=commons.wikimedia meta.wikimedia species.wikimedia wikimania.wikimedia

# freenode settings
freenodeserver=irc.freenode.net
freenodeserverport=8001

# users in this group are automatically whitelisted
trustedgroups=sysop|bot|bureaucrat|rollbacker|founder|steward|checkuser|editor|reviewer|staff

authenticatedusers=Wikimedia/Beetstra|wikimedia/Versageek|wikipedia/MER-C|wikisource/billinghurst|Wikipedia/Shanmugamp7|wikimedia/ToBeFree

# When COIBot does not hear within this time from the LinkSaver, it will kill and respawn the linksaver:
linksavernocontacttime=3600

# some predefined report channels
ReportChannel1=#wikipedia-spam-t
ReportChannel2=#wikipedia-en-spam
ReportChannel3=#cvn-sw-spam
ReportChannel4=#cvn-sw-spam
ReportChannel5=#wikimedia-external-links

#These wikis have own channels, i.e. selected data for these wikis goes to the channels defined below
# link.<wikidomain> -> link additions with 'coi' are reported to this channel for the wikidomain
# page.<wikidomain> -> page edits with 'coi' are sent to this channel for the wikidomain
# if no own-channel is defined, they go to 'ReportChannel3'.
ownchannel=en.wikipedia.org|es.wikipedia.org|de.wikipedia.org|wikidata.wikipedia.org

link.en.wikipedia.org=#wikipedia-en-spam
alert.en.wikipedia.org=#wikipedia-spam-t
page.en.wikipedia.org=#wikipedia-en-spam

link.es.wikipedia.org=#cvn-wp-es
page.es.wikipedia.org=#cvn-wp-es

link.de.wikipedia.org=#cvn-wp-de
page.de.wikipedia.org=#cvn-wp-de

link.wikidata.wikipedia.org=#wikidata-spam
page.wikidata.wikipedia.org=#wikidata-spam

# lwreadchannels are the channels where the bots are reporting link additions, and where COIBot looks for them
# linkwatchers are the nicks of the linkwatcher bots.
lwreadchannels=#wikipedia-en-spam|#cvn-sw-spam|#wikipedia-de-spam|#wikidata-spam
linkwatchers=LiWa3_1|LiWa3_2|LiWa3_3|LiWa3_4|LiWa3_5|LiWa3_6|LiWa3_7|LiWa3_8|LiWa3_9

# Other channels where coibot is on, coibot does not standard report here (that needs to be defined
#  in the link.<wiki> and page.<wiki> rules above), but answers when asked for something
OtherChannels=#cvn-sw|#BeetstraBotChannel|#cvn-wp-es

SWMTChannel=#cvn-sw
SWMTBot=CVNBot9

# regex for 'redir's which are actually broken links and can not be resolved.
brokenredir=guide\.opendns\.com

# for command 'report swmt <domain> <userlist>', this is the duration the user will be on the blacklist, 
# 0 = forever, blank is 4 days..
SWMTblduration=0

# Some commands are cloak protected in COIBot, when this is 0, for the less abusive commands, cloaks are not checked.
# If there is on-IRC abuse, set this to one, and only trusted cloaks can use the commands.
protectcommands=0

# These are cloaks of trusted users who can always use all commands of COIBot:
trustedusers=Wikimedia/Beetstra|wikimedia/Versageek|wikipedia/MER-C|wikimedia/Igna|wikipedia/pdpc.professional.kaare|wikimedia/Martin-Urbanec|wikisource/billinghurst|wikipedia/Trijnstel|wikipedia/Shanmugamp7|wikimedia/Glaisher|wikimedia/marcoaurelio|wikimedia/-revi|wikimedia/Zabshk|countervandalism/Syum90|wikipedia/TheresNoTime|wikimedia/JonKolbert|wikipedia/Praxidicae|wikimedia/L235|wikipedia/ZI-Jony|wikipedia/GeneralNotability|wikimedia/ToBeFree

minlength=3

# The standard test string for the commander to test regexes on.  Contains some exotic stuff.
standardteststring=Blah http://www.pgfp.com/url blah email@pgfp.com blah email@pgfp.htm blah email@phfp.co.uk blah http://www.pgfp.com/url@pgfp.com blah http://www.pgfp.com/url@pgfp.htm blah http://www.pgfp.com/i.php?email=url@pgfp.com blah 1977-78, 1990-91 blah 123-45-678 [[blah]] ISBN 321-54-876 876-54-3210 987-65-43210 01234-456789 3.14159265358979323846 1-11-21-1211-111221


# links that match a monitoring rule, they are reported to the LinkSaver when monitoring=1 (for all links)
monitoring=1
# monitoring_auto is for auto-caught links
monitoring_auto=0

nosign_time=300

# ReportSaver settings
reportsaversleepwhenempty=60
reportsaversleepwhensaved=30
reportsaverinterval=60
debugreportsaver=0
reportsaverrestart=50
reportsavernorestart=0
reportsaver_syslog=2

# Parser settings
debugparser=0
debugparserpage=0
debugparserlink=0
parserrestart=50000
parsernorestart=0
MaxToReport=50
lookbacktime=3600
automonitor=25
deterioration=0.9
overlaplimit=25
reportmax=25
standardreportinterval=1000
save=1
maxlwtosave=250
maxlwtocount=1000
maxlwtosave2=250
maxlwtosave3=1000
standardmaxlwtosave=250
minimumtosave=5
standardinterval1=1200
standardinterval2=1200
standardinterval3=1200
statlimit=5000
revidslimit=100
revidsperline=9
researchlimit=250
parser_syslog=2

# Commander settings
debugcommander=0
debugcommanderserver=0
commandersleeptime=2
commander_syslog=2

# Case settings
debugcase=0
debugcaseserver=0
casesleeptime=2

# Special settings
debugspecial=0
debugspecialserver=0
special_syslog=2
usebackparse=0
commanderusebackparse=1

# are we saving reports.
savereports=1

# count limit for XWiki reports, don't set this too high, takes to much time to save it all.
XWikicountlimit=250

# count limit for Local reports, don't set this too high, takes to much time to save it all.
Localcountlimit=250

# Maximum of other links shown in reports.
showmaxxwikilinks=10

# Maximum of other links shown in reports.
showmaxlocallinks=10

# pokepages, autopokepages, linksummarypages and regexpages are watched by COIBot for specific additions
# The seperate pages are separated by a |
# If the format of the page is <regex catching pagename>@<wikidomain> then the page is only watched on that specific wiki
# if the format does not end in @<wikidomain> then it is watched on ALL wikis that are watched (see list above in rcchannels)

# pokepages: domains in {{tl|LinkSummary}} templates reported here will result in a report being saved
# (for these pages, the user has to be in one of the administrative groups, or specifically granted access, see below).
pokepages=^User:COIBot\/Poke$@en.wikipedia.org|^User:COIBot\/Poke$@meta.wikimedia.org

# followpages: domains in {{tl|LinkSummary}} templates reported here will result in a report being saved.
## This one is obsolete after the next bot restart.
followpages=^User\stalk:XLinkBot\/RevertList$@en.wikipedia.org|^MediaWiki\stalk:Spam-blacklist$|^Talk:Spam\sblacklist$@meta.wikimedia.org|^Wikipedia\stalk:WikiProject\sSpam$@en.wikipedia.org

# autopokepages: domains in {{tl|LinkSummary}} templates reported here will result in a report being saved.
autopokepages=^User\stalk:XLinkBot\/RevertList$@en.wikipedia.org|^MediaWiki\stalk:Spam-blacklist$|^Talk:Spam\sblacklist$@meta.wikimedia.org|^Wikipedia\stalk:WikiProject\sSpam$@en.wikipedia.org

# linksummarypages: domain in {{tl|LinkSummary}} templates reported here will result in COIBot monitoring the domain
linksummarypages=^User\stalk:XLinkBot\/RevertList$@en.wikipedia.org|^MediaWiki\stalk:Spam-blacklist$|^Talk:Spam\sblacklist$@meta.wikimedia.org|^Wikipedia\stalk:WikiProject\sSpam$@en.wikipedia.org|^Wikipedia\stalk:WikiProject\sSpam\/Internet\sBrands$@en.wikipedia.org|^User:COIBot\/XWiki\/.*@meta.wikimedia.org|^User:COIBot\/Local\/.*@meta.wikimedia.org|^User:SpamReportBot\/cw\/.*@meta.wikimedia.org

# regexpages: regex lines reported here will result in COIBot monitoring the domain (code about to change)
regexpages=^MediaWiki:Spam-blacklist$|^User:Beetstra\/Spam-blacklist$@en.wikipedia.org|^User:XLinkBot\/RevertList$@en.wikipedia.org|^Spam\sblacklist$@meta.wikimedia.org

# ignored users can edit the above four without COIBot picking up the domain, separate users with |
ignoredusers=COIBot

# Granted users and groups
# editors in the granted groups will get a linkreport from COIBot,
#  when they add the linksummary template with domain to [[User:COIBot/Poke]] (available on en.wikipedia and meta.wikimedia)
#  for local users who are not in those groups, but need access, if their username is in 'grantedusers',
#  COIBot will also accept their input.
#  (Groups and users are separated by a | )
grantedgroups=sysop|bureaucrat|founder|steward|checkuser|rollbacker|template editor	
grantedusers=MER-C|Trijnstel|PiRSquared17|Igna|Jafeluv|Wiki13|Wutsje|Drmies|Beetstra|Mathonius|MarcoAurelio|Wbm1058|Herbythyme|Billinghurst|Syum90|Elaenia|Cyphoidbomb|PaleoNeonate|GermanJoe|Praxidicae|Kuru|JonKolbert|Berean Hunter|Sumurai8|Creffett|Nardog|KH-1|Scope creep|Slywriter|Graywalls|1292simon|علاء|Conde Edmond Dantès

# commandpages: 
# (for these pages, the user has to be given specifically granted access, see below).
commandpages=^User:COIBot\/Command$@en.wikipedia.org|^User:COIBot\/Command$@meta.wikimedia.org
outcommand_meta.wikimedia.org=#wikimedia-external-links
outcommand_en.wikipedia.org=#wikipedia-spam-t

# users who can command on-wiki
grantedcommanders=Beetstra|Billinghurst

# attributes of the xwiki table in [[User:COIBot/XWiki]]
xwikitableattribs=wikitable sortable

user0open1=<span class="coibot-xwikilevel01">
user0open1hidden=<!--
user1open1=<span class="coibot-xwikilevel11">
user2open1=<span class="coibot-xwikilevel21">
user0close1=</span>
user0close1hidden=-->
user1close1=</span>
user2close1=</span>

user0open2=<span class="coibot-xwikilevel02">
user1open2=<span class="coibot-xwikilevel12">
user2open2=<span class="coibot-xwikilevel22">
user0close2=</span>
user1close2=</span>
user2close2=</span>

whitelistedstyleopen=<s>
whitelistedstyleclose=</s>

# Does COIBot autoclose and autostale reports, 0 = no, 1 = yes.
autoclose=1

# Some specific settings for autoclose and autostale are defined in the next 7 setting groups.
reason1=Less than 10 additions onto less than 3 wikis, no additions in last 3 days
closetype1=Stale
reason1closingtime=259200
reason1count1=10
reason1count2=0
reason1count3=0
reason1count4=3

reason2=Less than 5 additions, no additions in last 3 days
closetype2=Stale
reason2closingtime=259200
reason2count1=5
reason2count2=0
reason2count3=2

reason3=Single wiki problem
closetype3=Closed
reason3closingtime=3600
reason3count1=0
reason3count2=1

reason4=E-mail address report, not a blacklist issue
emailregex=(?<![^\s:])[^\s\]\[\{\}\\\|^\/`<>@:]+@\w+(?!\.htm)(?:\.\w+){1,3}
reason4closingtime=3600
closetype4=Closed

reason5=Less than 20 additions, less than 4 wikis, no additions in last 3 days, most wikis only 1 edit
closetype5=Stale
reason5closingtime=259200
reason5count1=20
reason5count2=4

reason6=Less than 10 additions, less than 5 wikis, no additions 3 hours, none of the pages where the link was added have a link to the domain anymore
closetype6=Stale
reason6closingtime=10800
reason6count1=10
reason6count2=5

reason7=Telephone number report, not a blacklist issue
telephoneregex=(?<![\w\d-])(?<!isbn[\s])\d{3,5}[\s-]\d{2,3}[\s-]\d{4}(?![\d\w-])
reason7closingtime=3600
closetype7=Closed

reason8=Very old XWiki report
closetype8=Stale
# set to 1 week (1 * 7 * 24 * 60 * 60 seconds)
reason8closingtime=604800

reason9=Very old local report
closetype9=Stale
# set to 4 weeks (4 * 7 * 24 * 60 * 60 seconds) - might be set to a shorter time later, we have to see.
reason9closingtime=2419200

# Local wikis can choose to autostale their reports in a shorter time
reason10=Very old local report (specific wiki)
closetype10=Stale
autoclose10-en.wikipedia.org=604800
autoclose10-ru.wikipedia.org=1209600

reason11=Very old local report
closetype11=Stale
# set to 4 weeks (4 * 7 * 24 * 60 * 60 seconds) - might be set to a shorter time later, we have to see.
reason11closingtime=2419200

# Local wikis can choose to autostale their reports in a shorter time
reason12=Very old local report (specific wiki)
closetype12=Stale
autoclose12-en.wikipedia.org=604800
autoclose12-ru.wikipedia.org=1209600
autoclose12-es.wikipedia.org=1209600

# Reparsing of local reports - every 3 days.
LocalReParse=259200
betweenregenerationsleep=60
regeneratelocalreports=1

# the regexes to define the data that is caught by the linkwatchers.
numregexes=3
regex1=(?:https?|ftp|irc|gopher|telnet|nntp|worldwind):\/\/[^\s\]\[\{\}\\\|^`<>]+
regex2=(?<![^\s:])[^\s\]\[\{\}\\\|^\/`<>@:]+@\w+(?!\.htm)(?:\.\w+){1,3}
regex3=(?<![\w\d-])(?<!isbn[\s])\d{3,5}[\s-]\d{2,3}[\s-]\d{4}(?![\d\w-])

# Some debug settings
debug=0
debug2=0
debug3=0

# Commanded category creation
Cats=6
Cat1=Category:COIBot Local Reports for $wiki
Cat1Contents=COIBot Local reports from [[User:COIBot]] on $wiki<br /><br />[[Category:COIBot Local Reports|$wiki]]
Cat2=Category:Open Local reports for $wiki
Cat2Contents=Open Local reports from [[User:COIBot]] on $wiki<br /><br />[[Category:Open Local reports|$wiki]]<br />[[Category:COIBot Local Reports for $wiki|*]]
Cat3=Category:Closed Local reports for $wiki
Cat3Contents=Closed Local reports from [[User:COIBot]] on $wiki<br /><br />[[Category:Closed Local reports|$wiki]]<br />[[Category:COIBot Local Reports for $wiki|*]]
Cat4=Category:Ignored Local reports for $wiki
Cat4Contents=Ignored Local reports from [[User:COIBot]] on $wiki<br /><br />[[Category:Ignored Local reports|$wiki]]<br />[[Category:COIBot Local Reports for $wiki|*]]
Cat5=Category:Stale Local reports for $wiki
Cat5Contents=Stale Local reports from [[User:COIBot]] on $wiki<br /><br />[[Category:Stale Local reports|$wiki]]<br />[[Category:COIBot Local Reports for $wiki|*]]
Cat6=Category:Local to XWiki reports for $wiki
Cat6Contents=Local reports that were moved from $wiki to XWiki, from [[User:COIBot]]<br /><br />[[Category:Local to XWiki reports|$wiki]]<br />[[Category:COIBot Local Reports for $wiki|*]]

# Get open reports for regeneration here
i18n.openlocalreportcat=Category:Open_Local_reports

# local black, white and revertlists
localblacklist=MediaWiki:Spam-blacklist
localwhitelist=MediaWiki:Spam-whitelist
en.wikipedia.org_localrevertlist=User:XLinkBot/RevertList|User:XLinkBot/RevertReferencesList|User:COIBot/RevertList.css|User:MER-C/RevertList.css

# LinkSaver settings
linksaversleepwhenempty=30
linksaversleepwhensaved=20
debuglinksaver=0
linksaverrestart=5000
linksaverreloadsettings=2
linksavermaxarray=9
debugcounting=0
debugxwikisaver=0
updatexwikilinebase=1800
updatexwikiline=1800
linksavernorestart=0
linksaver_syslog=1
updatexwikipage=1800
truncatelinkreport=50000
savedatafiles=1
forgetparsetime=3600
linksaverreloadlists=3600
linkwatcherrecountlinktime=1800

# New settings for LinkSaver.
## wikis where reports are saved.
linksaverwikis=meta.wikimedia.org|en.wikipedia.org
## max number of records to handle in link/local/xwikireports
countlimit=1000
## max number of unique pages to parse to see if the external link is still there.
parselimit=100
## full stats for the other links that are added in the diff if there are less than this added in that diff.
maxotherlinkstocount=10

# General language settings for linksaver reports
i18n.linksaver.wiki=meta.wikimedia.org
# The base of the reports.  On meta 'User:COIBot', set locally if you have a different local path
i18n.linksaver.basepath=User:COIBot
# Path for userreports
i18n.linksaver.userpath=UserReports
# path for the linkreports
i18n.linksaver.linkpath=LinkReports
# path for the local reports
i18n.linksaver.localpath=Local
# path for the xwiki reports
i18n.linksaver.xwikipath=XWiki
# -> For the specific reports, the total path will be 'basepath/.###path/domain'

# Template where the status of a XWiki report is defined (in discussion section); 1 parameter: status (open, closed, stale, ignored)
i18n.linksaver.xwikistatustemplate=LinkStatus

# Template where the status of a Local report is defined (in discussion section); 2 parameters: wiki where links where added; status (open, closed, stale, ignored)
i18n.linksaver.localstatustemplate=LinkStatusLocal

# Header for linkreports
i18n.linksaver.localandxwikitoptag=<!--Please put any comments at the bottom of the report, AFTER the tag at the bottom-->
i18n.linksaver.toptag=<!--Please do not comment or change this page, it is bot generated and will be completely regenerated by the bot. If you want to comment, please do so on the talkpage.-->
i18n.linksaver.header={{User:COIBot/Summary/LinkReports}}
# Header for XWiki and Local reports
i18n.linksaver.localandxwikiheader={{User:COIBot/Summary/SpecificReports}}
i18n.linksaver.tagsandcatagories=<!-- tags and categories -->{{NOINDEX}}
i18n.linksaver.xwikitagsandcatagories=<!-- tags and categories -->{{NOINDEX}}[[Category:COIBot XWiki Reports|$link]]
i18n.linksaver.localtagsandcatagories=<!-- tags and categories -->{{NOINDEX}}[[Category:COIBot Local Reports|$link]]

# The headers and texts for the different sections.  Take care, there is an '= ' between var and header!
i18n.linksaver.linksectionheader=== Links ==

i18n.linksaver.usersectionheader=== Users ==

i18n.linksaver.siteinfosectionheader=== Site info ==

i18n.linksaver.additionssectionheader=== Additions ==

i18n.linksaver.selectedadditionssectionheader=== Selected additions ==
i18n.linksaver.additionslist_top={{User:COIBot/Additionlist_top}}
i18n.linksaver.additionslist_bottom={{User:COIBot/Additionlist_bottom}}

i18n.linksaver.entrysectionheader=== Entry ==
i18n.linksaver.entrysectiontext=[[Spam blacklist/Log|Log]] entry for the [[Spam blacklist]]:
# Template for blacklist/revertlist entry
i18n.linksaver.entrytext=$regex$whitespace# <span id="adminname">ADMINNAME</span> # {{tlx|sbl-diff|#}}; see [[[[$pagename]]]]
# freespace puts the first '#' in the right place
i18n.linksaver.freespace=30

i18n.linksaver.discussionsectionheader=== Discussion ==
i18n.linksaver.discussionseparator=Please put comments after this remark
i18n.linksaver.comment=See [[$basepath/$path/$link|COIBot report]] for more details.
i18n.linksaver.discussionseparationtext=Please put comments after this remark
i18n.linksaver.newcomment=New data reported.
i18n.linksaver.autoopen_reason=Re-opened.


# This template will contain the domains that are reported
i18n.linksaver.linksummarytemplate=LinkSummary
# This template will contain IP users which are reported
i18n.linksaver.IPusertemplate=IPSummary
# This template will contain registered users which are reported
i18n.linksaver.usertemplate=UserSummary
# Template for reporting the edits that added the links
i18n.linksaver.additiontemplate=User:COIBot/EditSummary
# Template for the links added in an edit, is contained within the additiontemplate
i18n.linksaver.otherlinkstemplate=User:COIBot/OtherLinks

#Lines and edit summaries for the LinkReport page
i18n.linksaver.localline_local=* $time - [[$base/$path/$link|$link]] - Local link additions on [[:Category:Open Local COIBot Reports|$onwiki]] by $users
i18n.linksaver.localsummary_local=Report created in [[$base/$path/$link|$link]] - Local link additions on [[:Category:Open Local COIBot Reports|$onwiki]] by $users
i18n.linksaver.localline_nonlocal=* $time - [[$globalbase/$globalpath/$link|$link]] - Local link additions  on [[:m:Category:Open Local reports for $onwiki|$onwiki]] by $users
i18n.linksaver.localsummary_nonlocal=Report created in [[$globalbase/$globalpath/$link|$link]] - Local link additions on [[:m:Category:Open Local reports for $onwiki|$onwiki]] by $users

i18n.linksaver.autoclose_noleft_summary=- Autoclosed: none left
i18n.linksaver.autoclose_veryold_summary=- Autostale: very old
i18n.linksaver.autoclose_notthiswiki_summary=- Autostale: local wiki report
i18n.linksaver.autoopen_summary=- Autoopen: new additions

# Category for local reports
i18n.linksaver.catbase=[[Category:Open Local reports for $onwiki|$onwiki]]

# If a Local report exists both here and on a local wiki (e.g. here and on en.wikipedia), then COIBot will close the report on meta, leaving it open on en.wikipedia (it has no need here, it should be handled locally anyway).
i18n.linksaver.autostalelocalisedreports=1
i18n.linksaver.autostalereason_local_notonthiswiki=Autostale: local report reported to local wiki, should be handled locally.

# COIBot will close reports, where the last addition of a link was more than this many seconds ago.
# Note: This can be set higher on local wikis, COIBot will then close the report here, but keep it open locally.  The reports that are still open locally will still be updated here as well.
i18n.linksaver.autostale_local_veryold=259200
i18n.linksaver.autostalereason_local_veryold=Autostale: very old local report (>3 days).

# COIBot will close reports, where the last addition of a link was more than this many seconds ago.
i18n.linksaver.autostale_xwiki_veryold=1209600
i18n.linksaver.autostalereason_xwiki_veryold=Autostale: very old xwiki report (>2 weeks).

# If an open Local report is superseded by a new XWiki report, the Local report will be closed with this
i18n.linksaver.autoclose_localtoxwiki_reason=Autoclose - now XWiki, see [[$basepath/$localpath/$link]]

# if there are less than this number of additions, COIBot will parse them all.  Otherwise only the ones mentioned in either an XWiki or Local report will be parsed.
i18n.linksaver.dostilltherelimit=10
i18n.linksaver.autostalereason_nolinksleft=No links left in here mentioned edits.  Marked stale.

# if there are too many records, the report is closed.
i18n.linksaver.autostalereason_too_many_records=Too many records to analyse.
i18n.linksaver.autostale_too_many_records_summary=Autostale: too many records

# redirectsite
i18n.linksaver.redirectsite=This site appears to be a redirect site
i18n.linksaver.redirectcategory=[[Category:COIBot LinkReports for redirect sites]]

# local black and revertlisted, or globally blacklisted
i18n.linksaver.autoclosereason_locally_blacklisted=Link is locally blacklisted by $regex
i18n.linksaver.autoclose_locally_blacklisted_summary=Autoclose: locally blacklisted ($regex)
i18n.linksaver.locally_revertlisted=Link is locally revertlisted by $regex
i18n.linksaver.locally_revertlisted_summary=locally revertlisted ($regex)
i18n.linksaver.autoclosereason_globally_blacklisted=Link is [[:m:Spam blacklist|globally blacklisted]] by $regex
i18n.linksaver.autoclose_globally_blacklisted_summary=Autoclose: [[:m:Spam blacklist|globally blacklisted]] ($regex)

#template for displaying which databases COIBot used to generate reports.
i18n.linksaver.databasesused=User:COIBot/linksaverdatabases

##########################
# i18n for CASES         #
##########################

# which wikis can have the cases saved
i18n.case.wikis=meta.wikimedia.org

# local paths to place to save cases
i18n.case.basepath=user:COIBot
i18n.case.path=Cases

# This template will contain the domains that are reported
i18n.case.linksummarytemplate=LinkSummary
# This template will contain IP users which are reported
i18n.case.IPusertemplate=IPSummary
# This template will contain registered users which are reported
i18n.case.usertemplate=UserSummary
# This template will contain the case title
i18n.case.casetemplate=User:COIBot/CaseSummary
# This template will contain the ips of domains that are reported
i18n.case.linksummarylivetemplate=LinkSummaryLive

# header level (e.g. for 'subst' into [[Talk:Spam blacklist]]).
i18n.case.baseheaderlevel=2

# some titles
i18n.case.linktitle=;Links
i18n.case.usertitle=;Users
i18n.case.pagetitle=;Pages
i18n.case.siteiptitle=;Site IPs
i18n.case.googleanalytictitle=;google analytics number
i18n.case.usercomment=;comment

# standard settings
i18n.case.comment=Case report by COIBot.

# general lines
i18n.case.signature=Case autogenerated by COIBot.  --<includeonly>~~</includeonly><noinclude>~~</noinclude>~~

# general settings
i18n.case.standardtitle=Case $number

# DO NOT COPY THE ONES BELOW TO OTHER WIKIS (well, if you do and change them, you will never be able to find the related reports on meta)
globalcatbase=[[:m:Category:Open Local reports for $onwiki|$onwiki]]
globalbasepath=:m:User:COIBot
globallinkpath=LinkReports
globallocalpath=Local
globalxwikipath=XWiki
buffermax=19

# working on settings for other types of redirect sites.  Implemented in LiWa3 (see [[User:LiWa3/Settings]])
redirectsites=tk|trcx|nettc|cocc|conr|attf
tk_rule=\.tk\b
tk_contentrule=\<frame\ssrc=\"((?:https?|ftp|irc|gopher|telnet|nntp|worldwind):\/\/.*?)\"
tk_ignorerule=\bdomain\.dot\.tk\b

trcx_rule=\.tr\.cx\b
trcx_contentrule=\<frame name=\"redirectframe\" src=\"((?:https?|ftp|irc|gopher|telnet|nntp|worldwind):\/\/.*?)\"

nettc_rule=\.net\.tc\b
nettc_contentrule=\<iframe src=\"((?:https?|ftp|irc|gopher|telnet|nntp|worldwind):\/\/.*?)\"

cocc_rule=\.co\.cc\b
cocc_contentrule=\<frame src=((?:https?|ftp|irc|gopher|telnet|nntp|worldwind):\/\/.*?)\s

conr_rule=\.co\.nr\b
conr_contentrule=\<frame name=\"conr_main_frame\" src=\"((?:https?|ftp|irc|gopher|telnet|nntp|worldwind):\/\/.*?)\"\>

attf_rule=\.at\.tf\b
attf_contentrule=\bdocument\.location\s+=\s+\"(http.*?)\";

# Listen to irc warnings
ircwarnings=0

# TOTALLY ignored editors
totallyignoredusers=Addbot|Legobot

# limit for new databasedump
# IRC-command: 'datadump <domain> [<substring1> [<substring..> [<substring..> ...]]]
# this will do a select on domain (only domain, no subdomains) and then within the domain do a search on the different substrings (if any) in the fullurl added.
# dump will be saved in a section on the talkpage of the report on meta only ([[:m:User talk:COIBot/LinkReports/<domain>]]).
# a select on a youtube (~4 million records in database) with one substring will take up to an hour to process.
dbdumplimit=5000000

#