diff MoinMoin/theme/__init__.py @ 1630:9a8fdd5a03d3

theme code: add comment for refactoring
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 21 Oct 2006 03:13:04 +0200
parents 9a5e2c7531a0
children 2161d292e1af
line wrap: on
line diff
--- a/MoinMoin/theme/__init__.py	Sat Oct 21 02:16:16 2006 +0200
+++ b/MoinMoin/theme/__init__.py	Sat Oct 21 03:13:04 2006 +0200
@@ -293,6 +293,13 @@
         use localization, and the links goes to page or to the url, not
         the localized version of page.
+        TODO: refactor/cleanup!
+              * the ItemCache is seeing 3 requests for a normal navi_bar entry
+              * for user quicklinks stuff, ItemCache is seeing a 1st request for
+                WikiName:PageName, then a 2nd (correct) one for PageName
+              * page object gets recreated at the end, although we already have
+                one for some cases
         @param text: the text used in config or user preferences
         @rtype: tuple
         @return: pagename or url, link to page or url