Fix deprecated of ApiQuery::setGeneratorContinue