fix issues with mediawiki versions compatibility