jenkins-bot submitted this change.
[IMPR] handle missingtitle error code when deleting
Change-Id: Ie041daf507d2e3600133622d4726176a31cd9b50
---
M pywikibot/site/_apisite.py
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pywikibot/site/_apisite.py b/pywikibot/site/_apisite.py
index 33ada84..17ac882 100644
--- a/pywikibot/site/_apisite.py
+++ b/pywikibot/site/_apisite.py
@@ -2048,7 +2048,8 @@
'Could not delete [[{title}]]. Maybe it was deleted already.',
'cantundelete': 'Could not undelete [[{title}]]. '
'Revision may not exist or was already undeleted.',
- 'nodeleteablefile': 'No such old version of file'
+ 'nodeleteablefile': 'No such old version of file',
+ 'missingtitle': "[[{title}]] doesn't exist.",
} # other errors shouldn't occur because of pre-submission checks
@need_right('delete')
To view, visit change 709239. To unsubscribe, or for help writing mail filters, visit settings.