ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Tags for Wiki Pages (Feature #721)

Added by Sven Schwyn at 2011-11-19 05:35 pm. Updated at 2013-06-05 04:07 pm.

Status:Open Start date:2011-11-19
Priority:Normal Due date:
Assignee:- % Done:


Target version:-
Remote issue URL: Affected version:


Once feature #720 is done and acts-as-taggable-on is available, it would be nice to have tags on wiki pages along with automatically generated index pages for each tag.

I can help with the implementation of this feature, but only if it is recognized as something people and the Chili devs actually want.

tag.patch - Patch file the work I did. (8.7 kB) Francis Vo, 2013-06-05 04:07 pm


Updated by Paweł O at 2012-03-12 03:04 pm

+1, I vote for this. There is also plugin for that called redmine_tagging, though I did not try it yet.

Updated by Simon Deziel at 2012-03-15 07:17 pm

+1 here too. Very useful feature.

Updated by Francis Vo at 2013-06-05 04:07 pm

I thought this feature was a great one to work on. I decided to put something together in the patch file. I made a mistake and didn't notice that I should have used the acts-as-taggable-on. I also haven't added tests to test for the things I added. What are kinds of things I should test for? and for later on how should I submit changes?

I was hoping to get advice on the interface:

Edit page

This is the edit page for the wiki. I just added a label and textbox matching the others around it. As you see, the user would type in tags as a list, and the system would parse them into words. Each word would be its own tag. When you come back to this page, the system would grab all the tags and put them back into a string list. Any changes to the list, would create or delete tags from the database.

Index by tag

I modeled the Index_by_tag off of the Index_by_date page. Each wiki page link will should up many time, once for each tag they are in. This could make the page very big. I could make each tag collapsible. Also should have a page for each tag under the route wiki/tag/<tag_name>?


I had a few problems when I made this.

Tag are currently not being tracked in the version for the wiki pages, should I figure out a way to do this using wiki_content or is there a better way to do it?

When I created the Index_by_tags, I had to add permissions to /lib/redmine.rb. Am I allowed to change this page, or should I map.permission somewhere else?

Where should I put the tags on the view page? I was thinking right before the "Also available in: Atom PDF"

How should I handle translations in /config/locales/? Should I just use Google translate?

Still need to add tests and use the acts-as-taggable-on gem.

Thank you for your time,

Also available in: Atom PDF