Generalised utilities for dealing with MediaWiki