User:Tony Sidaway/vandalism
vandalism
vandalism is a web page that will plot the history of vandalism on any Wikipedia page on a number of the most popular Wikipedias. Output is in the form of a two-color histogram showing overall edits in red and vandalism reverts in green.
vandalism is written as a CGI script in Guile, a dialect of Scheme adopted by GNU as its preferred scripting language.
The script currently takes the name of any page on the following Wikipedias and looks up all edits on that page, counting those that look like vandalism reverts.
- English · French · German · Spanish · Portuguese · Italian · Swedish · Norwegian · Dutch · Polish · Turkish
For each week or month in the range, depending on the period selected, it plots the number of vandalism reverts, the total number of edits, and also tabulates the proportion of edits which are vandalism reverts. Vandalism is not easy to recognise electronically, but vandalism reverts are fairly easy to recognise, so they are used as a proxy for vandalism.
I prefer to program in Lisp-like languages because they have a very simple syntax and are easy to use. The integration of the SQL query into Scheme in this example is especially pretty and it was a great pleasure to write. Scheme is an especially spare and elegant variant of lisp with affinities to Common Lisp.
Comments
Brilliant -- of course, this is a great tool for watching all edits, not just vandalism. Any chance article size could be tracked on the same graph?
—The preceding unsigned comment was added by 24.63.250.89 (talk) 15:14, 4 February 2006