add checkWikiPreferencesForMainWiki