binbot created this task.
binbot added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**Steps to replicate the issue**):
- page = pywikibot.Page(site, 'REDTITLE')
- page.delete()
**What happens?**:
WARNING: API error missingtitle: The page you specified doesn't exist.
Traceback (most recent call last):
...
File "c:\Pywikibot\pywikibot\site\_apisite.py", line 2454, in delete
) from None
pywikibot.exceptions.Error: [[Sablon:Csonk-Nigeri életrajz]] doesn't exist.
CRITICAL: Exiting due to uncaught exception <class
'pywikibot.exceptions.Error'>
**What should have happened instead?**:
A `NoPageError `should have been raised.
This general error should be avoided.
**Software version**: 8.0.0
TASK DETAIL
https://phabricator.wikimedia.org/T332924
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: binbot
Cc: Aklapper, pywikibot-bugs-list, binbot, PotsdamLamb, Jyoo1011, JohnsonLee01,
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Framawiki,
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb,
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]