[Pywikipedia-bugs] [Maniphest] [Commented On] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-05 Thread binbot
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-05 Thread Xqt
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-05 Thread binbot
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-05 Thread gerritbot
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T330980: Page.get(force=True) and Page.save() does not refresh page data

2023-03-05 Thread gerritbot
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