Changes between Version 84 and Version 85 of TagsPlugin
- Timestamp:
- Nov 20, 2015, 11:54:21 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TagsPlugin
v84 v85 17 17 As an added bonus, tags are linked to the wiki entry of the same name, allowing you to describe them explicitly under the wiki entry of the same name. This allows for a flexible means for establishing the context of wiki entries. Besides this, tags also make it incredibly easy to create todo lists or indexes. 18 18 19 Tags don't have to be predefined. As long as there are wiki entries categorized under a tag, it 'll be automatically created.20 21 Tags are similar to labels in gmail, tags in the social bookmark manager del.icio.us and Flickr. They are substantially different from [http://meta.wikimedia.org/wiki/Categories Wikipedia categories], because tags are associated with wiki entries of the same name, whereas WikiMedia Categories are just indexes.19 Tags don't have to be predefined. As long as there are wiki entries categorized under a tag, it will be automatically created. 20 21 Tags are similar to labels in Gmail, tags in the social bookmark manager del.icio.us and Flickr. They are substantially different from [http://meta.wikimedia.org/wiki/Categories Wikipedia categories], because tags are associated with wiki entries of the same name, whereas WikiMedia Categories are just indexes. 22 22 23 23 This implementation of wiki tagging is specific to [wiki:TracGuide Trac]. To stay consistent with the way Trac names wiki entries, tags are case sensitive. Trac Hacks itself makes extensive use of tagging and is a good example of their use. … … 30 30 31 31 1. Go to the wiki entry you want to tag. 32 2. Click on ''Edit This Page''.33 3. Under ''Change information'', ''Tag under:'', enter the tags you want to categorize the entry under. Separate tags with spaces.34 4. Click ''Save changes''.32 1. Click on ''Edit This Page''. 33 1. Under ''Change information'', ''Tag under:'', enter the tags you want to categorize the entry under. Separate tags with spaces. 34 1. Click ''Save changes''. 35 35 36 36 The wiki entry you edit is now categorized under the tags you specified. … … 43 43 44 44 1. Go to the wiki entry you want to ''untag''. 45 2. Click on ''Edit This Page''.46 3. Under ''Change information'', ''Tag under:'', remove the tag from the list.47 4. Click ''Save changes''.45 1. Click on ''Edit This Page''. 46 1. Under ''Change information'', ''Tag under:'', remove the tag from the list. 47 1. Click ''Save changes''. 48 48 49 49 The tag removal process for tickets is similar, and can be found under the `keywords` field. … … 73 73 ==== /tags handler 74 74 75 Going to /tags under your project will show a list of all tags in the wiki. /tags/?q=<query> will show all the objects matching ''<query>'', eg [http://trac-hacks.org/tags/?q=plugin]. This accepts all the parameters that the !ListTagged macro does, eg [http://trac-hacks.org/tags?q=plugin%20or%20macro].75 Going to /tags under your project will show a list of all tags in the wiki. `/tags/?q=<query>` will show all the objects matching ''<query>'', eg [https://trac-hacks.org/tags/?q=plugin]. This accepts all the parameters that the !ListTagged macro does, eg [https://trac-hacks.org/tags?q=plugin%20or%20macro]. 76 76 77 77 ==== `tag:<tag>` or `tagged:<query>` … … 122 122 == Download 123 123 124 You can download the zipped source from [ download:tagsplugin here].124 You can download the zipped source from [export:tagsplugin here]. 125 125 126 126 == Source 127 127 128 You can check out !TagsPlugin from [ http://trac-hacks.org/svn/tagsplugin here] using Subversion, or [source:tagsplugin browse the source] with Trac.128 You can check out !TagsPlugin from [/svn/tagsplugin here] using Subversion, or [source:tagsplugin browse the source] with Trac. 129 129 130 130 == Installation … … 139 139 * Plugin: tractags-0.7 is required for Trac >= 1.0 (see #9521) 140 140 1. Manually: 141 1. Download tags: [ download:tagsplugin/tags/0.7 tags-0.7.zip] or grab141 1. Download tags: [export:tagsplugin/tags/0.7 tags-0.7.zip] or grab 142 142 [/svn/tagsplugin/tags/0.7 the source] from SVN. 143 143 2. [trac:wiki:TracPlugins Build and install an egg] from this source. … … 164 164 revisable_realms = wiki 165 165 }}} 166 1. '''Enable''' plugin by updating your TracIni file (`.. ../trac.ini`) with:166 1. '''Enable''' plugin by updating your TracIni file (`../conf/trac.ini`) with: 167 167 {{{#!ini 168 168 [components] … … 177 177 $ sudo /etc/init.d/apache2 restart 178 178 }}} 179 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.179 1. '''Grant''' `TAGS_VIEW` and `TAGS_MODIFY` permissions to your users according to the policies that you like to implement. Permissions are assigned since v0.7 for a new install to anonymous and authenticated users respectively, and you will only need to adjust that to your needs. 180 180 1. '''Test''' the plugin 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''. 181 181