aboutsummaryrefslogtreecommitdiff
path: root/wikilib.d/PmWiki.LinkVariables
diff options
context:
space:
mode:
authorpmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360>2005-07-11 05:40:30 +0000
committerpmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360>2005-07-11 05:40:30 +0000
commit403bea068ff9853070a7eedcf0668437a6cdf217 (patch)
tree374d6b8592be6e6edfc4facedf6b709f015e1b77 /wikilib.d/PmWiki.LinkVariables
parentf35be118830ff41c26bd4a1e16e0924872986f0d (diff)
downloadpmwiki.svn-403bea068ff9853070a7eedcf0668437a6cdf217.tar.bz2
*** empty log message ***
git-svn-id: svn://pmwiki.org/trunk/pmwiki@715 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'wikilib.d/PmWiki.LinkVariables')
-rw-r--r--wikilib.d/PmWiki.LinkVariables6
1 files changed, 3 insertions, 3 deletions
diff --git a/wikilib.d/PmWiki.LinkVariables b/wikilib.d/PmWiki.LinkVariables
index 245f9601..53db661a 100644
--- a/wikilib.d/PmWiki.LinkVariables
+++ b/wikilib.d/PmWiki.LinkVariables
@@ -4,7 +4,7 @@ agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 F
author=Pm
host=24.1.26.255
name=PmWiki.LinkVariables
-rev=14
+rev=15
targets=PmWiki.PathVariables,PmWiki.Variables,PmWiki.EditVariables,PmWiki.WikiWord,PmWiki.PmWiki,PmWiki.InterMap,PmWiki.CustomInterMap,Category.DocumentationToDo
-text=<<|[[PmWiki.Variables]]|>>˛˛:$WikiWordCountMax:The maximum number of times to convert each WikiWord encountered on a page. Defaults to 1,000,000. Common settings for this variable are zero (disable WikiWord links) and one (convert only the first occurrence of each WikiWord).˛ $WikiWordCountMax = 0; # disable WikiWord links˛ $WikiWordCountMax = 1; # convert only first WikiWord˛˛:$WikiWordCount:An array that allows the number of WikiWord conversions to be set on a per-WikiWord basis. The default is to use $WikiWordCountMax unless a value is set in this array. By default PmWiki sets @@$WikiWordCount['PmWiki']=1@@ to limit the number of conversions of "PmWiki".˛ $WikiWordCount[=['PhD']=0; # Don't convert "PhD"=]˛ $WikiWordCount['WikiWord']=5; # Convert WikiWord 5 times˛ # the following lines keep a page from linking to itself˛ $title = [=FmtPageName=]('$Title_',$pagename);˛ $WikiWordCount[$title]=0; ˛˛˛:$PagePathFmt:TODO˛˛:$LinkPageExistsFmt:The (HTML) string to output for links to already existing wiki pages. Defaults to ˛ <a class='wikilink' href='\$LinkUrl'>\$LinkText</a>˛˛:$LinkPageCreateFmt:The (HTML) string to output for links to non-existent wiki pages. The default is to add a '?' after the link text with a link to the page edit/create form. Defaults to˛ <a class='createlinktext' href='\$PageUrl?action=edit'>\$LinkText</a>˛ <a class='createlink' href='\$PageUrl?action=edit'>?</a>˛˛:$LinkPageCreateSpaceFmt:Same as $LinkPageCreateFmt, but used when the link text has a space in it. ˛˛:$LinkPageSelfFmt:The (HTML) string to output for self-referencing links (i.e. links to the page itself). Defaults to˛ <a class='selflink' href='\$LinkUrl'>\$LinkText</a>˛˛:$UrlLinkFmt:The (HTML) string to output for URL-links that begin with 'http:', 'ftp:', etc. Defaults to˛ <a class='urllink' href='\$LinkUrl'>\$LinkText</a>˛˛:$MakePageNameFunction:Name of a custom function to replace `MakePageName(), which converts strings into valid page names.˛˛:$InterMapFiles:An array consisting a list of files containing InterMap entries to be loaded (see CustomInterMap).˛˛Category: [[!DocumentationToDo]]
-time=1121012418
+text=<<|[[PmWiki.Variables]]|>>˛˛:$WikiWordCountMax:The maximum number of times to convert each WikiWord encountered on a page. Defaults to 1,000,000. Common settings for this variable are zero (disable WikiWord links) and one (convert only the first occurrence of each WikiWord).˛ $WikiWordCountMax = 0; # disable WikiWord links˛ $WikiWordCountMax = 1; # convert only first WikiWord˛˛:$WikiWordCount:An array that allows the number of WikiWord conversions to be set on a per-WikiWord basis. The default is to use $WikiWordCountMax unless a value is set in this array. By default PmWiki sets @@$WikiWordCount['PmWiki']=1@@ to limit the number of conversions of "PmWiki".˛ $WikiWordCount[=['PhD']=0; # Don't convert "PhD"=]˛ $WikiWordCount['WikiWord']=5; # Convert WikiWord 5 times˛ # the following lines keep a page from linking to itself˛ $title = [=FmtPageName=]('$Title_',$pagename);˛ $WikiWordCount[$title]=0; ˛˛˛:$PagePathFmt:TODO. But look at Cookbook:PagePaths for some ideas.˛˛:$LinkPageExistsFmt:The (HTML) string to output for links to already existing wiki pages. Defaults to ˛ <a class='wikilink' href='\$LinkUrl'>\$LinkText</a>˛˛:$LinkPageCreateFmt:The (HTML) string to output for links to non-existent wiki pages. The default is to add a '?' after the link text with a link to the page edit/create form. Defaults to˛ <a class='createlinktext' href='\$PageUrl?action=edit'>\$LinkText</a>˛ <a class='createlink' href='\$PageUrl?action=edit'>?</a>˛˛:$LinkPageCreateSpaceFmt:Same as $LinkPageCreateFmt, but used when the link text has a space in it. ˛˛:$LinkPageSelfFmt:The (HTML) string to output for self-referencing links (i.e. links to the page itself). Defaults to˛ <a class='selflink' href='\$LinkUrl'>\$LinkText</a>˛˛:$UrlLinkFmt:The (HTML) string to output for URL-links that begin with 'http:', 'ftp:', etc. Defaults to˛ <a class='urllink' href='\$LinkUrl'>\$LinkText</a>˛˛:$MakePageNameFunction:Name of a custom function to replace `MakePageName(), which converts strings into valid page names.˛˛:$InterMapFiles:An array consisting a list of files containing InterMap entries to be loaded (see CustomInterMap).˛˛Category: [[!DocumentationToDo]]
+time=1121030448