1.1 --- a/convert.py Sat Nov 02 20:08:45 2013 +0100
1.2 +++ b/convert.py Sun Nov 03 00:45:49 2013 +0100
1.3 @@ -476,9 +476,13 @@
1.4
1.5 # Add an ACL to comment pages so that people cannot change other
1.6 # people's comments.
1.7 + # NOTE: This should match the PostComment action.
1.8
1.9 if type == "Comment":
1.10 - text = "#acl %s:read,write,delete,revert All:read\n%s" % (username, text or read(filename))
1.11 + text = """\
1.12 +#acl %s:read,write,delete,revert All:read
1.13 +#pragma comment-owner %s
1.14 +%s""" % (username, username, text or read(filename))
1.15
1.16 # Add child page information to the content.
1.17