https://bugzilla.wikimedia.org/show_bug.cgi?id=55324
Web browser: --- Bug ID: 55324 Summary: Commons Delinker local clock dependency Product: Pywikibot Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/647/ Reported by: Anonymous user Created on: 2008-02-28 09:38:07 Subject: Commons Delinker local clock dependency Assigned to: btongminh Original description: 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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55324
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- patch to commonsdelinker/delinker.py
https://bugzilla.wikimedia.org/show_bug.cgi?id=55324
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- 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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55324
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- - **priority**: 5 --> 4 - **assigned_to**: nobody --> btongminh
https://bugzilla.wikimedia.org/show_bug.cgi?id=55324
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- 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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55324
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/bugs/647
https://bugzilla.wikimedia.org/show_bug.cgi?id=55324
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW CC| |info@gno.de
pywikipedia-bugs@lists.wikimedia.org