[Pywikibot-commits] [Gerrit] Properly determine the valid protection types - change (pywikibot/core)