Variables

< Url approvals | Documentation Index | Functions >

administrators (basic)


List of documented PHP variables

VariableDocumented in
$AsSpacedFunctionBasicVariables
$AuthIDBasicVariables
$AuthorGroupBasicVariables
$AutoCreateEditVariables
$CookiePrefixBasicVariables
$DefaultGroupBasicVariables
$DefaultNameBasicVariables
$DefaultPageBasicVariables
$DefaultPageTextFmtEditVariables
$DeleteKeyPatternEditVariables
$DiffKeepDaysEditVariables
$DraftSuffixEditVariables
$EditFunctionsEditVariables
$EditRedirectFmtEditVariables
$EditTemplatesFmtEditVariables
$EnableDirectDownloadUploadVariables
$EnableDraftsEditVariables
$EnableGUIButtonsEditVariables
$EnableIMSCachingOtherVariables
$EnableMailPostsMailPosts
$EnablePGCustBasicVariables
$EnablePageIndexPagelistVariables
$EnablePageListProtectPagelistVariables
$EnablePathInfoLayoutVariables
$EnablePostAuthorRequiredEditVariables
$EnableUploadUploadVariables
$EnableWSPreBasicVariables
$EnableWikiWordsBasicVariables
$FarmDPathVariables
$FarmPubDirUrlPathVariables
$GroupPatternBasicVariables
$HTMLHeaderFmtLayoutVariables
$HTMLStylesFmtLayoutVariables
$HandleEditFmtEditVariables
$IsPagePostedEditVariables
$LastModifiedByBasicVariables
$LinkPageCreateFmtLinkVariables
$LinkPageCreateSpaceFmtLinkVariables
$LinkPageExistsFmtLinkVariables
$LinkPageSelfFmtLinkVariables
$LinkWikiWordsBasicVariables
$LogoutCookiesBasicVariables
$LogoutRedirectFmtBasicVariables
$MailPostsDelayMailPosts
$MailPostsFileMailPosts
$MailPostsFromMailPosts
$MailPostsFunctionMailPosts
$MailPostsHeadersMailPosts
$MailPostsItemFmtMailPosts
$MailPostsMessageMailPosts
$MailPostsSquelchMailPosts
$MailPostsSubjectMailPosts
$MailPostsTimeFmtMailPosts
$MailPostsToMailPosts
$MakePageNameFunctionLinkVariables
$MaxIncludesLayoutVariables
$MetaRobotsOtherVariables
$NamePatternBasicVariables
$PageCSSListFmtPathVariables
$PageEditFmtEditVariables
$PageEditFormEditVariables
$PageIndexFilePagelistVariables
$PagePathFmtLinkVariables
$PagePreviewFmtEditVariables
$PageRedirectFmtLayoutVariables
$PageSearchFormPagelistVariables
$PubDirUrlPathVariables
$ROSPatternsEditVariables
$RecentChangesFmtLayoutVariables
$ScriptUrlPathVariables
$SearchPatternsOtherVariables
$SiteAdminGroupBasicVariables
$SiteGroupBasicVariables
$SkinLayoutVariables
$SkinDirUrlPathVariables
$SpaceWikiWordsBasicVariables
$TableCellAttrFmtOtherVariables
$TableRowAttrFmtOtherVariables
$TableRowIndexMaxOtherVariables
$TimeFmtBasicVariables
$UploadDirUploadVariables
$UploadPrefixFmtUploadVariables
$UploadUrlFmtUploadVariables
$UrlLinkFmtLinkVariables
$VarPagesFmtI18nVariables
$VersionBasicVariables
$VersionNumBasicVariables
$WikiStyleLayoutVariables
$WikiTitleLayoutVariables
$WikiWordCountLinkVariables
$WikiWordCountMaxLinkVariables
$WikiWordPatternBasicVariables
where is this documented?

This page documents the PHP 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:

The following functions are also controlled by several variables:

  • 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
  • Basic Variables to provide circular trail

The following variables are used in page markup.

  • Page Variables - variables that are associated with pages
  • Page TextVariables - Page variables automatically made available through natural or explicit page markup

An complete index of documented PHP 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.

Note: The automatic variable index and link generation is done by scripts/vardoc.php using $VarPagesFmt to find the pages containing trails of pages with the variable documentation.

There is a slight discrepancy between index generation and link generation: The index generation finds lines starting with a colon followed by "$" and an uppercase word. In contrast, the automatic link generation works only with WikiWords ($WikiWordPattern) preceded by "$". Therefore all "non WikiWord" variables are shown as link only in the list below, but not elsewhere in PmWiki, as $Author, $Version and $XL.

See Also

  • Functions - How some of the functions in pmwiki.php work

Categories: PmWiki Developer

< Url approvals | Documentation Index | Functions >


This page may have a more recent version on pmwiki.org: PmWiki:Variables, and a talk page: PmWiki:Variables-Talk.