THIS IS HISTORY! Check fabien.benetou.fr for news.
Seedea, scalable creativity
Xye, consultancy for serious creators
Information
(Updates)
<< | PmWiki.Variables | Blocklist >>
$DefaultGroup
$DefaultName
$DefaultPage
$DefaultGroup
.$DefaultName
.
$SiteGroup
$EnableWSPre
$EnableWSPre = 1; # leading spaces are preformatted text
$EnableWSPre = 0; # leading spaces are normal lines of text
$EnableWSPre = 4; # 4+ spaces are preformatted text
$EnableWikiWords
$LinkWikiWords
(:linkwikiwords:)
and (:nolinkwikiwords:)
directives.
$LinkWikiWords = 1; # turn on WikiWord links
$LinkWikiWords = 0; # disable WikiWord links
$SpaceWikiWords
$AsSpacedFunction
. Note that this value can also be affected by the (:spacewikiwords:)
and (:nospacewikiwords:)
directives.
$SpaceWikiWords = 1; # turn on WikiWord spacing
$SpaceWikiWords = 0; # turn off WikiWord spacing
$AsSpacedFunction
$AsSpacedFunction = '`MyAsSpaced';
$EnablePGCust
$EnablePGCust=0; # turn off per-page/group configs
$EnableLocalConfig
$EnableLocalConfig = 0; # disable PmWiki's local/config
$GroupPattern
# limit groups to Site, PmWiki, and `MyGroup
$GroupPattern = '(?:Site|PmWiki|`MyGroup)';
$NamePattern
$WikiWordPattern
$Author
$AuthorGroup
$AuthorGroup = 'Users';
$AuthId
$TimeFmt
'%B %d, %Y at %I:%M %p'
, which gives dates of the form "September 8, 2005 at 10:57 PM".
$TimeFmt = '%B %d, %Y'; # dates as "September 8, 2005"
$TimeFmt = '%Y-%m-%d'; # dates as "2005-09-08"
$FTimeFmt
$FTimeFmt
is $TimeFmt
. (See Markup Expressions)
$LogoutRedirectFmt
?action=logout
. Defaults to the current page.
$LogoutRedirectFmt = 'Site.Logout'; # ?action=logout target
$LogoutCookies
?action=logout
is invoked.
$CookiePrefix
$CookiePrefix = 'pmwiki_';
# set cookie prefix to 'pmwiki_'
$CookiePrefix = substr($tmp = md5(__FILE__), 0, 5).'_';
$Version
$VersionNum
$VersionNum
set to 2001040, as in "2002138".
The first digit is a 2, the next three digits are the major
release number, and the last three digits are the minor release
number. Beta releases use 900-999 for the minor release number.
Thus:
2.1.0 2001000 2.1.1 2001001 ... 2.1.27 2001027 2.2.0-beta1 2001901 2.2.0-beta2 2001902 ... 2.2.0-beta18 2001918 ... 2.2.0 2002000
$EnableRedirect
$EnableRedirect
to zero causes PmWiki to pause and issue a "Redirect to link" message instead. This is sometimes useful when debugging recipes to be able to see the results of actions before page redirections occur.
This page may have a more recent version on pmwiki.org: PmWiki:BasicVariables, and a talk page: PmWiki:BasicVariables-Talk.