Attachment 'text_docbook.patch'

Download

   1 --- /home/matthias/Desktop/moin-docbook-untouched/MoinMoin/formatter/text_docbook.py	2007-09-29 23:37:27.000000000 +0200
   2 +++ /opt/moin-docbook/MoinMoin/formatter/text_docbook.py	2007-09-29 22:42:51.000000000 +0200
   3 @@ -318,7 +318,12 @@
   4  
   5          wikitag, wikiurl, wikitail, wikitag_bad = wikiutil.resolve_wiki(self.request, '%s:"%s"' % (interwiki, pagename))
   6          wikiurl = wikiutil.mapURL(self.request, wikiurl)
   7 -        href = wikiutil.join_wiki(wikiurl, wikitail)
   8 +
   9 +        # '/' = Self
  10 +        if wikiurl == '/':
  11 +            href = wikitail
  12 +        else:
  13 +            href = wikiutil.join_wiki(wikiurl, wikitail)
  14  
  15          return self.url(on, href)
  16  

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2007-09-29 21:52:21, 0.6 KB) [[attachment:text_docbook.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.