diff options
author | pmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360> | 2004-12-05 17:30:45 +0000 |
---|---|---|
committer | pmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360> | 2004-12-05 17:30:45 +0000 |
commit | 1460aec1b668224f4d1f8d9f8c1e561624d2caf5 (patch) | |
tree | 58853fbd58995d205616f93ba74cf0d071ae130d /wikilib.d/PmWiki.LinkVariables | |
parent | 11ceacc92b226c018dc98cd587e4bac11e8b8cfd (diff) | |
download | pmwiki.svn-1460aec1b668224f4d1f8d9f8c1e561624d2caf5.tar.bz2 |
*** empty log message ***
git-svn-id: svn://pmwiki.org/trunk/pmwiki@402 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'wikilib.d/PmWiki.LinkVariables')
-rw-r--r-- | wikilib.d/PmWiki.LinkVariables | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/wikilib.d/PmWiki.LinkVariables b/wikilib.d/PmWiki.LinkVariables index af1bd43f..7a1bfc28 100644 --- a/wikilib.d/PmWiki.LinkVariables +++ b/wikilib.d/PmWiki.LinkVariables @@ -1,10 +1,10 @@ -version=pmwiki-2.0.devel11 +version=pmwiki-2.0.beta6 newline=˛ -version= -text=<<|[[PmWiki.Variables]]|>>˛˛:$MakePageNameFunction:Name of a custom function to replace PmWikiFunctions/MakePageName, which converts strings into valid page names.˛˛:$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>˛˛˛˛ -time=1097345413 +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 PmWikiFunctions/MakePageName, which converts strings into valid page names.˛ +time=1102267581 name=PmWiki.LinkVariables -host=82.120.154.162 -agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) -rev=8 -author=PRZ +host=24.1.28.47 +agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 +rev=9 +author=Pm +targets=PmWiki.Variables,PmWiki.LayoutVariables,PmWiki.EditVariables,PmWiki.WikiWord,PmWiki.PmWiki,PmWikiFunctions.MakePageName |