Version 8 (modified by rjollos, 5 years ago) (diff)

Some clarifications that URL can be a wiki page.

Auto-generated acronyms from a table in a Wiki page


Automatically generates HTML acronyms from definitions in tables in a Wiki page (AcronymDefinitions by default).

Acronyms are in the form <acronym>[<id>] and are defined in a table with four columns:

Acronym, Description [, URL [, ID URL]]

Only the first two columns are required.

URL can be the name of a wiki page, the name of which does not have to be CamelCase and can even be a subpage (e.g. MyPage/MySubPage), or an external resource. If an <id> is provided, the ID URL is used and any occurrences of the symbol $1 in the description and the ID URL are substituted with the <id>.

Rows starting with ||' are ignored.

Bugs/Feature Requests

Existing bugs and feature requests for AcronymsPlugin are here.

If you have any issues, create a new ticket.


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


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


Create a Wiki page holding your acronym definitions in the way described above (for example Acronyms).

In trac.ini add the following section to make the plugin aware of this storage page:

page = Acronyms


The following acronym definition table:

||'''Acronym'''||'''Description'''||'''URL'''||'''ID URL'''||
||RFC||Request For Comment $1||||$1.txt||

Has the following effect:

RFC becomes

    <a href="">
     <acronym title="Request For Comment">

RFC2315 becomes

    <a href="">
     <acronym title="Request For Comment 2315">
      RFC 2315

Recent Changes

14820 by rjollos on 2015-07-20 06:38:06
0.2: Require Trac >= 0.11.
14749 by rjollos on 2015-06-25 23:30:18
0.2: Define option using Option class.
14748 by rjollos on 2015-06-25 23:24:39
0.2: Release 0.2. Added unit tests.


Author: athomas
Maintainer: athomas