diff MoinMoin/action/Despam.py @ 1341:f4558797325a

new page.link_to_raw function, use more page.link_to(_raw) instead of lowlevel wikiutil.link_tag, use more query dicts instead of strs
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 20 Aug 2006 15:51:08 +0200
parents ecece5db5288
children ed44b93599b5
line wrap: on
line diff
--- a/MoinMoin/action/Despam.py	Sun Aug 20 13:51:01 2006 +0200
+++ b/MoinMoin/action/Despam.py	Sun Aug 20 15:51:08 2006 +0200
@@ -45,7 +45,12 @@
                        Column('pages', label=_("Pages"), align='right'),
                        Column('link', label='', align='left')]
     for nr, editor in editors:
-        dataset.addRow((editor, unicode(nr), pg.link_to(request, text=_("Select Author"), querystr="action=Despam&editor=%s" % wikiutil.url_quote_plus(editor))))
+        dataset.addRow((editor, unicode(nr),
+            pg.link_to(request, text=_("Select Author"),
+                querystr={
+                    'action': 'Despam',
+                    'editor': editor, # was: url_quote_plus()
+                })))
 
     table = DataBrowserWidget(request)
     table.setData(dataset)