Bugs item #1903762, was opened at 2008-02-28 10:38
Message generated for change (Comment added) made by sswierkosz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1903762&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: Open
Resolution: None
Priority: 4
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Bryan (btongminh)
Summary: Commons Delinker local clock dependency
Initial Comment:
I tried to run delinker.py on a machine, which has time set in the future (+30 minutes). It is impossible for CD to work correctly (because it does not read deletion logs). I have created a small workaround. I don't know python at all (I prefer Perl:), so the code may look a little funny.
----------------------------------------------------------------------
Comment By: Szymon Świerkosz (sswierkosz)
Date: 2008-02-28 16:31
Message:
Logged In: YES
user_id=2022153
Originator: NO
This patch eliminates problems with different time set on client or server
side. It also solves limit=500 issue (which is useful when we start
delinker with parameter -since on larger project). I don't really care if
you apply this patch (because I am already using it), but for some people
(non-programmers) it may be quite useful.
----------------------------------------------------------------------
Comment By: Bryan (btongminh)
Date: 2008-02-28 13:02
Message:
Logged In: YES
user_id=1806226
Originator: NO
If the time is set to the future using timezones, it should not be a
problem, since time.gmtime() returns the timestamp in UTC.
I don't think it is a good idea to patch CD because your computer is not
configured correctly.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1903762&group_…
Bugs item #1903762, was opened at 2008-02-28 10:38
Message generated for change (Comment added) made by btongminh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1903762&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: Open
Resolution: None
>Priority: 4
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Bryan (btongminh)
Summary: Commons Delinker local clock dependency
Initial Comment:
I tried to run delinker.py on a machine, which has time set in the future (+30 minutes). It is impossible for CD to work correctly (because it does not read deletion logs). I have created a small workaround. I don't know python at all (I prefer Perl:), so the code may look a little funny.
----------------------------------------------------------------------
>Comment By: Bryan (btongminh)
Date: 2008-02-28 13:02
Message:
Logged In: YES
user_id=1806226
Originator: NO
If the time is set to the future using timezones, it should not be a
problem, since time.gmtime() returns the timestamp in UTC.
I don't think it is a good idea to patch CD because your computer is not
configured correctly.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1903762&group_…
Patches item #1903837, was opened at 2008-02-28 11:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1903837&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: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py - decription enhancement.
Initial Comment:
Attached are some textual modifications to clarify and correct the help shown by interwiki.py. The program itself is not affected, only descriptive texts.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1903837&group_…
Bugs item #1903762, was opened at 2008-02-28 01:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1903762&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Commons Delinker local clock dependency
Initial Comment:
I tried to run delinker.py on a machine, which has time set in the future (+30 minutes). It is impossible for CD to work correctly (because it does not read deletion logs). I have created a small workaround. I don't know python at all (I prefer Perl:), so the code may look a little funny.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1903762&group_…
Bugs item #1751116, was opened at 2007-07-10 05:18
Message generated for change (Comment added) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1751116&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: Wont Fix
Priority: 5
Private: No
Submitted By: Byrial Ole Jensen (byrial)
Assigned to: Nobody/Anonymous (nobody)
Summary: Asked to follow a diambig before using redirect
Initial Comment:
Interwiki.py asked if I wanted to follow a disambiguation page ([[nl:Ras]]) after a redirect to a suitable non-disambiguation page ([[nl:Menselijk ras]]) was found. It should have followed the redirect before asking:
Getting 57 pages from wikipedia:nl...
[...]
NOTE: [[nl:Ras (mensheid)]] is redirect to [[nl:Menselijk ras]]
[[Ras]]: [[nl:Ras (mensheid)]] gives new redirect [[nl:Menselijk ras]]
WARNING: [[sv:Ras]] doesn't seem to be a disambiguation page, but [[nl:Ras]] is one. Follow it anyway? ([y]es, [n]o, [a]dd an alternative)
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2008-02-27 19:20
Message:
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Andre Engels (a_engels)
Date: 2008-02-13 06:44
Message:
Logged In: YES
user_id=843018
Originator: NO
Problem with this is that at the moment [[nl:Ras]] is checked,
[[nl:Menselijk ras]] has not been loaded yet. Thus, the bot does not know
whether it is a disambiguation page or not. In my opinion, changing this
would be more trouble than it's worth.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1751116&group_…
Bugs item #1901650, was opened at 2008-02-25 15:30
Message generated for change (Comment added) made by andreasjs
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1901650&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py
Initial Comment:
When I use replace.py, the bot changes interwiki's too, like here: http://nl.wikipedia.org/w/index.php?title=Evenaar&diff=prev&oldid=11415225 Can anyone do something to this?
----------------------------------------------------------------------
>Comment By: AndreasJS (andreasjs)
Date: 2008-02-27 17:21
Message:
Logged In: YES
user_id=1738850
Originator: NO
This is as intended because it might be that it is the interwikis or the
images that you want to change. It is recommended that you do not run
replace.py in unattended mode, this is a very dangerous bot.
Somebody could add an option not to change anything betwenn [[...]] or
{{{...}}, but this might be a lot of work because the brackets might be
nested. Any takers?
----------------------------------------------------------------------
Comment By: Adnergje (adnergje)
Date: 2008-02-25 15:38
Message:
Logged In: YES
user_id=2019409
Originator: NO
The same question for images, like this:
http://nl.wikipedia.org/w/index.php?title=De_goddelijke_komedie&diff=prev&o…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1901650&group_…
Revision: 5091
Author: btongminh
Date: 2008-02-27 21:08:04 +0000 (Wed, 27 Feb 2008)
Log Message:
-----------
Raise an error is something not so unexpected happens
Modified Paths:
--------------
trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py 2008-02-27 20:33:11 UTC (rev 5090)
+++ trunk/pywikipedia/wikipedia.py 2008-02-27 21:08:04 UTC (rev 5091)
@@ -1364,13 +1364,22 @@
if retry_delay > 30:
retry_delay = 30
continue
+
+
+ # We are expecting a 302 to the action=view page. I'm not sure why this was removed in r5019
if data != u"":
# Something went wrong, and we don't know what. Show the
# HTML code that hopefully includes some error message.
output(u"ERROR: Unexpected response from wiki server.")
output(u" %s (%s) " % (response.status, response.reason))
output(data)
- return response.status, response.reason, data
+ # Unexpected responses should raise an error and not pass,
+ # be it silently or loudly. This should raise an error
+
+ if 'name="wpTextbox1"' in data and 'var wgAction = "submit"' in data:
+ # We are on the preview page, so the page was not saved
+ raise PageNotSaved
+
return response.status, response.reason, data
def canBeEdited(self):