need page name not filename in edit-log
This commit is contained in:
parent
17cb40617e
commit
f31ee6ac98
1 changed files with 1 additions and 1 deletions
|
@ -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'))
|
||||
|
|
Loading…
Reference in a new issue