Dump old code to analyse a Wikimedia Commons dump

This piece of code is supposed to take a dump obtained through [[Special:Export]]
and analyse the edits in various ways.

This was created back in 2011 for the Trutat project.
A bit outdated, clearly specific, it needs some refactoring.