Make the mediawiki event mapping code a bit more clear.