binbot added a comment.
When a page is deleted by another process (e.g. a human) after getting the
page for the first time, `page.exists()` will not get noticed by any method.
I thing when I use `page.get(force=True)` and it finds a `NoPageError`,
`page.pageid` should be set to 0 to notify
Xqt added a comment.
I am mentally blocked. Could you please expain a bit or make an example for
that issue.
TASK DETAIL
https://phabricator.wikimedia.org/T330980
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, pywikibot-bugs-li
binbot added a comment.
Sorry, but the first problem with deletion still exists. `page.exists() `only
notices the deletion if I recreate the Page object.
TASK DETAIL
https://phabricator.wikimedia.org/T330980
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferen
gerritbot added a comment.
Change 894208 **merged** by jenkins-bot:
[pywikibot/core@master] [bugfix] load page info when creating a page if not
updated previously
https://gerrit.wikimedia.org/r/894208
TASK DETAIL
https://phabricator.wikimedia.org/T330980
EMAIL PREFERENCES
https
gerritbot added a comment.
Change 894208 had a related patch set uploaded (by Xqt; author: Xqt):
[pywikibot/core@master] [bugfix] load page info when creating a page if not
updated previously
https://gerrit.wikimedia.org/r/894208
TASK DETAIL
https://phabricator.wikimedia.org/T3309