NOTE: This is a static archive copy of STWiki. The site can no longer be edited.

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:

Topic revision: r1 - 23 Feb 2016, ProjectContributor
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding STWiki? Send feedback