Bugs item #2485186, was opened at 2009-01-04 10:53
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2485186&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: 5
Private: No
Submitted By: Murph (pauljmurph)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch to support includeredirects="only" for Site().allpages
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r6219, Jan 03 2009, 14:34:49)
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)]
Patch to support includeredirects="only" for wikipedia.py:Site:allpages. Tested working against MediaWiki 1.13.3 on wowwiki.com.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-01-27 09:50
Message:
Applied in r6297. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2485186&group_…
Bugs item #2531935, was opened at 2009-01-24 00:29
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2531935&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
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Purodha B Blissenbach (purodha)
Summary: -hintfile: option
Initial Comment:
The newly introduced version -hintfile: is not well-documented or it's not working as expected.
It asks for a page to be checked (see below) while (according to [2284955] interwiki hints from file) it's supposed to read both a local page and a hint page from file. Please fix it. Thanks!
python interwiki.py -hintfile:
Please enter the hint filename: hints.txt
Which page to check:
Pywikipedia [http] trunk/pywikipedia (r6291, Jan 23 2009, 16:08:14)
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-01-27 09:45
Message:
Assigned to committer.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 09:36
Message:
Assigned to committer.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2531935&group_…
Bugs item #2485193, was opened at 2009-01-04 10:58
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2485193&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: other
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Murph (pauljmurph)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py: Patch: Ignore variations in newlines on new/old
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r6219, Jan 03 2009, 14:34:49)
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)]
The standard replace.py has a habit of showing a file as having changed, but with zero changes if a \r\n has been changed to \n by one of the patterns. Solution: treat \r\n as \n in the comparison to determine if any changes have been made.
Patch attached.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-01-27 09:45
Message:
Applied in r6296. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2485193&group_…
Bugs item #2485201, was opened at 2009-01-04 11:05
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2485201&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: Closed
>Resolution: Postponed
Priority: 5
Private: No
Submitted By: Murph (pauljmurph)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wikia: wikia-credits footer silently added to edits
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r6219, Jan 03 2009, 14:34:49)
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)]
Wikia have modified MediaWiki to add a <div id="wikia-credits">...</div> footer to pages. Although this is a Wikia-specific change, pywikipediabot should really ignore it. It would be easy for a new user to inadvertantly add this footer to the page source on a large scale without realising it. Ideally, Wikia would strip the footer again on upload, but they don't do that at present.
Patch attached.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-01-27 09:42
Message:
pywikipediabot still largely trusts on screen scraping to get its
information. All deviations in the parser behaviour from standard may lead
to issues. Pywikipediabot is being rewritten to use the API in almost all
use cases to prevent or at least largely reduce these issues. Set to
'closed/postponed'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2485201&group_…
Bugs item #2498068, was opened at 2009-01-10 18:48
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2498068&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
Resolution: None
Priority: 5
Private: No
Submitted By: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: Page editing requires full admin privileges in Windows Vista
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r6242, Jan 09 2009, 20:23:10)
Python 2.6.1 (r261:67517, Dec 4 2008, 16:51:00) [MSC v.1500 32 bit (Intel)]
Running interwiki.py without the "Run as administrator" option in Windows Vista gives a strange behaviour:
The bot asks for bot account password, tries to login, and apparently it succeeds.
It tries to edit the page and it fails and then tries again.
Then either it succeeds in editing or I get a CAPTCHA request depending on the site it is editing.
In any case, the bot's edit is anonymous, and not using the bot account.
For the next edit, I get a bot request to login again.
Over and over again.
I experimented running it under the Vista administrator privileges (my account is an "admin" but Vista normal admin privileges are more restricted than in previous versions of Windows. You have to explicitely say you want to run in fully unsafe admin mode.
My perception is that this shouldn't affect page editing by the bot in any way, so I'm filing it as a bug, although I'm not sure it's not a Python framework problem.
Thanks.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-01-27 09:40
Message:
Would you be able to narrow this issue down a bit using Process Monitor[1]
and see which files or folders are the issue? That would be a great help.
[1] http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2498068&group_…
Bugs item #2531935, was opened at 2009-01-24 00:29
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2531935&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
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Purodha B Blissenbach (purodha)
Summary: -hintfile: option
Initial Comment:
The newly introduced version -hintfile: is not well-documented or it's not working as expected.
It asks for a page to be checked (see below) while (according to [2284955] interwiki hints from file) it's supposed to read both a local page and a hint page from file. Please fix it. Thanks!
python interwiki.py -hintfile:
Please enter the hint filename: hints.txt
Which page to check:
Pywikipedia [http] trunk/pywikipedia (r6291, Jan 23 2009, 16:08:14)
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-01-27 09:36
Message:
Assigned to committer.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2531935&group_…
Bugs item #1985308, was opened at 2008-06-05 12:39
Message generated for change (Comment added) made by siebrand
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: 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_…
Bugs item #1729792, was opened at 2007-06-02 04:54
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1729792&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
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: siebrand (siebrand)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki: include only interwiki doubles
Initial Comment:
English language Wikipedia and another wiki (IIRC jp.wikipedia) appear to have adopted a system where they transclude a page and add interwikis from the transcluded page using includeonly tags. Interwiki happily places 'missing' interwiki links on the page that has the transcluded page, so interwiki links are displayed twice.
I am not sure if this is a bug or a feature. It may well be that the user moving the interwiki links from the page to the template has not changed the links in the pages on other wikis. In any case, it would be nice if interwiki.py recognised this and would not add double links, whereever the interwiki links that are present come from.
Relevant links/edits:
* http://en.wikipedia.org/wiki/Template:Todo
* http://en.wikipedia.org/wiki/Template:Todo/doc
* http://en.wikipedia.org/w/index.php?title=Template:Todo&diff=135206081&oldi…
The following edit is probably the cause:
* http://en.wikipedia.org/w/index.php?title=Template:Todo&diff=125137653&oldi…
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-01-27 09:26
Message:
This is invalid. Cannot expect to have the interwiki links transcluded and
the bot to pick this up from the source code of the transclude source.
Interwiki is broken.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2007-06-20 16:24
Message:
Logged In: YES
user_id=687283
Originator: NO
With query.php, it is possible to retrieve transcluded langlinks.
Determining where to place the langlinks is not easy for a bot, however.
Checking for double links should be fairly straightforward to implement.
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2007-06-03 02:43
Message:
Logged In: YES
user_id=46450
Originator: NO
There are at least dozens of such pages in the English Wikipedia in the
Category: name space, all colleting people with specific language skills,
all of them to be found under the "Users by language" category.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1729792&group_…