comparison MoinMoin/macro/WantedPages.py @ 869:0152984f76ee

use rel nofollow for action links
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Thu, 22 Jun 2006 22:26:19 +0200
parents 17ab8fe4a94b
children 4eb66637ccd0
comparison
equal deleted inserted replaced
868:01750f3c867c 869:0152984f76ee
73 where = wanted[name].keys() 73 where = wanted[name].keys()
74 where.sort() 74 where.sort()
75 if macro.formatter.page.page_name in where: 75 if macro.formatter.page.page_name in where:
76 where.remove(macro.formatter.page.page_name) 76 where.remove(macro.formatter.page.page_name)
77 querystr='highlight=%s' % wikiutil.url_quote_plus(name) 77 querystr='highlight=%s' % wikiutil.url_quote_plus(name)
78 wherelinks = [pages[pagename].link_to(request, querystr=querystr) 78 wherelinks = [pages[pagename].link_to(request, querystr=querystr, rel='nofollow')
79 for pagename in where] 79 for pagename in where]
80 result.append(": " + ', '.join(wherelinks)) 80 result.append(": " + ', '.join(wherelinks))
81 result.append(macro.formatter.listitem(0)) 81 result.append(macro.formatter.listitem(0))
82 result.append(macro.formatter.number_list(0)) 82 result.append(macro.formatter.number_list(0))
83 83