Fix breaking change in MediaWiki 1.22wmf3