Bugs item #1985308, was opened at 2008-06-05 12:39
Message generated for change (Comment added) made by vargenau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1985308&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Melancholie (melancholie)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bot does not properly stay logged in (cookies)
Initial Comment:
My bot (r5514) does not stay properly logged in!
My first thought was this is because of the API_login, but it happens also for the normal login method. Is this maybe caused by SUL?
Or maybe by the following change?
http://svn.wikimedia.org/viewvc/pywikipedia?view=rev&revision=5514
See fa.wikipedia.org/wiki/بحث_کاربر:MelancholieBot#IP_contribution
----------------------------------------------------------------------
Comment By: Marc-Etienne Vargenau (vargenau)
Date: 2009-01-27 17:40
Message:
Bug still present for me also (Escarbot).
My way to solve it:
1) remove all files in login-data directory
2) python login.py -all -pass
Best regards,
Marc-Etienne
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-01-27 12:48
Message:
yes, the bug is still there. e.g. NobelBot made some edits under anon IP in
some wikis. cf.
http://en.wikipedia.org/w/index.php?title=30_Rock&oldid=266368735 and
http://da.wikipedia.org/w/index.php?title=30_Rock&oldid=2787208
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-01-27 10:03
Message:
I've noticed several times that AWB session (rather than browser sessions),
if logged in with bot's account, may destroy interwiki bot's login data
triggering it to make edits under anonymous IP. Haven't tested if this
behaviour still remains with recent pywikipedia revisions.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 09:33
Message:
Is this behaviour still current?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-08-18 10:11
Message:
Logged In: NO
It's odd, but the bug is intermittent and not all the wikis are affected.
Most affected wikis are: ast, da, de, ja, he, ka, ko, mk, rmy, ro, sr, tr.
Is there any way to definitely fix this bug?
----------------------------------------------------------------------
Comment By: Melancholie (melancholie)
Date: 2008-07-17 14:58
Message:
Logged In: YES
user_id=2089773
Originator: YES
For this, please see the comment of sswierkosz (at the very bottom)!
It's best to delete all login.data first, then run your bot without
logging out from your bot account by using a web browser in parallel.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-07-17 14:05
Message:
Logged In: NO
Thanks for the hint. The bot doesn't asks for password now but it seems
like it still accidentally makes some edits under IP address. And it
overwrites login.data files with every login/edit, so the bug is still
there and needs to be fixed.
----------------------------------------------------------------------
Comment By: Melancholie (melancholie)
Date: 2008-07-16 02:24
Message:
Logged In: YES
user_id=2089773
Originator: YES
The easiest and best workaround is to use a password file!
Add the line
password_file = "yourFileName"
to your user-config.py
Provide yourFileName with the following line(s):
("yourBot", "yourPassword")
Login and re-login is done automatically then.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-07-15 22:21
Message:
Logged In: NO
the bot asks for a password every time it tries to save a page.
"centralauth_Token" and "centralauth_Session" values in xxx-login.data
files change every time, and the bot doesn't stay logged in. any
workaround?
----------------------------------------------------------------------
Comment By: Carsrac (carsrac)
Date: 2008-06-06 10:38
Message:
Logged In: YES
user_id=2066902
Originator: NO
I have also problems. I need constantly enter in my password for several
wiki's and if I do it the bot makes tha edit under my ip adres instead of
username of the bot. The wiki that are effected are fr, ro, be, nds-nl, af,
hif, sah, srn. My ip adress is 213.132.164.186 and my bot user name is
CarsracBot. As you all know may IW bots do not any edits under its ip
adress. So I think this bug will effect very likely a lot of bots running
with pywikipedia script.
----------------------------------------------------------------------
Comment By: Szymon Świerkosz (sswierkosz)
Date: 2008-06-05 13:25
Message:
Logged In: YES
user_id=2022153
Originator: NO
I don't know if this is correct behavior, but it is certainly annoying.
----------------------------------------------------------------------
Comment By: Melancholie (melancholie)
Date: 2008-06-05 13:20
Message:
Logged In: YES
user_id=2089773
Originator: YES
@sswierkosz: Yes, maybe that could be the reason. MediaWiki bug?
----------------------------------------------------------------------
Comment By: Szymon Świerkosz (sswierkosz)
Date: 2008-06-05 13:07
Message:
Logged In: YES
user_id=2022153
Originator: NO
I noticed that if you log out all sessions are destroyed, not only
current. Maybe you logged in and then logged out using your bot account, so
its cookies are not valid anymore.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1985308&group_…
Feature Requests item #2531705, was opened at 2009-01-23 21:57
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2531705&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: interwiki
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: masti (mstmst)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py (wiktionary mode)
Initial Comment:
in pl.wikt we do not link to ru.wikt. a new option is required -nonewlink (or simillar). It should work like -neverlink but having a list of languages it should leave already present iw links and not add new links from selected languages. Examples: having iw.links in article:
[[aa:test]] [[bb:test]] [[cc:test]]
and -nonewlink:bb argument the result should be:
1. bb:test exist
[[aa:test]] [[bb:test]] [[cc:test]]
2. bb:test does not exist:
[[aa:test]] [[cc:test]]
regardless of the iw links from other languages.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-01-27 16:25
Message:
Rejected, as done for 2531527.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-01-24 22:53
Message:
Sorry, why don't you link to ru.wikt?
That sounds absolutely ridiculous to me.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2531705&group_…
Feature Requests item #2531527, was opened at 2009-01-23 20:05
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2531527&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: interwiki
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: masti (mstmst)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py (wiktionary mode)
Initial Comment:
in pl.wikt we do not link to ru.wikt. a new option is required -nonewlink (or simillar). It should work like -neverlink but having a list of languages it should leave already present iw links and not add new links from selected languages. Examples: having iw.links in article:
[[aa:test]] [[bb:test]] [[cc:test]]
and -nonewlink:bb argument the result should be:
1. bb:test exist
[[aa:test]] [[bb:test]] [[cc:test]]
2. bb:test does not exist:
[[aa:test]] [[cc:test]]
regardless of the iw links from other languages.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-01-27 16:24
Message:
Closing this issue as "Rejected". Pywikipediabot is not to be used as a
tool for politics. If you insist in having your bot behave differently from
the standards, I advise you to make a local patch, and not allow bots that
run the normal implementation on your wiki (sounds ridiculous yet?). This
will not be implemented in pywikipediabot.
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2009-01-27 16:05
Message:
Is it allowed by the foundation? Anyway, I would suggest not to encourage
this approach by bot.
----------------------------------------------------------------------
Comment By: masti (mstmst)
Date: 2009-01-27 16:01
Message:
This is a community decision.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-01-24 22:54
Message:
Sorry, why don't you link to ru.wikt?
That sounds absolutely ridiculous to me.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2531527&group_…
Feature Requests item #2531527, was opened at 2009-01-23 21:05
Message generated for change (Comment added) made by rotemliss
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2531527&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: interwiki
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: masti (mstmst)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py (wiktionary mode)
Initial Comment:
in pl.wikt we do not link to ru.wikt. a new option is required -nonewlink (or simillar). It should work like -neverlink but having a list of languages it should leave already present iw links and not add new links from selected languages. Examples: having iw.links in article:
[[aa:test]] [[bb:test]] [[cc:test]]
and -nonewlink:bb argument the result should be:
1. bb:test exist
[[aa:test]] [[bb:test]] [[cc:test]]
2. bb:test does not exist:
[[aa:test]] [[cc:test]]
regardless of the iw links from other languages.
----------------------------------------------------------------------
>Comment By: Rotem Liss (rotemliss)
Date: 2009-01-27 17:05
Message:
Is it allowed by the foundation? Anyway, I would suggest not to encourage
this approach by bot.
----------------------------------------------------------------------
Comment By: masti (mstmst)
Date: 2009-01-27 17:01
Message:
This is a community decision.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-01-24 23:54
Message:
Sorry, why don't you link to ru.wikt?
That sounds absolutely ridiculous to me.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2531527&group_…
Feature Requests item #2531527, was opened at 2009-01-23 20:05
Message generated for change (Comment added) made by mstmst
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2531527&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: interwiki
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: masti (mstmst)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py (wiktionary mode)
Initial Comment:
in pl.wikt we do not link to ru.wikt. a new option is required -nonewlink (or simillar). It should work like -neverlink but having a list of languages it should leave already present iw links and not add new links from selected languages. Examples: having iw.links in article:
[[aa:test]] [[bb:test]] [[cc:test]]
and -nonewlink:bb argument the result should be:
1. bb:test exist
[[aa:test]] [[bb:test]] [[cc:test]]
2. bb:test does not exist:
[[aa:test]] [[cc:test]]
regardless of the iw links from other languages.
----------------------------------------------------------------------
Comment By: masti (mstmst)
Date: 2009-01-27 16:01
Message:
This is a community decision.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-01-24 22:54
Message:
Sorry, why don't you link to ru.wikt?
That sounds absolutely ridiculous to me.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2531527&group_…
Feature Requests item #2540421, was opened at 2009-01-27 14:48
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2540421&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Don't translate #REDIRECT on pl-wiki
Initial Comment:
As requested on my talk page here [http://de.wikipedia.org/wiki/Benutzer_Diskussion:Xqt#test_editionen_auf_pl.…], #REDIRECT-token on pl-wiki should not be translated. I added some code in fix_double_redirects (redirect.py) like this:
if (mysite.language() == 'pl'):
text = mysite.redirectRegex().sub(
'#REDIRECT %s' %
(
targetPage.aslink()),
oldText)
else:
[de:User:Xqt]]
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-01-27 15:00
Message:
Polish has 3 possibilities for #REDIRECT configured: '#REDIRECT', '#TAM',
'#PRZEKIERUJ'. In r6304 I added #REDIRECT as the primary magic word for a
redirect. "Not translating" is nonsense, as all 3 options are valid for
redirect, as the translations exist in MediaWiki core.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2540421&group_…
Feature Requests item #2540421, was opened at 2009-01-27 13:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2540421&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Don't translate #REDIRECT on pl-wiki
Initial Comment:
As requested on my talk page here [http://de.wikipedia.org/wiki/Benutzer_Diskussion:Xqt#test_editionen_auf_pl.…], #REDIRECT-token on pl-wiki should not be translated. I added some code in fix_double_redirects (redirect.py) like this:
if (mysite.language() == 'pl'):
text = mysite.redirectRegex().sub(
'#REDIRECT %s' %
(
targetPage.aslink()),
oldText)
else:
[de:User:Xqt]]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2540421&group_…
Bugs item #2373831, was opened at 2008-12-01 23:22
Message generated for change (Comment added) made by raven24
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2373831&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: raven24 (raven24)
Assigned to: Nobody/Anonymous (nobody)
Summary: pagegenerators.py - error in titleregex
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r6122, Dec 01 2008, 16:15:20)
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2]
in the file pagegenerators.py on line 953 and 956 the numbers have to be adapted to the "new" argument name and thus the length of the string (since it is looking for input behind the arg or requesting it from the user)
----------------------------------------------------------------------
>Comment By: raven24 (raven24)
Date: 2009-01-27 13:44
Message:
ok, if you insist ;-)
sorry it took so long, but when I "svn up"-ed it accidentally wrote over
my changes...
here you go
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 11:34
Message:
Sorry, I'm too lazy to put this into code...
----------------------------------------------------------------------
Comment By: raven24 (raven24)
Date: 2009-01-27 11:24
Message:
sorry, I am to lazy now to make a diff, here is the code:
change this (line 952)
elif arg.startswith('-titleregex'):
if len(arg) == 6:
regex = wikipedia.input(u'What page names are you looking
for?')
else:
regex = arg[7:]
gen = RegexFilterPageGenerator(site.allpages(), regex)
to this
elif arg.startswith('-titleregex'):
if len(arg) == 11:
regex = wikipedia.input(u'What page names are you looking
for?')
else:
regex = arg[12:]
gen = RegexFilterPageGenerator(wikipedia.getSite().allpages(),
regex)
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 10:12
Message:
Please provide a patch, or confirm this issue has been resolved in the
meantime.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2373831&group_…