Fix wfCheckLimits was deprecated in MediaWiki 1.24

Solves #353