need page name not filename in edit-log

This commit is contained in:
Elan Ruusamäe 2012-09-18 02:20:53 +02:00
parent 17cb40617e
commit f31ee6ac98

View file

@ -169,7 +169,7 @@ def convert_editlog(pagedir, overwrite = False):
except KeyError:
action = log.action
entry = [str(log.ed_time_usecs / USEC), log.addr, action, dw.wikiFN(log.pagename), author]
entry = [str(log.ed_time_usecs / USEC), log.addr, action, dw.cleanID(log.pagename), author]
changes.append("\t".join(entry))
out_file = os.path.join(output_dir, 'meta', dw.metaFN(pagename, '.changes'))