[Pywikipedia-bugs] [Maniphest] [Updated] T261591: pywikibot's site.editpage() with recreate=False does not allow creation of pages not previously deleted

2020-08-30 Thread JJMC89
JJMC89 removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T261591 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JJMC89 Cc: Aklapper, pywikibot-bugs-list, JJMC89, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido,

[Pywikipedia-bugs] [Maniphest] [Commented On] T261591: pywikibot's site.editpage() with recreate=False does not allow creation of pages not previously deleted

2020-08-30 Thread gerritbot
gerritbot added a comment. Change 623221 **abandoned** by JJMC89: [pywikibot/core@master] [doc] Update site.editpage()'s recreate parameter Reason: pywikibot's implementation does not match the API parameter https://gerrit.wikimedia.org/r/623221 TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T261591: pywikibot's site.editpage() with recreate=False does not allow creation of pages not previously deleted

2020-08-30 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T261591 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Aklapper, pywikibot-bugs-list, JJMC89, JohnsonLee01, SHEKH, Dijkstra, Alter-paule,

[Pywikipedia-bugs] [Maniphest] [Commented On] T261591: pywikibot's site.editpage() with recreate=False does not allow creation of pages not previously deleted

2020-08-30 Thread gerritbot
gerritbot added a comment. Change 623221 had a related patch set uploaded (by JJMC89; owner: JJMC89): [pywikibot/core@master] [doc] Update site.editpage()'s recreate parameter https://gerrit.wikimedia.org/r/623221 TASK DETAIL https://phabricator.wikimedia.org/T261591 EMAIL

[Pywikipedia-bugs] [Maniphest] [Closed] T261591: pywikibot's site.editpage() with recreate=False does not allow creation of pages not previously deleted

2020-08-30 Thread JJMC89
JJMC89 closed this task as "Invalid". JJMC89 added a comment. Aparently the pywikibot parameter doc is wrong. It should be `if True (default), ignore any errors about the page having been deleted in the meantime` instead of `if True (default), create new page even if this title has

[Pywikipedia-bugs] [Maniphest] [Created] T261591: pywikibot's site.editpagewith recreate=False does not allow creation of pages not previously deleted

2020-08-30 Thread JJMC89
JJMC89 created this task. JJMC89 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Steps to Reproduce: >>> import pywikibot >>> site = pywikibot.Site() >>> site APISite("test", "wikipedia") >>> page =

[Pywikipedia-bugs] [Maniphest] [Retitled] T261591: pywikibot's site.editpage() with recreate=False does not allow creation of pages not previously deleted

2020-08-30 Thread JJMC89
JJMC89 renamed this task from "pywikibot's site.editpagewith recreate=False does not allow creation of pages not previously deleted" to "pywikibot's site.editpage() with recreate=False does not allow creation of pages not previously deleted". TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T261050: Frequent "Invalid CSRF token" errors on Wikimedia Commons using Pywikibot since August 2020

2020-08-30 Thread Multichill
Multichill added a comment. I think this happens: - Bot fires up and gets some tokens - Bot does a lot of edits all with the same token - For some reason after a long time the token is not valid anymore - The bot continues to try to edit with the old invalid token instead of