#!/usr/local/bin/php
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /cgihome/cis520/html/dynamic/2016/wiki/pmwiki.php on line 691
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /cgihome/cis520/html/dynamic/2016/wiki/pmwiki.php on line 694
Warning: Use of undefined constant MathJaxInlineCallback - assumed 'MathJaxInlineCallback' (this will throw an Error in a future version of PHP) in /cgihome/cis520/html/dynamic/2016/wiki/cookbook/MathJax.php on line 84
Warning: Use of undefined constant MathJaxEquationCallback - assumed 'MathJaxEquationCallback' (this will throw an Error in a future version of PHP) in /cgihome/cis520/html/dynamic/2016/wiki/cookbook/MathJax.php on line 88
Warning: Use of undefined constant MathJaxLatexeqrefCallback - assumed 'MathJaxLatexeqrefCallback' (this will throw an Error in a future version of PHP) in /cgihome/cis520/html/dynamic/2016/wiki/cookbook/MathJax.php on line 94
PmWiki /
Link Variables← Layout Variables | Variables | Other Variables → admins (advanced)
array('{$Group}.$1', '$1.$1', '$1.{$DefaultName}')
<a class='wikilink' href='\$LinkUrl'>\$LinkText</a>
<a class='createlinktext' href='\$PageUrl?action=edit'>\$LinkText</a> <a class='createlink' href='\$PageUrl?action=edit'>?</a>
<a class='selflink' href='\$LinkUrl'>\$LinkText</a>
<a class='urllink' href='\$LinkUrl' title='\$LinkAlt' rel='nofollow'>\$LinkText</a>
Examples of custom formats to allow different styling via classes:
Links to http: standard url links:
$IMapLinkFmt['http:'] = "<a class='httplink urllink' href='\$LinkUrl'>\$LinkText</a>"; Links to https: secure pages:
$IMapLinkFmt['https:'] = "<a class='httpslink urllink' href='\$LinkUrl'>\$LinkText</a>"; Links to PmWiki: InterMap shortcut:
$IMapLinkFmt['PmWiki:'] = "<a class='pmwikilink urllink' href='\$LinkUrl'>\$LinkText</a>";
Note that if you change $MakePageNamePatterns , the documentation links may break. This can be fixed by re-setting $MakePageNamePatterns to the default in local/PmWiki.php.
Categories: PmWiki Developer ← 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. |