« 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" />'
$MessagesFmt
(: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
$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
$SkinDirUrl
$PageLogoUrl
$EnablePathInfo
1
page URL will be …wiki.php/Main/Main
, when set to 0
(default) it will be …wiki.php?n=Main.Main
.
$GroupHeaderFmt
$GroupHeaderFmt = '(:include $Group.GroupHeader:)(:nl:)';
$GroupFooterFmt
$GroupFooterFmt = '(:include $Group.GroupFooter:)(:nl:)';
$PageNotFoundHeaderFmt
# default $PageNotFoundHeaderFmt = 'HTTP/1.1 404 Not Found'; # return all pages as found $PageNotFoundHeaderFmt = 'HTTP/1.1 200 Ok';
See also: Edit Variables