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 15:43, 17 July 2009 (updated page). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

wikitools

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

The source code for all of the scripts is available on GitHub (under the name "database-reports").

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,23 * * python ~/scripts/database-reports/userlinksinarticles.py
0 12 6 * * python ~/scripts/database-reports/redlinkedfilesinarticles.py

# BIOGRAPHIES OF LIVING PEOPLE
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 * * 5 python ~/scripts/database-reports/blankpages.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 * * 6 python ~/scripts/database-reports/ownerlessuserpages.py
10 18 * * 5 python ~/scripts/database-reports/shortpages.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
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

# TEMPLATES
0 15 8,22 * * python ~/scripts/database-reports/mosttransclusions.py
0 15 * * 4 python ~/scripts/database-reports/unusedtemplates.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
0 5 * * 2 python ~/scripts/misc/wikiprojvideo.py

# WIKI BOTS
10 0 * * * python ~/scripts/biobot/biobot.py
8 0 * * * python ~/scripts/biobot/newbios.py
0 3 * * 5 python ~/scripts/biobot/possunsourcedbios.py