< Layout Variables | Variables | Other Variables >
$EnableLinkPageRelative$PagePathFmtarray('{$Group}.$1','$1.$1'.'$1.{$DefaultName}')
$LinkPageExistsFmt$LinkPageCreateFmt$LinkPageCreateSpaceFmt$LinkPageCreateFmt, but used when the link text has a space in it.
$LinkPageSelfFmt$UrlLinkFmt$IMapLinkFmt $IMapLinkFmt['http:'] = "\$LinkText";
$IMapLinkFmt['https:'] = "\$LinkText";
$IMapLinkFmt['PmWiki:'] = "\$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/PmWiki.php.
$WikiWordCountMax $WikiWordCountMax = 0; # disable WikiWord links
$WikiWordCountMax = 1; # convert only first WikiWord
$WikiWordCount$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;
$EnableRedirectQuietquiet=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.
| | |
© 2006 - 2026 by Active Image - All Rights Reserved | | | Site Map | | | | |
The information contained within ActiveImage.ca is for educational purposes. It is here to help you made informed decisions about your fitness and health. It is not medical advice and is not intended to replace the advice or attention of health-care professionals. Please consult your doctor before beginning or making changes to your diet, exercise program, for diagnosis and treatment of illness and injuries, and for advice regarding medications and supplements.
In no way will Active Image or any persons associated with Active Image be held responsible for any injuries or problems that may occur due to the use of this website or the advice contained within. Active Image will not be held responsible for the conduct of any companies and websites recommended within this site.