jenkins-bot has submitted this change and it was merged.
Change subject: Fix LockedPage exception documentation ......................................................................
Fix LockedPage exception documentation
The documentation for LockedPage places it in the PageRelatedError part of the exception tree, when it belongs in the PageSaveRelatedError part of the exception tree.
Change-Id: I6280a9a196a1e8ce6d3d0ba067258c9bc98742bc --- M pywikibot/exceptions.py 1 file changed, 3 insertions(+), 3 deletions(-)
Approvals: Nullzero: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/exceptions.py b/pywikibot/exceptions.py index 51880db..ed620e1 100644 --- a/pywikibot/exceptions.py +++ b/pywikibot/exceptions.py @@ -20,14 +20,14 @@ - IsNotRedirectPage: Page is not a redirect page - CircularRedirect: Page is a circular redirect - SectionError: The section specified by # does not exist - - LockedPage: Page is locked - - LockedNoPage: Title is locked against creation - - CascadeLockedPage: Page is locked due to cascading protection
PageSaveRelatedError: page exceptions within the save operation on a Page. (alias: PageNotSaved) - SpamfilterError: MediaWiki spam filter detected a blacklisted URL - OtherPageSaveError: misc. other save related exception. + - LockedPage: Page is locked + - LockedNoPage: Title is locked against creation + - CascadeLockedPage: Page is locked due to cascading protection - EditConflict: Edit conflict while uploading the page - PageDeletedConflict: Page was deleted since being retrieved - PageCreatedConflict: Page was created by another user