Recent Changes - Search:

add Extensions page

hide Extensions

Extensions


hide Topics

Topics

show Changed

Changed

Visitor's book Site map pmwiki-2.3.37

PmWiki Info

To do
  • change skiwi
  • remove this comment

PmWikiInfo version 2024-11-05

Summary: Display of selected PmWiki Information in a wiki page
Version: 2024-05-02
Prerequisites: ExtensionHub; PmWiki 2.3.34; PHP 8.3
Status: Stable
Maintainer: skiwi
Licence: GPL3#
Users: (view / edit)
Discussion: PmWikiInfo-Talk

Questions answered by this extension

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

Description

This extension provides markup for a directive to select and display a number of internal PmWiki variables.

The directive is used as:

(:pmwikiinfo optional parameters:)

and described below.

Extension Installation

This extension requires ExtensionHub.

  • download PmWikiInfo-2024-05-02.zip Δ
  • copy to the /extensions/ directory as PmWikiInfo.zip
  • optionally, but recommended, extract (unzip) the compressed extension folder to the pmwiki/extensions directory
    • ensure the extension's directory name is /PmWikiInfo/; file and folder names are case sensitive on Windows and non-Windows systems.
  • administer from SiteAdmin.ExtensionHub

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. Access to some variables requires admin login.


PmWiki Info output (truncated)

You can use this extension to display some internal PmWiki arrays and variables. These include:

and using the parameter

  • 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

Configuration is carried out through the ExtensionHub configuration page. Currently the only configuration available is to toggle the debug flag to display diagnostic messages.

Internationalisation

There is no internationalisation for this extension (yet).

Change log / Release notes

2024-05-02 convert to extension 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 2024 Sept 14 17:17

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