Xqt created this task.
Xqt added a project: Pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

It is possible to create a page with namespace -1 but you cannot do anything with it. Even worse you get an insufficient AssertionError like this:

AssertionError: Page Astamiwa:Perubahan terbaru has neither 'pageid' nor 'missing' attribute

We should raise an new Error class derived from PageRelatedError inside api.py in that case (and handle this Error inside the scripts). We also could raise this Error when creating such a page or we need a new Page class representing special pages (but I've no glue what is should do.)


TASK DETAIL
https://phabricator.wikimedia.org/T169213

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to