(redirected from PmWiki.WikiWords)
A WikiWord 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 WikiWords are available from Wiki:WikiWord and Wikipedia:WikiWord.
WikiWords are used as page titles in a wiki-based system.
In some wikis (depending on the configuration of PmWiki), a valid link can be created by writing it as WikiWord. In such PmWiki installations, WikiWords surrounded by [=...=] or preceded by a backquote (`) are not turned into links:
LikeThis compared to `LikeThis or even [=LikeThis=] |
LikeThis compared to LikeThis or even LikeThis |
See Links for information about PmWiki's rules for forming links and forming page titles.
WikiWord links are disabled by default since Pmwiki version 2.1 beta2. To enable WikiWord links you need to set in config.php
$EnableWikiWords
= 1;
See also $LinkWikiWords
.
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; }
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; }";
The variable $WikiWordCount
controls WikiWord conversion on a per word basis.
This page may have a more recent version on pmwiki.org: PmWiki:WikiWord, and a talk page: PmWiki:WikiWord-Talk.
Till början |
Skriv ut
Ändrad: 2011-11-30 09:28 / Visad: 1402 gånger.