diff MoinMoin/formatter/text_html.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 a3056075eaaa
children a907a61c33b3
line wrap: on
line diff
--- a/MoinMoin/formatter/text_html.py	Mon Aug 13 01:06:37 2007 +0200
+++ b/MoinMoin/formatter/text_html.py	Mon Aug 13 03:04:22 2007 +0200
@@ -481,8 +481,7 @@
         """
         @keyword title: override using the interwiki wikiname as title
         """
-        quoted = '%s:%s' % (interwiki, wikiutil.quoteName(pagename))
-        wikitag, wikiurl, wikitail, wikitag_bad = wikiutil.resolve_wiki(self.request, quoted)
+        wikitag, wikiurl, wikitail, wikitag_bad = wikiutil.resolve_interwiki(self.request, interwiki, pagename)
         wikiurl = wikiutil.mapURL(self.request, wikiurl)
         if wikitag == 'Self': # for own wiki, do simple links
             if '#' in wikitail: