##master-revision
It would be nice to make globaledit.py recognize the new special comment ##master-revision which has started to be used in master19:
1 --- MoinMoin/script/maint/globaledit.py 2010-01-15 15:59:51 -0200
2 +++ MoinMoin/script/maint/globaledit.py 2010-01-15 16:03:50 -0200
3 @@ -58,6 +58,8 @@
4 elif l.startswith('##master-page:'):
5 masterpage = l.split(':', 1)[1].strip()
6 master_lines.append(l)
7 + elif l.startswith('##master-revision:'):
8 + master_lines.append(l)
9 elif l.startswith('##master-date:'):
10 master_lines.append(l)
11 elif l.startswith('##'):
12 @@ -79,7 +81,7 @@
13 masterpage not in ['FrontPage', 'WikiSandBox', ] and not (pagename.endswith('Template') or masterpage.endswith('Template'))):
14 acl_lines = ['#acl -All:write Default']
15 if not master_lines:
16 - master_lines = ['##master-page:Unknown-Page', '##master-date:Unknown-Date', ]
17 + master_lines = ['##master-page:Unknown-Page', '##master-revision:Unknown-Revision']
18
19 cold = [u"## Please edit system and help pages ONLY in the moinmaster wiki! For more",
20 u"## information, please see MoinMaster:MoinPagesEditorGroup.",
Partially added in http://hg.moinmo.in/moin/1.9/rev/bac3d5e9ffb9.