changeset 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 2efb597c14d1
children 9f02d3c64f48
files MoinMoin/theme/__init__.py
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
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