diff MoinMoin/theme/__init__.py @ 3234:a739558ca3dc

Page.url() default changed to relative=False
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 10 Mar 2008 00:21:21 +0100
parents c25bc6e9ad61
children ecbde828b812
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sun Mar 09 23:10:28 2008 +0100
+++ b/MoinMoin/theme/__init__.py	Mon Mar 10 00:21:21 2008 +0100
@@ -829,7 +829,7 @@
         """
         request = self.request
         url = page.url(request, querystr={
-                'action': 'rss_rc', 'ddiffs': '1', 'unique': '1', }, escape=0, relative=False)
+                'action': 'rss_rc', 'ddiffs': '1', 'unique': '1', }, escape=0)
         return url
 
     def rsslink(self, d):
@@ -1202,7 +1202,7 @@
 var gui_editor_link_text = "%(text)s";
 //-->
 </script>
-""" % {'url': page.url(self.request, querystr={'action': 'edit', 'editor': 'gui', }, relative=False),
+""" % {'url': page.url(self.request, querystr={'action': 'edit', 'editor': 'gui', }),
        'text': _('Edit (GUI)'),
       }
 
@@ -1633,7 +1633,7 @@
             request.user.edit_on_doubleclick):
             if request.user.may.write(pagename): # separating this gains speed
                 querystr = wikiutil.escape(wikiutil.makeQueryString({'action': 'edit'}))
-                url = page.url(request, querystr, relative=False)
+                url = page.url(request, querystr)
                 bodyattr.append(''' ondblclick="location.href='%s'" ''' % url)
 
         # Set body to the user interface language and direction