[Mediawiki-api] categorymembers as both generator and list