I often run replace.py and cosmetic_changes.py, and they log me in automatically.
Today I tried running movepage.py, and it didn't. Running login.py first resolved.
Isn't movepages.py supposed to log me in automatically, too?
I often run replace.py and cosmetic_changes.py, and they log me in automatically.
Today I tried running movepage.py, and it didn't. Running login.py first resolved.
Isn't movepages.py supposed to log me in automatically, too?
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| [bugfix] No longer lazy load cookies | pywikibot/core | stable | +46 -25 | |
| [bugfix] No longer lazy load cookies | pywikibot/core | master | +44 -23 |
Using login.py is the usual way to login. There are only a few scripts which have implemented an automatic login (clean_sandbox, cosmetic_changes, delete, editarticle, imageuncat, newitem, replace, touch, solve_disambiguation).
Where to go?
Login is made automatically already if necessays:
D:\pwb\GIT\core>pwb touch -page:user:xqt/Test Retrieving 1 pages from wikipedia:de. WARNING: No user is logged in on site wikipedia:de WARNING: No user is logged in on site wikipedia:de Password for user <redacted> on wikipedia:de (no characters will be shown):
I disabled pywikibot.Site().login() in line 112 for this test.
Change 906547 had a related patch set uploaded (by Xqt; author: Xqt):
[pywikibot/core@master] [bugfix] No longer lazy load cookies
Change 906547 merged by Xqt:
[pywikibot/core@master] [bugfix] No longer lazy load cookies
Change 908207 had a related patch set uploaded (by Xqt; author: Xqt):
[pywikibot/core@stable] [bugfix] No longer lazy load cookies
Change 908207 merged by Xqt:
[pywikibot/core@stable] [bugfix] No longer lazy load cookies
@Xqt: Removing task assignee as this open task has been assigned for more than two years - See the email sent on 2025-05-22.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome!
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!