Line 105 of protect.py should have self.protections.items() instead of self.protections, or else protection arguments are not passed to api call.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Properly determine the valid protection types | pywikibot/core | master | +28 -30 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Sn1per | T87155 Unit tests for protect.py | |||
Resolved | Sn1per | T63312 protect.py should have different messages for protect/unprotect pages | |||
Resolved | Sn1per | T87124 protect.py only unprotects pages because it cannot properly determine which protection types are valid |
Event Timeline
Comment Actions
Change 185661 had a related patch set uploaded (by Sn1per):
Properly determine the valid protection types