Last modified: 2014-06-06 12:51:50 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 T57144, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55144 - Date and time format in archivebot.py
Date and time format in archivebot.py
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
compat-(1.0)
All All
: Normal normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:31 UTC by Kunal Mehta (Legoktm)
Modified: 2014-06-06 12:51 UTC (History)
3 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:31:58 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1614/
Reported by: n-fran
Created on: 2013-04-14 06:34:38
Subject: Date and time format in archivebot.py
Original description:
Skilled owners of bots told me that the problem because of which archivebot.py doesn't work in the Russian Wikipedia, is that the bot doesn't accept a format of date and time of the Russian Wikipedia. 

http://en.wikipedia.org/wiki/Wikipedia:Village\_pump\_%28technical%29\#archivebot.py

I would like that in standard framework the relevant amendments allowing users of the Russian Wikipedia to work with this script were made. Also, please, make amendments to a standard code for the Chinese Wikipedia.

https://github.com/makecat/wikipediabot/commit/659a774d159d0c53e4ee74f2b78e33f0717523bf


Thanks.


Pywikipedia  \(r11307 \(wikipedia.py\), 2013/03/30, 16:42:04, OUTDATED\)
Python 2.6.4 \(r264:75708, Oct 26 2009, 08:23:19\) \[MSC v.1500 32 bit \(Intel\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
Comment 1 xqt 2013-11-09 08:03:55 UTC
Same for sr-wiki:

https://de.wikipedia.org/wiki/Benutzer_Diskussion:Xqt#Help

<snip>
I wish to run that script on sr.wiki, but it doesn't find any thread (There are only 0 Threads. Skipping). Would You add Serbian to list of suported wikis? Our signature format is ''18:01, 6. новембар 2013. (CET)''
</snip>
Comment 2 Mpaa 2013-11-09 10:50:19 UTC
If someone could provide Templates used on the different wikis/languages, that would be useful for testing.
Comment 3 Bojan Kalkan 2013-11-10 09:30:50 UTC
Serbian tem(In reply to comment #2)
> If someone could provide Templates used on the different wikis/languages,
> that
> would be useful for testing.

Serbian template -> https://sr.wikipedia.org/wiki/%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:Archive
Comment 4 Merlijn van Deen (test) 2013-12-24 18:26:54 UTC
Should be fixed with Mpaa's site-based config.
Comment 5 Bojan Kalkan 2014-06-06 12:51:50 UTC
Script is not working in Википедија (Wikipedia). This is message

Error occured while processing page [[sr:Vikipedija:Trg/Novosti]]
Traceback (most recent call last):
  File "C:\svn-compat\archivebot.py", line 746, in main
    Archiver.run()
  File "C:\svn-compat\archivebot.py", line 610, in run
    whys = self.analyzePage()
  File "C:\svn-compat\archivebot.py", line 598, in analyzePage
    if self.feedArchive(archive, t, maxArchSize, vars):
  File "C:\svn-compat\archivebot.py", line 567, in feedArchive
    raise ArchiveSecurityError
ArchiveSecurityError

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


Navigation
Links