Recent Changes - Search:

add Cookbook page

hide

Cookbook


hide

Topics


show

Changed

Visitor's book Site map pmwiki-2.3.32

Pm Wiki Info

To do
  • change skiwi
  • remove this comment
Summary: Display of selected PmWiki Information is a wiki page
Version: 2022-12-28
Prerequisites: PmWiki 2.3.17; PHP 7.4
Status: Stable
Maintainer: skiwi
Licence: GPL3#
Users: (view / edit)
Discussion: PmWikiInfo-Talk

Questions answered by this recipe

How can I view some internal PmWiki information in a wiki page without having to enable the diag action.

Description

This recipe provides markup to select and display a number of internal PmWiki variables.

The directive is called as:

(:pmwikiinfo optional parameters:) and described below.

Installation

Usage

Place the directive, as described below, in your PmWiki page. Parameters are case-insensitive. For example:

(:pmwikiinfo vars recipeinfo:)

If no parameters are supplied this directive will display the directives it accepts.

Attach:pmwikiinfo-output.png Δ|PmWiki Info output (truncated) You can use this recipe to display some internal PmWiki arrays and variables. These include:

and using

  • vars

a number of internal PmWiki variables including: $Author, $AuthorGroup, $CategoryGroup, $CookiePrefix, $DefaultGroup, $DefaultName, $DefaultPage, $GroupFooterFmt, $GroupHeaderFmt, $HandleImageTplFmt, $PageListSortComp, $Skin, $SiteAdminGroup, $SiteGroup, $UploadDir, $UploadDirQuota, $UploadMaxSize, $UploadPrefixFmt, $UploadPrefixQuota, $UploadUrlFmt, $Version

Configuration

config.php settings

You can change the following in config.php. For example

$PmWikiInfoDebug = true; # results may vary

Change log / Release notes

2022-12-30 Refactor from Simple Recipe Template

See also

Contributors

Special thanks to Petko and the PmWiki documenters.

Comments

See discussion at PmWikiInfo-Talk

tahi Page last modified on 2022 Dec 26 12:14

Edit - History - Recent Changes - WikiHelp - Search - email page as link -> mailto:?Subject="KiwiWiki: Pm Wiki Info"&Body=