[MCR] fix RevisionStore::checkDatabaseWikiId for DB names with dashes.