<< Basic Variables | PmWiki.Variables | Path Variables >>
Variable substitutions in the skin template are all managed by the FmtPageName() function from pmwiki.php. Pmwiki variable substitutions available on pages are managed by the substitutions from stdmarkup.php or superseded in local/config files.
$WikiTitle
$HTMLStylesFmt
$HTMLHeaderFmt
$HTMLHeaderFmt['$PageUrl'] = '<link rel="alternate" type="application/rss+xml" title="Rss All recent Changes" href=""http://your/wiki/path/pmwiki.php/Site/ AllRecentChanges?action=rss&order=-time&count=0&list=normal" />'
$HTMLHeaderFmt['$PageUrl'] = '<link href="http://your/wiki/path/to/your/logo/logo.png" type="image/png" rel="icon" /> <link href="http://your/wiki/path/to/your/logo/logo.ico" type="image/x-icon" rel="shortcut icon" />'
(:messages:)
markup. Commonly used for displaying messages with respect to editing pages.
$RecentChangesFmt
$RecentChangesFmt['$SiteGroup.AllRecentChanges'] = '* [[$Group.$Name]] . . . $CurrentTime $[by] $AuthorLink: [=$ChangeSummary=]'; $RecentChangesFmt['$Group.RecentChanges'] = '* [[$Group/$Name]] . . . $CurrentTime $[by] $AuthorLink: [=$ChangeSummary=]';
$RCLinesMax = 1000; # maintain at most 1000 recent changes
$PageRedirectFmt
(:redirect:)
markup.
$PageRedirectFmt = '<p><i>redirected from $FullName</p>'; $PageRedirectFmt = '';
$WikiStyle
$MaxIncludes
(:include:)
and other directives, used to control recursion and otherwise pose a sanity check on page contents. $MaxIncludes
defaults to 50, but can be set to any value by the wiki administrator.
$MaxIncludes
= 50; # default$MaxIncludes
= 1000; # allow lots of includes$MaxIncludes
= 0; # turn off includes
$Skin
$EnablePathInfo
1
page URL will be ...wiki.php/Main/Main
, when set to 0
(default) it will be ...wiki.php?n=Main.Main
.
$GroupHeaderFmt = '(:include $Group.GroupHeader:)(:nl:)';
$GroupFooterFmt = '(:include $Group.GroupFooter:)(:nl:)';
See also: Edit Variables
< Basic Variables | Variables | Path Variables >
This page may have a more recent version on pmwiki.org: PmWiki:LayoutVariables, and a talk page: PmWiki:LayoutVariables-Talk.