page name renames in edit-log

This commit is contained in:
Elan Ruusamäe 2012-09-18 02:10:55 +02:00
parent de972b0374
commit 17cb40617e

View file

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