Modula-2 Reloaded

A Modern Typesafe & Literate Programming Notation

Site Menu

Project

Specification

Implementation

Recommendations

Reference

Needs Updating

Work in Progress

Wastebasket

Wiki Manual

edit SideBar

Wiki Word

Definition and use as Page Titles

A Wiki Word is a set of two or more words run together, where the first letter of each word is capitalized. This syntax is also sometimes referred to as "mixed case" or "camel case". Wiki Words are used as page titles in a WikiWikiWeb.

Use as links

In some wikis, you can string any sequence of words together, capitalizing the first letter of each word, to make a valid Wiki Word link. In such Pm Wiki installations, Wiki Words surrounded by [=...=] or preceded by a backquote (`) are not turned into links:

LikeThis compared to `LikeThis or even [=LikeThis=]

Like This? compared to LikeThis or even LikeThis

See Links for information about PmWiki's rules for forming links and forming page titles.

Enabling WikiWord links

WikiWord links are disabled by default since Pmwiki version 2.1 beta2. To enable WikiWord links you need to set in config.php

$LinkWikiWords = 1;

If you want to display links to non-existent pages without decoration, place the following lines in pub/css/local.css:

span.wikiword a.createlink { display:none; }
span.wikiword a.createlinktext { border-bottom:none; text-decoration:none; color:inherit; }

Finding WikiWord links

If you upgraded from an earlier version and want to convert WikiWord links to standard links, the following will help to find those WikiWord links easier by highlighting them. Set in config.php:

$HTMLStylesFmt['wikiword'] = "span.wikiword { background:yellow; }";

Disabling certain WikiWords

The variable $WikiWordCount controls WikiWord conversion on a per word basis.

Other descriptions of WikiWords are available from Wiki:WikiWord and Wikipedia:WikiWord.


This page may have a more recent version on pmwiki.org: PmWiki:WikiWord, and a talk page: PmWiki:WikiWord-Talk.