- # if there is an export date but no revision, lets go to wiki an
- # find out what the revision id is
- # if edit.headers.has_key("export-date") and \
- # not edit.headers.has_key("page-revision"):
- # wiki = Wiki(edit.headers['wiki'])
- # revid = wiki.get_revid_for_date(edit.headers["page"], edit.headers["export-date"])
- # else:
- # revid = edit.headers['page-revision']
-
- # print revid
- # # rvdir=newer&rvprop=timestamp|ids
-
- # edit_msg = edit.to_comment()
- # print edit_msg
-