BAC-554: maintenance/wikia/chatBanMigration.php

WikiFactory::getVarValueByName being called in the context of a current wiki
Merge pull request #1121 from Wikia/bac-554-chatban

BAC-554: maintenance/wikia/chatBanMigration.php