in checkMediaWikiVersion() used wfUseMW instead of using version_compare() directly

Change-Id: Ib99e6a6b9844fad4ec1d42cf2be781a20d8b5008