diff MoinMoin/themes/__init__.py @ 2230:f2bd327932fb

Fixes #6. Quicklinks now use abbreviated fqnames.
author Ashutosh Singla <ashu1461@gmail.com>
date Mon, 29 Jul 2013 11:39:35 +0530
parents 09a9bffa1581
children a1407ecf4082
line wrap: on
line diff
--- a/MoinMoin/themes/__init__.py	Mon Jul 29 11:35:07 2013 +0530
+++ b/MoinMoin/themes/__init__.py	Mon Jul 29 11:39:35 2013 +0530
@@ -211,7 +211,7 @@
             wiki_name = ''
         href = url_for_item(item_name, namespace=namespace, wiki_name=wiki_name, field=field)
         if not title:
-            title = item_name
+            title = shorten_fqname(CompositeName(namespace, field, item_name))
         return href, title, wiki_name
 
     @timed()