diff MoinMoin/formatter/__init__.py @ 2728:59b3d8b8971f

remove (un)quoteName, new functions split_interwiki() and resolve_interwiki(), cleanup interwiki mess, fix some link markup
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 13 Aug 2007 03:04:22 +0200
parents f4c371b00fec
children cdda42a9d8a8
line wrap: on
line diff
--- a/MoinMoin/formatter/__init__.py	Mon Aug 13 01:06:37 2007 +0200
+++ b/MoinMoin/formatter/__init__.py	Mon Aug 13 03:04:22 2007 +0200
@@ -99,7 +99,7 @@
             IMPORTANT: on and off must be called with same parameters, see
                        also the text_html formatter.
         """
-        wikitag, wikiurl, wikitail, wikitag_bad = wikiutil.resolve_wiki(self.request, '%s:"%s"' % (interwiki, pagename))
+        wikitag, wikiurl, wikitail, wikitag_bad = wikiutil.resolve_interwiki(self.request, interwiki, pagename)
         if wikitag == 'Self' or wikitag == self.request.cfg.interwikiname:
             if '#' in wikitail:
                 wikitail, kw['anchor'] = wikitail.split('#', 1)