< Layout Variables | Variables | Other Variables >
$EnableLinkPageRelative
$EnableLinkPageRelative
= 1;
$PagePathFmt
array('{$Group}.$1','$1.$1'.'$1.{$DefaultName}')
$LinkPageExistsFmt
\$LinkText
$LinkPageCreateFmt
\$LinkText ?
$LinkPageCreateSpaceFmt
$LinkPageCreateFmt
, but used when the link text has a space in it.
$LinkPageSelfFmt
\$LinkText
$UrlLinkFmt
\$LinkText
$IMapLinkFmt
$IMapLinkFmt
['http:'] = "\$LinkText";
$IMapLinkFmt
['https:'] = "\$LinkText";
$IMapLinkFmt
['Pm Wiki:'] = "\$LinkText";
$InterMapFiles
$MakePageNameFunction
$MakePageNamePatterns
$MakePageNamePatterns
is an array of regular expression replacements that is used to map the page link in a free link such as [[free link]]
into a page name. Currently the default sequence is: "/'/" => '', # strip single-quotes "/[^$PageNameChars]+/" => ' ', # convert non-alnums to spaces "/((^|[^-\\w])\\w)/e" => "strtoupper('$1')", # initial caps after spaces "/ /" => '' # strip spaces
$MakePageNamePatterns
, the documentation links may break. This can be fixed by re-setting $MakePageNamePatterns
to the default in local/Pm Wiki.php.
$WikiWordCountMax
$WikiWordCountMax
= 0; # disable Wiki Word links$WikiWordCountMax
= 1; # convert only first Wiki Word
$WikiWordCount
$WikiWordCountMax
unless a value is set in this array. By default Pm Wiki sets $WikiWordCount
['Pm Wiki']=1
to limit the number of conversions of "Pm Wiki".
$WikiWordCount
['PhD']=0; # Don't convert "PhD"$WikiWordCount
['Wiki Word']=5; # Convert Wiki Word 5 times # the following lines keep a page from linking to itself $title = FmtPageName('$Title_',$pagename);$WikiWordCount
[$title]=0;
$EnableRedirectQuiet
quiet=1
parameter for the redirect directive. On publicly edited wikis it is advisable not to enable quiet redirects.
$EnableRedirectQuiet
= 0; # disable quiet redirects (default)$EnableRedirectQuiet
= 1; # enable quiet redirects
< Layout Variables | Variables | Other Variables >
This page may have a more recent version on pmwiki.org: PmWiki:LinkVariables, and a talk page: PmWiki:LinkVariables-Talk.