Factor out removing diffs
Merge branch 'master' of https://github.com/mrcaps/wikimedia-analysis