Present a box with basic ticket and wiki-page information and copy it to clipboard


The InfoSnippetPlugin plugin assembles ticket or wiki-page information like ticket number, title and URL all together at one place at the bottom of page. The user can then use a button to copy this information as text into the system clipboard.

The plugin uses JavaScript to create an "Info" box (aka. snippet) at the bottom of the page.

  • For tickets the snippet info text contains project ID, ticket number, title and URL.
  • For wiki-pages the snippet info text contains project ID, wikin-name, headline (if exist) and URL.

A button is provided which can be used to copy the information snippet text into the clipboard (using JavaScript).

Info Snippet for Tickets


Info Snippet for Wiki Pages

info snippet for wiki pages

Context Menu

Another option is the "Info" navigation item in the context navigation bar of a ticket. Clicking it copies the content of the "Ticket Info" into the clipboard. Basically this is a convenience short-cut as one does not need to scroll down to the "Ticket Info" in order to fill the clipboard.


Many people used to refer to tickets or wiki pages in e-mails. One may want to include the ticket number the ticket summary (aka. title) and the ticket URL - kind of a ticket snippet. Of course, basically the process is simply a copy&paste via clipboard, because all these information fragment are prominently present in the Trac ticket page. However, one has to do copy&paste multiple times. We want more convenience with this copy&paste of ticket information. It might not count for just one ticket, but if one frequently has to do it for dozens of tickets, then it becomes tedious.

Bugs/Feature Requests

Existing bugs and feature requests for InfoSnippetPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


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


General instructions on installing Trac plugins can be found on the TracPlugins page.

After installation do not forget to enable the plugin in the TracIni:

InfoSnippet.* = enabled


The following configuration options apply for the [infosnippet] section in the TracIni file:

Specifies if the 'Info Snippet' box shall appear near the bottom of the page. This is a box containing elemental information like title and URL for instance.
Specifies if the 'INFO' menu item shall appear in the context navigation menu at top of the page. Clicking this menu option will not navigate but instead copy the information snippet (as text) into the system clipboard.

For both configuration options box and nav the following values are possible:

  • ticket only for ticket pages
  • wiki only for wiki pages
  • all for both of them
  • none neither of them


box = ticket
nav = all

Recent Changes

18039 by clemens on 2021-03-03 19:25:09
better spacing for COPY button on wiki pages (avoid collision with "last modified")
17988 by clemens on 2021-02-07 22:26:36
tuned debug log
17987 by clemens on 2021-02-07 22:21:53

Version 0.3

  • now supporting also wiki pages
  • better internal Java-Script structure with sub-functions CreateNav() and CreateBox()


Author: clemens
Maintainer: clemens

Last modified 3 years ago Last modified on Mar 3, 2021, 7:21:33 PM

Attachments (3)

Download all attachments as: .zip