Recent Changes - Search:



PENN|SEAS|BE|CBE


OUR FEATURE STORIES

Commentary in PNAS, 2010
Research @ Penn, 2010
Rethinking "Pseudo": Science Signaling, 2010
First Computational Oncology Workshop
Social Media: Biophysical Society's BLOG/Tweet, 2011
Social Media: Integrative Biology's BLOG , 2011

Social Media: Integrative Biology's Tweet, 2011

Penn Engineering Magazine, Fall 2011
NSF Highlight 2012
5th Insilico Oncology Meeting
SBE ICBN Meeting
Editorial on Multiscale Cancer Modeling
Penn News 2013


COURSES


COMPUTING



PmWiki

pmwiki.org

edit SideBar

Variables

administrators (basic)


List of documented PHP variables

VariableDocumented in
$AbortFunctionDebugVariables
$ActionSkinLayoutVariables
$AddLinkCSSLinkVariables
$AllowPasswordSecurityVariables
$AsSpacedFunctionBasicVariables
$AuthIdBasicVariables
$AuthLDAPBindDNSecurityVariables
$AuthLDAPBindPasswordSecurityVariables
$AuthLDAPReferralsSecurityVariables
$AuthorBasicVariables
$AuthorGroupBasicVariables
$AuthPwBasicVariables
$AutoCreateEditVariables
$BaseNameBasicVariables
$BaseNamePatternsBasicVariables
$BlockedMessagesFmtBlocklist
$BlocklistActionsBlocklist
$BlocklistDownloadBlocklist
$BlocklistDownloadFmtBlocklist
$BlocklistDownloadRefreshBlocklist
$BlocklistMessageFmtBlocklist
$BlocklistPagesBlocklist
$CategoryGroupBasicVariables
$CookiePrefixBasicVariables
$DefaultEmptyPageTextVarsOtherVariables
$DefaultGroupBasicVariables
$DefaultNameBasicVariables
$DefaultPageBasicVariables
$DefaultPageCharsetI18nVariables
$DefaultPageTextFmtEditVariables
$DefaultPasswordsSecurityVariables
$DefaultUnsetPageTextVarsOtherVariables
$DeleteKeyPatternEditVariables
$DenyHtaccessContentSecurityVariables
$DiffKeepDaysEditVariables
$DiffKeepNumEditVariables
$DraftActionsPatternEditVariables
$DraftRecentChangesFmtLayoutVariables
$DraftSuffixEditVariables
$EditFunctionsEditVariables
$EditRedirectFmtEditVariables
$EditTemplatesFmtEditVariables
$EnableAutoSkinListLayoutVariables
$EnableBlocklistBlocklist
$EnableBlocklistImmediateBlocklist
$EnableCookieHTTPOnlySecurityVariables
$EnableCookieSecureSecurityVariables
$EnableDiagDebugVariables
$EnableDiffInlineLayoutVariables
$EnableDirectDownloadUploadVariables
$EnableDraftAtomicDiffEditVariables
$EnableDraftsEditVariables
$EnableEditAutoTextEditVariables
$EnableFixedUrlRedirectLayoutVariables
$EnableGUIButtonsEditVariables
$EnableGuiEditFixUrlEditVariables
$EnableHighlightLayoutVariables
$EnableIMSCachingDebugVariables
$EnableInputDataAttrOtherVariables
$EnableLinkPageRelativeLinkVariables
$EnableLinkPlusTitlespacedLinkVariables
$EnableLocalConfigBasicVariables
$EnableMarkupDiagDebugVariables
$EnableNotifyNotify
$EnableNotifySubjectEncodeNotify
$EnableNotSavedWarningEditVariables
$EnablePageIndexPagelistVariables
$EnablePageListProtectPagelistVariables
$EnablePageTitlePriorityLayoutVariables
$EnablePageVarAuthSecurityVariables
$EnablePathInfoLayoutVariables
$EnablePGCustBasicVariables
$EnablePostAttrClearSessionSecurityVariables
$EnablePostAuthorRequiredEditVariables
$EnablePreviewChangesEditVariables
$EnablePublishAttrSecurityVariables
$EnableRCDiffBytesLayoutVariables
$EnableRedirectBasicVariables
$EnableRedirectQuietLinkVariables
$EnableRelativePageVarsBasicVariables
$EnableRevUserAgentEditVariables
$EnableRobotCloakActionsSecurityVariables
$EnableROSEscapeEditVariables
$EnableSelfWikiPageCSSLayoutVariables
$EnableSessionPasswordsSecurityVariables
$EnableSimpleTableRowspanLayoutVariables
$EnableSortableLayoutVariables
$EnableStdConfigBasicVariables
$EnableStopWatchDebugVariables
$EnableTableAutoValignTopLayoutVariables
$EnableUndefinedTemplateVarsPagelistVariables
$EnableUploadUploadVariables
$EnableUploadAuthorRequiredEditVariables
$EnableUploadGroupAuthUploadVariables
$EnableUploadOverwriteUploadVariables
$EnableUploadVersionsUploadVariables
$EnableWhyBlockedBlocklist
$EnableWikiWordsBasicVariables
$EnableWSPreBasicVariables
$EnableXLPageScriptLoadI18nVariables
$FarmDPathVariables
$FarmPubDirUrlPathVariables
$FmtPOtherVariables
$FmtPVOtherVariables
$FmtVOtherVariables
$FPLTemplatePageFmtPagelistVariables
$FTimeFmtBasicVariables
$GroupFooterFmtLayoutVariables
$GroupHeaderFmtLayoutVariables
$GroupPatternBasicVariables
$GroupPrintFooterFmtLayoutVariables
$GroupPrintHeaderFmtLayoutVariables
$GUIButtonsEditVariables
$HandleAuthSecurityVariables
$HandleEditFmtEditVariables
$HTMLFooterFmtLayoutVariables
$HTMLHeaderFmtLayoutVariables
$HTMLPNewlineLayoutVariables
$HTMLStylesFmtLayoutVariables
$HTMLTagAttrLayoutVariables
$HTMLVSpaceLayoutVariables
$IMapLinkFmtLinkVariables
$InterMapFilesLinkVariables
$IsPagePostedEditVariables
$LinkCategoryFmtLinkVariables
$LinkPageCreateFmtLinkVariables
$LinkPageCreateSpaceFmtLinkVariables
$LinkPageExistsFmtLinkVariables
$LinkPageSelfFmtLinkVariables
$LinkUploadCreateFmtUploadVariables
$LinkWikiWordsBasicVariables
$LocalDirPathVariables
$LogoutCookiesBasicVariables
$LogoutRedirectFmtBasicVariables
$MailFunctionNotify
$MakePageNameFunctionLinkVariables
$MakePageNamePatternsLinkVariables
$MakePageNameSplitPatternLinkVariables
$MakeUploadNamePatternsUploadVariables
$MarkupMarkupLevelOtherVariables
$MaxIncludesLayoutVariables
$MaxPageTextVarsOtherVariables
$MessagesFmtLayoutVariables
$MetaRobotsLayoutVariables
$NamePatternBasicVariables
$NotifyBodyFmtNotify
$NotifyDelayNotify
$NotifyFileNotify
$NotifyFromNotify
$NotifyHeadersNotify
$NotifyItemFmtNotify
$NotifyListNotify
$NotifyListPageFmtNotify
$NotifyParametersNotify
$NotifySquelchNotify
$NotifySubjectFmtNotify
$NotifyTimeFmtNotify
$PageAttributesSecurityVariables
$PageCacheDirOtherVariables
$PageCSSListFmtPathVariables
$PageEditFmtEditVariables
$PageEditFormEditVariables
$PageIndexFilePagelistVariables
$PageListCacheDirPagelistVariables
$PageListSortCmpFunctionPagelistVariables
$PageListVarFoldFnPagelistVariables
$PageLogoUrlLayoutVariables
$pagenameBasicVariables
$PageNotFoundHeaderFmtLayoutVariables
$PagePathFmtBasicVariables
$PageRedirectFmtLayoutVariables
$PageSearchFormPagelistVariables
$PageSkinListLayoutVariables
$PmTOCLayoutVariables
$PubDirUrlPathVariables
$QualifyPatternsLinkVariables
$RCLinesMaxLayoutVariables
$RecentChangesFmtLayoutVariables
$RecentUploadsFmtLayoutVariables
$RobotActionsSecurityVariables
$RobotPatternSecurityVariables
$ROEPatternsEditVariables
$ROSPatternsEditVariables
$ScriptUrlPathVariables
$SearchBoxInputTypePagelistVariables
$SearchBoxOptPagelistVariables
$SearchPatternsPagelistVariables
$SessionDecodeSecurityVariables
$SessionEncodeSecurityVariables
$SetCookieFunctionSecurityVariables
$SimpleTableDefaultClassNameLayoutVariables
$SiteAdminGroupBasicVariables
$SiteGroupBasicVariables
$SkinBasicVariables
$SkinDirPathVariables
$SkinDirUrlPathVariables
$SkinLibDirsLayoutVariables
$SkinTemplateIncludeLevelLayoutVariables
$SpaceWikiWordsBasicVariables
$TableCellAlignFmtLayoutVariables
$TableCellAttrFmtLayoutVariables
$TableRowAttrFmtLayoutVariables
$TableRowIndexMaxLayoutVariables
$TimeFmtBasicVariables
$ToggleNextSelectorLayoutVariables
$UploadBlacklistUploadVariables
$UploadDirUploadVariables
$UploadDirQuotaUploadVariables
$UploadExtSizeUploadVariables
$UploadMaxSizeUploadVariables
$UploadNameCharsUploadVariables
$UploadPermAddUploadVariables
$UploadPermSetUploadVariables
$UploadPrefixFmtUploadVariables
$UploadPrefixQuotaUploadVariables
$UploadRedirectFunctionUploadVariables
$UploadUrlFmtUploadVariables
$UrlLinkFmtLinkVariables
$VarPagesFmtI18nVariables
$VersionBasicVariables
$VersionNumBasicVariables
$WikiDirPathVariables
$WikiLibDirsPathVariables
$WikiPageCSSFmtLayoutVariables
$WikiPageCSSVarsLayoutVariables
$WikiStyleLayoutVariables
$WikiStyleApplyLayoutVariables
$WikiTitleLayoutVariables
$WikiWordCountLinkVariables
$WikiWordCountMaxLinkVariables
$WikiWordPatternBasicVariables
$WorkDirPathVariables
$XLLangsI18nVariables

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 - How to receive email messages whenever pages are changed on the whole wiki site, individual groups or selected watchlists of pages
  • 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 with "$". Therefore all "non WikiWord" variables are shown as link only in the list below, but not elsewhere in PmWiki, as $XL. 'Author', 'Skin', 'pagename' and 'Version' (preceded with a $-sign) are handled correctly.

See Also

Categories: PmWiki Developer


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

Edit - History - Print - Recent Changes - Search
Page last modified on April 26, 2020, at 04:17 AM