diff MoinMoin/action/CopyPage.py @ 1922:f486526720c5

renamed wikiutil.clean_comment > clean_input, moved translation map to config
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 01 Apr 2007 00:17:15 +0200
parents 3d38db210672
children 93877b7d87b9
line wrap: on
line diff
--- a/MoinMoin/action/CopyPage.py	Sat Mar 31 23:55:32 2007 +0200
+++ b/MoinMoin/action/CopyPage.py	Sun Apr 01 00:17:15 2007 +0200
@@ -53,7 +53,7 @@
         newpagename = form.get('newpagename', [u''])[0]
         newpagename = self.request.normalizePagename(newpagename)
         comment = form.get('comment', [u''])[0]
-        comment = wikiutil.clean_comment(comment)
+        comment = wikiutil.clean_input(comment)
 
         self.page = PageEditor(self.request, self.pagename)
         success, msg = self.page.copyPage(newpagename, comment)