Changes between Version 73 and Version 74 of TagsPlugin
- Timestamp:
- Mar 30, 2014, 7:48:24 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TagsPlugin
v73 v74 4 4 #!NewsFlash 5 5 = News = 6 2014-03- 09:: current trunk is `tags-0.7rc` now after fixing annoying tag wiki link issues (#9630)6 2014-03-30:: current trunk is `tags-0.7rc` now after addressing wiki link issues (#9630) and wiki macro issues (#10636) 7 7 2013-11-01:: Add tag change records, by default ''for wiki pages only'' (#2429) 8 8 2013-05-20:: performance issues addressed in several ways (#4503) … … 10 10 2011-07-06:: Version 0.6 is a complete rewrite for Trac 0.11. This page documents that version. Refer to ["TagsPlugin/0.5"] for information on older versions of the plugin. Also works on Trac 0.12. 11 11 = !ToDo = 12 * release `tags-0.7` 12 * release `tags-0.7` - scheduled for 07-May-2014 13 13 }}} 14 14 … … 114 114 `[[TagCloud]]` 115 115 116 Display a cloud of all tags. Note that for v0.7 you needed a work-around like `[[TagCloud(-Dummy)]]`, assuming you did not use the ''Dummy'' tag. 117 116 Display a cloud of all tags. Optional keyword arguments: 117 caseless_sort:: Whether the tag cloud should be sorted case-sensitive. 118 mincount:: Optional integer threshold to hide tags with smaller count. 119 120 Optional query expressions including realm selection are supported as shown for `ListTagged`. Between v0.6 and v0.7 something like `[[TagCloud(-Dummy)]]` was strictly required as work-around, assuming you did not use the ''Dummy'' tag. 118 121 119 122 == Install == 120 123 121 124 Generic installation guidelines are troubleshooting can be found at TracPlugins. 122 123 Steps to install and configure this plugin are: 124 125 Note before upgrading:: older !TagsPlugin configuration '''must be removed'''. In particular `trac.wiki.web_ui.wikimodule = disabled` and `default_handler = TagsWikiModule`. 126 127 Steps to install and configure this plugin: 125 128 1. '''Install''' 126 * Dependencies: 127 1. None: 128 * Plugin: 129 * Dependencies: none 130 * Plugin: tags-0.6 is still stable, but obsoleted, and tags-0.7rc is even required for Trac >= 1.0 (see #9521) 129 131 1. Manually: 132 {{{#!comment 130 133 1. Download tags: [download:tagsplugin/tags/0.6 tags-0.6.zip] or grab 131 134 [/svn/tagsplugin/tags/0.6 the source] from SVN. 135 }}} 136 1. Download tags: [download:tagsplugin/trunk/ tags-trunk.zip] or grab 137 [/svn/tagsplugin/trunk the source] from SVN. 132 138 2. [trac:wiki:TracPlugins Build and install an egg] from this source. 133 139 1. with easy_install: … … 137 143 }}} 138 144 1. '''Configure''' 139 * '''Note''':: older !TagsPlugin configuration '''must be removed'''. In particular `trac.wiki.web_ui.wikimodule = disabled` and `default_handler = TagsWikiModule`. 140 * Tags 0.6 has vastly simplified the configuration to the point where there are only two options, both of which are under the `[tags]` section: 141 1. `ignore_closed_tickets = <bool>` 142 * Whether to gather tags from closed tickets. 143 1. `ticket_fields = <field>[, <field> ...]` 144 * Ticket fields from which to gather tags. Defaults to `keywords`. Custom fields are currently not supported. 145 * For v0.7, after install see the TracIni page for the available configuration options. 146 * Example: 145 * Tags v0.6 vastly simplified the configuration to the point where there are only two options under the `[tags]` section: 146 1. `ignore_closed_tickets = <bool>` 147 * Whether to gather tags from closed tickets. 148 1. `ticket_fields = <field>[, <field> ...]` 149 * Ticket fields from which to gather tags. Defaults to `keywords`. Custom fields are currently not supported. 150 * Example: 147 151 {{{ 148 152 #!ini … … 151 155 ticket_fields = component, keywords, milestone 152 156 }}} 153 157 * For v0.7, after install see the TracIni page for the available configuration options. 158 * Especially you may want to alter the following list of realms, you enable tag change records (default: ''wiki-only'' as shown here): 159 {{{ 160 #!ini 161 [tags] 162 revisable_realms = wiki 163 }}} 154 164 1. '''Enable''' 155 165 * Update your TracIni file (`..../trac.ini`) with: … … 169 179 $ sudo /etc/init.d/apache2 restart 170 180 }}} 171 1. '''Grant''' `TAGS_VIEW` and `TAGS_MODIFY` permissions to your users according to the policies that you'd like to implement. Permissions are assigned sinc v0.7 for a new install to anonymous and authenticated users respectively, and you'll only need to adjust that to your needs.172 1. '''Test''' 181 1. '''Grant''' `TAGS_VIEW` and `TAGS_MODIFY` permissions to your users according to the policies that you'd like to implement. Permissions are assigned since v0.7 for a new install to anonymous and authenticated users respectively, and you'll only need to adjust that to your needs. 182 1. '''Test''' 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 an entry in the main navigation bar labeled ''Tags''. 173 183 174 184 === About i18n/l10n support === 175 185 176 The development version ofthis plugin is prepared for localization.186 Since 0.7 this plugin is prepared for localization. 177 187 178 188 But English message texts are still the (POSIX) default. If this isn't your preferred language, you can … … 215 225 === Most Recent Changes === 216 226 217 [[ChangeLog(/tagsplugin, 2)]]227 [[ChangeLog(/tagsplugin, 3)]] 218 228 219 229 [log:tagsplugin See more]