(Apologies if this has been referred to already on this list. If so, I missed it).
A couple of Weeks ago, Brian Keegan published a very nice blog post  on the use of
Python for Wikimedia research. He uses examples from the English Wikipedia but the
techniques he describes are applicable more generally.
It’s fascinating, and shows what a lot can be done with a few lines of code.