wiki:TracKeywordsPlugin

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

Ref. #8799 revised install procedure

Add ticket keywords from a configured list

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

17985 by clemens on 2021-01-30 15:51:20
reverse merge of r17981. If the TagsPlugin is loaded then TracKeywordsPlugin also works for wiki pages.
17984 by clemens on 2021-01-29 23:01:42
Fixed missing comma
17983 by clemens on 2021-01-29 22:59:10
TracKeywordsPlugin version number increased from 1.0 to 1.1, tested with TRAC 1.4.2
(more)

Author/Contributors

Author: thomasvs
Maintainer: thomasvs
Contributors: rea

Attachments (1)

Download all attachments as: .zip