diff MoinMoin/items/__init__.py @ 315:fed6024028b4

link converter: remove url_root param, not needed any more
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 05 Aug 2011 13:25:12 +0200
parents 07143bd03aed
children 4ee796d759bf
line wrap: on
line diff
--- a/MoinMoin/items/__init__.py	Fri Aug 05 13:20:57 2011 +0200
+++ b/MoinMoin/items/__init__.py	Fri Aug 05 13:25:12 2011 +0200
@@ -264,8 +264,7 @@
         from MoinMoin.converter import default_registry as reg
         include_conv = reg.get(type_moin_document, type_moin_document, includes='expandall')
         macro_conv = reg.get(type_moin_document, type_moin_document, macros='expandall')
-        link_conv = reg.get(type_moin_document, type_moin_document, links='extern',
-                url_root=Iri(request.url_root))
+        link_conv = reg.get(type_moin_document, type_moin_document, links='extern')
         flaskg.clock.start('conv_include')
         doc = include_conv(doc)
         flaskg.clock.stop('conv_include')
@@ -1204,8 +1203,7 @@
         from MoinMoin.converter import default_registry as reg
 
         input_conv = reg.get(Type(self.contenttype), type_moin_document)
-        item_conv = reg.get(type_moin_document, type_moin_document,
-                items='refs', url_root=Iri(request.url_root))
+        item_conv = reg.get(type_moin_document, type_moin_document, items='refs')
 
         i = Iri(scheme='wiki', authority='', path='/' + self.name)