Keyword replace plugin


This plugin allows you to replace keywords with any wiki format from a table in a Wiki page (Default as KeywordReplace). It can be time consuming to input units, links, etc. where a mapping would be easier to use. This plugin makes typewriting simpler.

This plugin is based on the AcronymsPlugin.

Bugs/Feature Requests

Existing bugs and feature requests for KeywordReplacePlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


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


Create a Wiki page holding your keyword definitions (default as KeywordReplace).

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

page = KeywordReplace

The storage page is KeywordReplace by default if not specified in trac.ini.


The following keyword definition table. The first column is defied keywords and the second column is values. The any wiki format could be input in the second column.

||= keywords =||= replace =||
||CO2       ||CO,,2,,                         ||
||m-2_s-1   ||m^-2^ s^-1^                     ||
||Google    ||[ Google]  ||
||oC        ||^o^C                            ||
||m-2       ||m^-2^                           ||
||Wheat     ||[wiki:Wheat Wheat]              ||
||C3        ||C,,3,,                          ||
||t_ha-1    ||t ha^-1^                        ||

The keywords in the first column would be replaced by values in the second column.

Recent Changes

10473 by helend on 2011-07-14 09:18:16
bug fix: partially link for a word.
10472 by helend on 2011-07-14 03:29:10
10471 by helend on 2011-07-14 03:11:07
New hack KeywordReplacePlugin, created by helend


Author: helend
Maintainer: Bangyou Zheng

Last modified 11 months ago Last modified on Dec 15, 2015, 4:49:46 AM

Attachments (1)

Download all attachments as: .zip