Page MenuHomePhabricator

Date and time format in archivebot.py
Closed, ResolvedPublic

Description

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


Version: compat-(1.0)
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1614

Details

Reference
bz55144

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:22 AM
bzimport set Reference to bz55144.
bzimport added a subscriber: Unknown Object (????).

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>

If someone could provide Templates used on the different wikis/languages, that would be useful for testing.

bokicak wrote:

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

Should be fixed with Mpaa's site-based config.

bokicak wrote:

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