Jump to content

Wikipedia:Database reports/Configuration

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MZMcBride (talk | contribs) at 17:40, 28 April 2009 (new page). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

wikitools

Every script except "brokenredirects.py" uses wikitools. "brokenredirects.py" uses pywikipedia.

crontab

# INSTRUCTIONS
# MIN HOUR DAYMONTH MONTH DAYWEEK

# GENERAL INFO
MAILTO=user@example.com
PYTHONPATH="/home/user/scripts:/home/user/scripts/pywikipedia"

# ARTICLES
0 12 9 * * python ~/scripts/database-reports/userlinksinarticles.py
0 12 6 * * python ~/scripts/database-reports/redlinkedimagesinarticles.py
0 2 * * 5 python ~/scripts/database-reports/unsourcedblps.py

# BLOCKS
0 12 8 * * python ~/scripts/database-reports/excessiveips.py
5 12 8 * * python ~/scripts/database-reports/excessiveusers.py
0 0 * * 2 python ~/scripts/database-reports/indefips.py

# CATEGORIES
0 1 * * 0 python ~/scripts/database-reports/redlinkedcatsincats.py
0 12 * * 5 python ~/scripts/database-reports/deletedredlinkedcats.py
0 1 * * 1,4 python ~/scripts/database-reports/emptycats.py
0 2 * * 2,4,6 python ~/scripts/database-reports/pollcats.py
0 6 * * 3 python ~/scripts/database-reports/selfcatcats.py
0 0 * * 1,3,5 python ~/scripts/database-reports/uncatcats.py
0 0 2 * * python ~/scripts/database-reports/usercats.py

# FILES
0 12 * * 6 python ~/scripts/database-reports/mistaggedfiles.py

# PAGES
0 12 * * 3 python ~/scripts/database-reports/atypicaldeletions.py
0 18 * * 6 python ~/scripts/database-reports/longpages.py
0 17 12 * * python ~/scripts/database-reports/orphanedafds.py
0 6 * * 1,5 python ~/scripts/database-reports/orphanedtalks.py
0 12 11 * * python ~/scripts/database-reports/ownerlessuserpages.py
0 12 10 * * python ~/scripts/database-reports/redlinkedfilesintemplates.py

# PROTECTIONS
5 12 7 * * python ~/scripts/database-reports/excessivefullarticles.py
35 0 * * 4 python ~/scripts/database-reports/indeffullarticles.py
45 0 * * 4 python ~/scripts/database-reports/indeffulltalks.py
30 0 * * 4 python ~/scripts/database-reports/indefsemiarticles.py
40 0 * * 4 python ~/scripts/database-reports/indefsemitalks.py
0 12 7 * * python ~/scripts/database-reports/excessivesemiarticles.py

# REDIRECTS
30 23 * * * python ~/scripts/database-reports/brokenredirects.py
30 0 1 * * python ~/scripts/database-reports/crossredirects.py
30 18 * * 6 python ~/scripts/database-reports/longredirects.py

# STATISTICS
15 0 * * * python ~/scripts/database-reports/nscounts.py
0 5 28 * * python ~/scripts/database-reports/mostrevisions.py
0 15 8,22 * * python ~/scripts/database-reports/mosttransclusions.py
20 0 * * * python ~/scripts/database-reports/logactions.py

# STUBS
0 15 * * 5 python ~/scripts/database-reports/longstubs.py
0 7 13 * * python ~/scripts/database-reports/directstubs.py

# MISCELLANEOUS
30 4 * * * python ~/scripts/tswiki/wikiassignments.py
45 4 * * 3 python ~/scripts/misc/editcount.py
0 5 * * 1 python ~/scripts/misc/long-feats.py