[Pywikibot-commits] [Gerrit] APISite: factor out validation of iterations params - change (pywikibot/core)