|
LimitWikiWords<< No Wiki Words | Cookbook-V1 | Self References >> Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.
QuestionSometimes a WikiWord just appears too often on a page and I don't want every occurrence converted to a link. How can I limit the number of times a WikiWord is turned into a link? Answer 1: Limiting all WikiWordsThe number of times that WikiWords are converted to links is controlled by the in local/config.php or a PerGroupCustomization file will cause only the first five occurrences of each WikiWord to be converted to a link. Setting Note that this setting only affects "bare" WikiWords -- those that are group qualified or part of free links? still become links to the corresponding page. Answer 2: Limiting selected WikiWordsOne can also use the to prevent "PmWiki" from being converted to a link more than once on a page. (It does occur a lot in the documentation you know.) You can add your own settings to this array for other WikiWords: ## only convert the first five occurrences of WikiWikiWeb
The See alsopmwiki-2.2.0-beta68 -- Last modified by {{simon}}
|