diff MoinMoin/theme/__init__.py @ 1850:3d38db210672

action CopyPage added
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 03 Mar 2007 10:47:29 +0100
parents b978764e1234
children 9117dcbfd624
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sat Mar 03 00:17:41 2007 +0100
+++ b/MoinMoin/theme/__init__.py	Sat Mar 03 10:47:29 2007 +0100
@@ -314,7 +314,7 @@
         request = self.request
         fmt = request.formatter
         title = None
-        
+
         # Handle [pagename title] or [url title] formats
         if text.startswith('[') and text.endswith(']'):
             text = text[1:-1].strip()
@@ -363,7 +363,7 @@
             page = wikiutil.getLocalizedPage(request, pagename)
         else:
             page = Page(request, pagename)
-            
+
         if not title:
             title = page.split_title()
             title = self.shortenPagename(title)
@@ -900,6 +900,7 @@
             'LocalSiteMap',
             '__separator__',
             'RenamePage',
+            'CopyPage',
             'DeletePage',
             '__separator__',
             'MyPages',
@@ -921,6 +922,7 @@
             'refresh': _('Delete Cache', formatted=False),
             'SpellCheck': _('Check Spelling', formatted=False), # rename action!
             'RenamePage': _('Rename Page', formatted=False),
+            'CopyPage': _('Copy Page', formatted=False),
             'DeletePage': _('Delete Page', formatted=False),
             'LikePages': _('Like Pages', formatted=False),
             'LocalSiteMap': _('Local Site Map', formatted=False),