Description
Unsubscribing is not possible using the icon from the iconbar since the link uses the wrong action, subscribe instead of unsubscribe.
Steps to reproduce
- Use the classic theme with iconbar
- Subscribe to a page.
- Try to unsubscribe by clicking on the icon
Component selection
- general
- default configuration (multiconfig)
Details
MoinMoin Version |
moin-1.6.0 |
OS and Version |
Win XP |
Python Version |
2.5.1 |
Server Setup |
Apache/cgi |
Workaround
Correct the value of page_icons_table in multiconfig.py to (line for unsubscribe is changed):
page_icons_table = { # key querystr dict, title, icon-key 'diff': ({'action': 'diff'}, _("Diffs"), "diff"), 'info': ({'action': 'info'}, _("Info"), "info"), 'edit': ({'action': 'edit'}, _("Edit"), "edit"), 'unsubscribe': ({'action': 'unsubscribe'}, _("UnSubscribe"), "unsubscribe"), 'subscribe': ({'action': 'subscribe'}, _("Subscribe"), "subscribe"), 'raw': ({'action': 'raw'}, _("Raw"), "raw"), 'xml': ({'action': 'show', 'mimetype': 'text/xml'}, _("XML"), "xml"), 'print': ({'action': 'print'}, _("Print"), "print"), 'view': ({}, _("View"), "view"), }
Discussion
Plan
- Priority:
Assigned to: ThomasWaldmann
Status: fixed in 1.6 by http://hg.moinmo.in/moin/1.6/rev/fb38fb3966df