changeset 140:6a19d2b98493

fixed bad url on sub page gui editor link imported from: moin--main--1.5--patch-142
author Nir Soffer <nirs@freeshell.org>
date Wed, 26 Oct 2005 22:16:00 +0000
parents 639dc94d4c52
children ce6cece6875f
files MoinMoin/theme/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Wed Oct 26 21:07:19 2005 +0000
+++ b/MoinMoin/theme/__init__.py	Wed Oct 26 22:16:00 2005 +0000
@@ -1083,7 +1083,7 @@
 var gui_editor_link_href = "%(url)s?action=edit&editor=gui";
 var gui_editor_link_text = "%(text)s";
 </script>        
-""" % {'url': wikiutil.quoteWikinameURL(page.page_name),
+""" % {'url': page.url(self.request),
        'text': _('Edit (GUI)', formatted=False),}
 
     def disabledEdit(self):