This page documents the variables available in PmWiki for local customizations. Much of this documentation is still incomplete but people are working on it now. Feel free to add placeholders for variables you want to have documented if you don't know what the variable does.
The variables documentation is divided into several pages
PHP Variables
- Basic Variables - core variables
- Debug Variables - variables useful for debugging
- Edit Variables - variables used when editing pages
- I18n Variables - variables used for internationalization (i18n)
- Layout Variables - variables that control page layout
- Link Variables - variables that control the display of links in pages
- Other Variables - Variables not yet classified
- Pagelist Variables - variables used with page lists and search results
- Path Variables - variables used to specify various locations on the server
- Security Variables - variables crucial for site security
- Upload Variables - variables used for uploads/attachments
PmWiki Page Variables - set and used only in PmWiki pages
- Page Variables - variables that are associated with pages
- Page TextVariables - Page variables automatically made available through natural or explicit page markup
- Markup Expressions - String and formatting operations
A complete index of documented variables is given below.
In general, variables with names ending in 'Fmt' (such as $PageLayoutFmt) have their values processed for $-variable substitutions prior to being output. Thus strings such as {$Name}
and {$PageUrl}
are replaced with the name and URL of the page when the string is printed.
See Also
- Blocklist - Blocking IP addresses, phrases, and expressions to counteract spam and vandalism.
- Notify - Allows a site administrator to configure PmWiki to send email messages whenever pages are changed on the wiki site
- Functions - How some of the functions in pmwiki.php work
This page may have a more recent version on pmwiki.org: PmWiki:Variables, and a talk page: PmWiki:Variables-Talk.