= ##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: {{{#!highlight diff --- MoinMoin/script/maint/globaledit.py 2010-01-15 15:59:51 -0200 +++ MoinMoin/script/maint/globaledit.py 2010-01-15 16:03:50 -0200 @@ -58,6 +58,8 @@ elif l.startswith('##master-page:'): masterpage = l.split(':', 1)[1].strip() master_lines.append(l) + elif l.startswith('##master-revision:'): + master_lines.append(l) elif l.startswith('##master-date:'): master_lines.append(l) elif l.startswith('##'): @@ -79,7 +81,7 @@ masterpage not in ['FrontPage', 'WikiSandBox', ] and not (pagename.endswith('Template') or masterpage.endswith('Template'))): acl_lines = ['#acl -All:write Default'] if not master_lines: - master_lines = ['##master-page:Unknown-Page', '##master-date:Unknown-Date', ] + master_lines = ['##master-page:Unknown-Page', '##master-revision:Unknown-Revision'] cold = [u"## Please edit system and help pages ONLY in the moinmaster wiki! For more", u"## information, please see MoinMaster:MoinPagesEditorGroup.", }}} Partially added in [[http://hg.moinmo.in/moin/1.9/rev/bac3d5e9ffb9]]. /* Requested by RenatoSilva */ /* Patched by RenatoSilva */ ---- CategoryFeatureImplemented