WikiStart/tags/Setup
For installation of the old, macro based tagging on 0.8, see tags/Setup/0.8.
Setting up tags in Trac
Note: setuptools must be installed on your system for this to work.
- Install Trac 0.9 or 0.10dev and set up a trac project.
- Copy the appropriate egg, attached below to your project's plugin directory. The "appropriate egg" is based on the version of Python you use. Or build your own from the sources hosted via svn at https://muness.textdriven.com/svn/edu/tags-plugin/trunk .
- Update your trac.ini with the following:
[trac] default_handler = TagsWikiModule [components] trac.wiki.web_ui.wikimodule = disabled tractags.* = enabled
- Run trac-admin <env> upgrade on your Trac environment.
- Restart your web server.
At this stage the plugin should be working and you should see a text control for tags in your Wiki edit page. You should also see a navigation link in the top-right corner labelled Tag Index.
You're good to go. See tags for more on how to use tags.
Customising the Default Behaviour
If you want to customize the default behaviour of the tag index, or any of the macros, edit the [tags] section of your trac.ini:
| Option | Description |
| index=cloud|list | Display the tag index as a cloud or list? |
| index.args=... | Keyword arguments to pass to the index display function (see TagCloud and ListTags for details). |
| listing.args=... | Keyword arguments to pass to the listing for each tag under the /tags/ URL space. |
| <macro>.args=... | Default arguments to pass to each of the tag macros, in addition to those provided in the macro call. |
| expression_space=... | true or false. enables/disables expression support under /tags |
eg.
[tags] index = cloud index.args = smallest=10, biggest=40, mincount=2, showcount=false listing.args = showheadings=true tagcloud.args = mincount=2, showcount=false
If you want to customize which ticket fields to extract tags from, edit the fields variable in [tags.ticket] section in trac.ini. (Fields that can be used: component,severity,keywords,priority,owner,reporter,cc,version,milestone,status,resolution,summary,description; summary and description aren't recommended.). e.g.
[tags.ticket] fields=component,severity,keywords
Known Issues
- #35 smart question (None, reopened, trac)
- #40 smart+question (PHENTERMINE, new, trac)
- #54 qxgbj (assigned, qxgbj, trac)
- #56 smart+question (Dixie, new, trac)
- #62 eaaoieeja97@hotmail.com (adipexadipexonl.blog.ijijiji.com, http, new, trac)
- #66 Wrong (34, amp, new, trac)
- #72 10023186 (link, new, trac, url)
- #73 Case (link, new, trac, url)
- #76 smart question (Chad, new, trac)
- #77 ibaeiveke@hushmail.com (87d4a4, http, new, trac, www.bittyurl.com)
- #78 smart+question (link, new, trac, url)
- #83 bjfuysjup12@mail.com (1cloudysand, alnk.org, http, new, trac)
- #84 smart+question (link, new, trac, url)
- #110 10024027 (MESSAGE, new, trac)
- #115 done (75596822, new, trac)
- #133 mlvnm (mlvnm, new, trac)
- #136 jeua72@gmx.net (460861, forum, http, new, trac, viewtopic.php, www.hecomputing.org)
- #147 oujaaiafe4@gmail.com (9146, http, new, phpbb, trac, viewtopic.php, www.daski.dk)
- #157 smart+question (UNKNOWN, new, trac)
- #162 Unknown (Unknown, new, option, trac)
- #169 10011186 (10028791, new, trac)
- #173 10027158 (10016174, new, trac)
- #183 buy (34, amp, new, trac)
- #187 smart question (new, rgergerger, trac)
- #189 yiufz (new, trac, yiufz)
- #191 euoa54@hushmail.com (149589, astra.com.cy, forum, http, new, trac, viewtopic.php)
- #194 pnunr (new, pnunr, trac)
- #195 aujt56@gmx.net (5rpwo7, http, new, tinyurl.com, trac)
- #204 gksio (MESSAGE, assigned, trac)
- #209 10028408 (10016792, new, trac)
- #213 None (LEVITRA, new, trac)
- #248 USED (car-part-used.trafu.com, http, new, trac)
- #261 obuuawux98@yahoo.com (124561, http, new, phpBB, trac, viewtopic.php, www.hopelessrecords.com)
- #263 None (BestAntivirus, new, trac)
- #270 wqkpf (new, trac, wqkpf)
- #279 smart+question (link, new, trac, url)
Attachments
- TracTags-0.3.1-py2.4.egg (82.1 kB) -
0.3.1
, added by muness on 04/10/06 14:56:34. - TracTags-0.3.1-py2.3.egg (292.1 kB) -
0.3.1
, added by muness on 04/10/06 14:57:06. - TracTags-0.4-py2.4.egg (83.3 kB) -
0.4 release for Python 2.4
, added by muness on 04/19/06 13:15:36. - TracTags-0.4-py2.3.egg (296.3 kB) -
Release 0.4.0 (real this time...)
, added by muness on 04/19/06 15:54:59.
