diff MoinMoin/formatter/__init__.py @ 4146:3b36f0cfc656

(Re)moved normalizePagename from Request into wikiutil library
author Florian Krupicka <florian.krupicka@googlemail.com>
date Sat, 07 Jun 2008 19:55:27 +0200
parents 7f1e4cac0f89
children 1d5995a6a0e2
line wrap: on
line diff
--- a/MoinMoin/formatter/__init__.py	Fri Jun 06 14:26:55 2008 +0200
+++ b/MoinMoin/formatter/__init__.py	Sat Jun 07 19:55:27 2008 +0200
@@ -94,7 +94,7 @@
             return ''
         if not pagename and page:
             pagename = page.page_name
-        pagename = self.request.normalizePagename(pagename)
+        pagename = wikiutil.normalize_pagename(pagename, self.request.cfg)
         if pagename and pagename not in self.pagelinks:
             self.pagelinks.append(pagename)