Changes between Version 79 and Version 80 of TagsPlugin
- Timestamp:
- Mar 25, 2015, 4:13:16 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TagsPlugin
v79 v80 10 10 }}} 11 11 12 = A Tagging System for Trac =12 = A Tagging System for Trac 13 13 14 14 The TagsPlugin implements both a generic tagging engine, and front ends for the Wiki and ticket systems. An extra text entry box is added to the Wiki edit page for tagging Wiki pages, and ticket fields (you can configure which ones) are treated as tags for the ticket system. … … 18 18 Have a look at [wiki:TagsPlugin/RelatedHacks some other hacks], that may fit well and complement your !TagsPlugin installation nicely. 19 19 20 === What are tags? ===21 22 Tags allow you to organize wiki entries under multiple categories, not just under one hierarchy. You can then search for wiki entries categorized under a tag or a collection of tags.In other words, tags provide a [http://en.wikipedia.org/wiki/Faceted_classification faceted classification system] for the Trac wiki.23 24 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.25 26 Tags don't have to be predefined. 27 28 Tags are similar to labels in gmail, tags in the social bookmark manager del.icio.us and Flickr. They are substantially different from Wikipedia categories, because tags are associated with wiki entries of the same name, whereas [http://meta.wikimedia.org/wiki/Categories WikiMedia Categories]are just indexes.20 === What are tags? 21 22 Tags allow you to organize wiki entries under multiple categories, not just under one hierarchy. You can then search for wiki entries categorized under a tag or a collection of tags. In other words, tags provide a [http://en.wikipedia.org/wiki/Faceted_classification faceted classification system] for the Trac wiki. 23 24 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. 25 26 Tags don't have to be predefined. As long as there are wiki entries categorized under a tag, it'll be automatically created. 27 28 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. 29 29 30 30 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. 31 31 32 == Usage ==33 34 === Apply tags ===32 == Usage 33 34 === Create and Apply tags 35 35 36 36 To create a tag, follow these steps: … … 43 43 The wiki entry you edit is now categorized under the tags you specified. 44 44 45 Almost equivalent steps for tag entry at tickets, usually under`keywords` field.46 47 === Remove tags ===45 The tagging process for tickets is similar, and can be found under the `keywords` field. 46 47 === Remove tags 48 48 49 49 To remove a tag from a wiki entry, follow these steps: … … 54 54 4. Click ''Save changes''. 55 55 56 Almost equivalent steps for tag removing at tickets, usually under`keywords` field.57 58 === Search ing tags ===56 The tag removal process for tickets is similar, and can be found under the `keywords` field. 57 58 === Search tags 59 59 60 60 Querying is implemented through the `/tags` uri handler, `the tag:<tag>` syntax or WikiMacros as follows. 61 61 62 ==== Tags query ====62 ==== Tags query 63 63 64 64 Both the `ListTagged` macro and the `/tags` handler use a basic query language for filtering tagged objects. Query contains the terms to filter, can have some logical operators and have restrictions for where to search: … … 78 78 1. Objects tagged `macro` or `plugin`, ''and'' `example` `tagged:"(macro or plugin) example"` 79 79 80 ==== /tags handler ====80 ==== /tags handler 81 81 82 82 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>''. e.g. [http://trac-hacks.org/tags/?q=plugin]. This accepts all the parameters that the !ListTagged macro does. e.g. [http://trac-hacks.org/tags?q=plugin%20or%20macro]. 83 83 84 ==== `tag:<tag>` or `tagged:<query>` ====84 ==== `tag:<tag>` or `tagged:<query>` 85 85 86 86 Both forms are identical and link to the tag search results for the query. … … 89 89 * `tagged:todo` or `tagged:"plugin macro"`. 90 90 91 ==== !ListTagged macro ====91 ==== !ListTagged macro 92 92 93 93 This will display a list of resources whose tags match `<query>`. … … 107 107 * Pages tagged with `macro`: `[[ListTagged(realm:wiki macro)]]` 108 108 109 ==== !TagCloud macro ====109 ==== !TagCloud macro 110 110 111 111 `[[TagCloud]]` … … 117 117 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 118 119 == Install ==119 == Installation 120 120 121 121 Generic installation guidelines are troubleshooting can be found at TracPlugins. … … 130 130 [/svn/tagsplugin/tags/0.7 the source] from SVN. 131 131 2. [trac:wiki:TracPlugins Build and install an egg] from this source. 132 1. with easy_install:132 1. With `easy_install`: 133 133 {{{ 134 134 #!sh … … 175 175 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''. 176 176 177 === About i18n/l10n support ===177 === About i18n/l10n support 178 178 179 179 Since 0.7 this plugin is prepared for localization. 180 180 181 181 But English message texts are still the (POSIX) default. If this isn't your preferred language, you can 182 1. look,if it's already available from the [TracPluginTranslation Trac plugin l10n project] at [http://www.transifex.net/projects/p/Trac_Plugin-L10N/c/tractags Transifex] or183 2. do it yourself (see the [http://trac.edgewall.org/wiki/CookBook/PluginL10N#Dotranslatorswork l10n cookbook page for Trac plugins] for more details).182 1. check if it's already available from the [TracPluginTranslation Trac plugin l10n project] at [http://www.transifex.net/projects/p/Trac_Plugin-L10N/c/tractags Transifex] or 183 1. do it yourself (see the [http://trac.edgewall.org/wiki/CookBook/PluginL10N#Dotranslatorswork l10n cookbook page for Trac plugins] for more details). 184 184 185 185 You've done a new translation? Superb! Contributing your translation is highly appreciated. … … 201 201 Again, for more details see the [t:wiki:CookBook/PluginL10N#Compileanduseit l10n cookbook page for Trac plugins]. 202 202 203 == Bugs & Feature Requests == 204 205 total issue record: 206 [[TicketQuery(component=TagsPlugin,format=progress)]] 207 open issues by type: 208 [[TicketQuery(component=TagsPlugin,status!=closed&group=type,format=progress)]] 209 210 Check [query:?status=new&status=assigned&status=reopened&group=&component=TagsPlugin&order=priority existing bugs and feature requests] first, please. If you have additional issues, you're welcome to ask at our mailing-list to confirm proper local install and configuration. Only create a [/newticket?component=TagsPlugin new ticket], if you're reasonably sure, that it will be a valid defect report or a generally useful enhancement. Thanks for taking care. 211 212 == Source & Download == 203 == Bugs/Feature Requests 204 205 Existing bugs and feature requests for TagsPlugin are 206 [query:status!=closed&component=TagsPlugin here]. 207 208 If you have any issues, create a 209 [http://trac-hacks.org/newticket?component=TagsPlugin&owner=hasienda new ticket]. 210 211 [[TicketQuery(component=TagsPlugin&group=type,format=progress)]] 212 213 == Source & Download 213 214 214 215 You can check out !TagsPlugin from [http://trac-hacks.org/svn/tagsplugin here] using Subversion, or [source:tagsplugin browse the source] with Trac. … … 216 217 You can also download the zipped source from [download:tagsplugin here]. 217 218 218 == = Most Recent Changes ===219 == Recent Changes 219 220 220 221 [[ChangeLog(/tagsplugin, 3)]] … … 222 223 [log:tagsplugin See more] 223 224 224 == Author/Contributors ==225 == Author/Contributors 225 226 226 227 '''Author:''' athomas [[BR]]