diff MoinMoin/themes/__init__.py @ 2273:a8e67947f130

Updated admin views to support fqnames.
author Ashutosh Singla <ashu1461@gmail.com>
date Sat, 14 Sep 2013 04:24:03 +0530
parents 6dd5af01d54d
children 49bc6f85f918
line wrap: on
line diff
--- a/MoinMoin/themes/__init__.py	Sat Sep 14 02:00:50 2013 +0530
+++ b/MoinMoin/themes/__init__.py	Sat Sep 14 04:24:03 2013 +0530
@@ -23,7 +23,7 @@
 from MoinMoin.i18n import _, L_, N_
 from MoinMoin import wikiutil, user
 from MoinMoin.constants.keys import USERID, ADDRESS, HOSTNAME, REVID, ITEMID, NAME_EXACT
-from MoinMoin.constants.namespaces import NAMESPACE_DEFAULT
+from MoinMoin.constants.namespaces import NAMESPACE_DEFAULT, NAMESPACE_USERPROFILES
 from MoinMoin.search import SearchForm
 from MoinMoin.util.interwiki import split_interwiki, getInterwikiHome, is_local_wiki, is_known_wiki, url_for_item, CompositeName, split_fqname
 from MoinMoin.util.crypto import cache_key
@@ -163,7 +163,7 @@
         else:
             # We cannot check if wiki pages exists in remote wikis
             exists = True
-        wiki_href = url_for_item(itemname, wiki_name=wikiname)
+        wiki_href = url_for_item(itemname, wiki_name=wikiname,namespace=NAMESPACE_USERPROFILES)
         return wiki_href, display_name, title, exists
 
     def split_navilink(self, text):