Last modified: 2013-10-09 06:22:18 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 T57399, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55399 - timestamp retrieved by special:export on bulk is no longer yyyymmddhhmmss
timestamp retrieved by special:export on bulk is no longer yyyymmddhhmmss
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
compat-(1.0)
All All
: Highest critical
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-07 08:09 UTC by xqt
Modified: 2013-10-09 06:22 UTC (History)
1 user (show)

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


Attachments

Description xqt 2013-10-07 08:09:10 UTC
Timestamp has been changed since 27th september and does not return mw timestamp as yyyymmddhhmmss but 'yyyy-mm-ddThh:mm:ssZ' which blocks several scripts.

Getting 12 pages via API from wikipedia:de...

Building wiki table...
Traceback (most recent call last):
  File "C:\pwb\compat\dup.py", line 918, in <module>
    main()
  File "C:\pwb\compat\dup.py", line 912, in main
    bot.run()
  File "C:\pwb\compat\dup.py", line 751, in run
    self.run_check()
  File "C:\pwb\compat\dup.py", line 718, in run_check
    self.build_table(True)
  File "C:\pwb\compat\dup.py", line 637, in build_table
    keys.sort(key=f)
  File "C:\pwb\compat\dup.py", line 613, in f
    r = int(table[k][0][2].editTime())
ValueError: invalid literal for int() with base 10: '2013-10-04T15:37:49Z'

Release version: 1.0b1
Python: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
Comment 1 Gerrit Notification Bot 2013-10-07 21:34:01 UTC
Change 88235 had a related patch set uploaded by Mpaa:
Bug 55399 Timestamp retrieved by special:export on bulk is no longer yyyymmddhhmmss

https://gerrit.wikimedia.org/r/88235
Comment 2 Mpaa 2013-10-07 21:39:03 UTC
Not sure if this might apply to core as well.
Comment 3 Gerrit Notification Bot 2013-10-09 06:20:54 UTC
Change 88235 merged by Xqt:
Bug 55399 Timestamp retrieved by special:export on bulk is no longer yyyymmddhhmmss

https://gerrit.wikimedia.org/r/88235

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


Navigation
Links