University of Natural Resources and Life Sciences (BOKU)
Institute of Computational Biology

JQueryWikiWord

Homepage: http://foswiki.org/Extensions/JQueryPlugin
Author(s): Michael Daum
Version: 3.20

This plugin allows to create a WikiWord on the base of a set of input elements. The value of these are concatenated and the result is normalized to be a valid WikiWord. For example, this can be used to derive a topic name from a free-form topic title text.

Foswiki integration

Add the jqWikiWord to an html input field and specify the source from which to derive the WikiWord using HTML5 meta data:
{
  source:'selector', /* e.g. '#projectTitle' */
  initial:'initial value', /* e.g. 'Project...' */
  prefix:'string to be prefixed to the wiki word', /* e.g. 'Project' */
  suffix:'string to be appended to the wiki word', /* e.g. 'AUTOINC0' */
  transliterate: true,
  allow:'characters that are allowed in a wiki word' /* e.g. 'a-zA-Z\\d' */
}

Examples

New Project

Title:

Year:

Project topic:

26 Dec 2024 - 12:23 Foswiki v2.0.2