Last modified: 2014-10-18 07:52:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64388, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62388 - Bot should not edit when it is not logged in:
Bot should not edit when it is not logged in:
Status: RESOLVED DUPLICATE of bug 55068
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
compat-(1.0)
All All
: High normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-07 16:04 UTC by xqt
Modified: 2014-10-18 07:52 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description xqt 2014-03-07 16:04:25 UTC
see https://de.wikipedia.org/wiki/Spezial:Beitr%C3%A4ge/79.213.29.131

Sorry, I didn't find that edit in the log but I try to remeber it: Bot was running for several days in an infinite loop. I shortly logged me in as bot on de-wiki to change some settings. Most of my bot task stopped and asked for the password to continue on both branches (core and compat) except of one. It asked for a new token and continued, but it was logged out.
Comment 1 Sorawee Porncharoenwase 2014-03-07 17:19:16 UTC
I also found the issue that several scripts running at the same time request wrong tokens. For example, one of my scripts patrolled abuselog and needed to be logged in as sysop all the time. The other script was run and made an edit, and the result showed up in recentchanges.
Comment 2 Amir Ladsgroup 2014-07-24 20:22:16 UTC
An option in user-config.py would be good. something that makes the code crashed if the user is not logged in. (we can implement that in http.py but a better place would be really good)

I set the priority high because editing while logged out can reveal IP and that's not good in case you run it from your PC.
Comment 3 John Mark Vandenberg 2014-10-18 07:27:45 UTC
I think this was done in
http://git.wikimedia.org/commit/pywikibot%2Fcore.git/0009fb8957a64aeeb9810c7682ef03a39a5aa592

And this request looks like a dup of bug 55068.  Re-open if the problem persists.

(In reply to Sorawee Porncharoenwase from comment #1)
> I also found the issue that several scripts running at the same time request
> wrong tokens. For example, one of my scripts patrolled abuselog and needed
> to be logged in as sysop all the time. The other script was run and made an
> edit, and the result showed up in recentchanges.

Was the edit in recentchangess logged in, or logged out?

*** This bug has been marked as a duplicate of bug 55068 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links