wiki:WikiToolbarTemplatesPatch

Insert templates in your wiki edit boxes

Description

An extra 'toolbar' is added to let your users choose from some predefined templates. In your templates you can also define variables which the user then has to fill in.

This plugin is for Trac version 0.10.3.

Although a macro which does the same thing exists, here it is more for frequently used code snippets.

Future work: It could be made so that a plugin adds the templates as an array to a global javascript array, and then it is easier to work with certain macro's.

Bugs/Feature Requests

Existing bugs and feature requests for WikiToolbarTemplatesPatch are here.

If you have any issues, create a new ticket.

defect

1 / 1

enhancement

0 / 1

Download

Download the zipped source from here.

Source

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

Installation

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

Example

In trac/htdocs/js you can find wikitoolbar.js. Replace this file, and add wikitoolbartemplatetext.js there too.

Edit the latter file to adapt the templates.

Recent Changes

11851 by rjollos on 2012-07-31 09:43:39
Fixes #1720: Added file that were attached to the project wiki page.
2013 by majorTom on 2007-02-20 17:58:02
New hack WikiToolbarTemplatesPatch, created by majorTom
(more)

Author/Contributors

Author: majorTom
Maintainer: majorTom
Contributors:

Last modified 8 months ago Last modified on Nov 26, 2015, 1:33:00 PM

Attachments (2)

Download all attachments as: .zip