De kk2011

PmWiki: Wiki Word

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". Other descriptions of Wiki Words are available from Wiki:WikiWord and Wikipedia:WikiWord.

Usage as page titles

Wiki Words are used as page titles in a wiki-based system.

Usage as links

In some wikis (depending on the configuration of Pm Wiki), a valid link can be created by writing it as Wiki Word. 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;

WikiWord links to non-existent pages without decoration

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 links

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

Originįrio de http://kk2011.confabulando.org/index.php/PmWiki/WikiWord
Pagina modificada em 07 de October de 2009, ąs 22h28