wiki:TracKeywordsPlugin

Version 9 (modified by Nelso G. Jost, 7 years ago) (diff)

Ref. #8799 revised install procedure

Add ticket keywords from a configured list

Notice: This plugin is unmaintained and available for adoption.

Description

This plug-in allows you to add entries to the Keywords entry field from a configured list of keywords by clicking on them.

See also KeywordSuggestPlugin.

Bugs/Feature Requests

Existing bugs and feature requests for TracKeywordsPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:trackeywordsplugin here].

Source

You can check out TracKeywordsPlugin from here using Subversion, or browse the source with Trac.

Install/Configuration

  1. Proceed with normal installation of plugins.
  2. Update the ticket template page to include this plugin page section keywords.html.
    • You can do this by including the following line somewhere in the html code:
      <xi:include href="keywords.html" />
      
      • Suggested place: right before </body>.
    • Trac 0.12 files:
      • <trac_egg>/trac/ticket/templates/ticket.html
      • <trac_egg>/trac/wiki/templates/wiki_edit.html (For a slight integration with TagsPlugin, see #8799)
    • Trac 0.10 ticket.cs file:
      ...
      </fieldset><?cs /if ?>;
      
      <?cs include "keywords.cs" ?>
      
       <?cs if:ticket.actions.accept || ticket.actions.reopen ||
               ticket.actions.resolve || ticket.actions.reassign ?>
      ...
      
  3. In trac.ini file, set up the keywords like:
    [keywords]
    dupsearch = find duplicates for this ticket
    deploy = waiting to be deployed
    backport = ask for a decision on whether to backport
    
    • The format is name = description

Recent Changes

16926 by rjollos on 2017-10-27 18:44:16
TracKeywords 0.3dev: Branch for Trac 0.11 support
16925 by rjollos on 2017-10-27 18:42:22
TracKeywords 1.0dev: Make compatible with Trac 1.0+, including 1.3.2+

Use of Genshi transformer is removed.

16865 by rjollos on 2017-10-11 19:34:22
TracKeywordsPlugin 0.3dev: Strip trailing whitespace

Fixes #13296.

(more)

Author/Contributors

Author: thomasvs
Maintainer: thomasvs
Contributors: rea

Attachments (1)

Download all attachments as: .zip