Recent Changes - Search:

add Test Extensions page

hide Test Extensions

Test Extensions


hide Topics

Topics

show Changed

Changed

Visitor's book Site map pmwiki-2.5.9

PmWiki Plus

Extension Hub - PmWikiPlus version 2026-04-27 Category: Extensions SiteAdmin.Extension Hub Testing the PmWikiPlus extension. See PmWiki Cookbook:PmWikiPlus


KiwiWiki Pm Wiki Plus

(:pmwikiplus:)

PmWikiPlus arguments are "show", "form", or "?"

(:pmwikiplus ?:)

PmWikiPlus arguments are "show", "form", or "?"

(:pmwikiplus show:)

PmWikiPlus capabilities

These built-in recipes can be enabled by PmWikiPlus:

These settings can be adjusted by PmWikiPlus:

These additional markups can be enabled PmWikiPlus:

  • Attach     Hide Attach prefix
  • [[\\]]     Line Break. PmWiki has two markups for line break, [[<<]] for Line Break with "clear:both"; \\ which only works at the end of a line.
    This new markup for line break works inside a line.
  • [[<]]      Line Break with "clear:left"
  • [[>]]      Line Break with "clear:right"
  • '* *'      Bold
  • '~ ~'      Italic
(:pmwikiplus form:)

Enable built-in recipes

Important: Before enabling these recipes here they must be disabled in or removed from config.php
Important: This Extension can only enable recipes on pages on which it itself is enabled.
Creole
Delta Bytes Recent Changes
Drag Drop Multi Upload
DeObMail (mailto:)
Edit Help
Fix URL requires $EnableGUIButtons; 2000 = button position
Local CSS
Local Times
Not Saved Warning
PmWiki:Pm Form
Pm Syntax
Preview Changes
Ref Count
Rowspan In Simple Tables
Skins:Skin Change
Sortable Tables
PmWiki:URL Approvals
PmWiki:Web Feeds (atom)
PmWiki:Web Feeds (dc)
PmWiki:Web Feeds (rdf)
PmWiki:Web Feeds (rss)
Note: Configuration in config.php will override settings from PmWikiPlus


Adjust PmWiki settings

Important: This Extension can only adjust PmWiki settings on pages on which it itself is enabled.
PmWiki:Table of Contents (Enable)
PmWiki:Table of Contents (EnableBacklinks)
PmWiki:Table of Contents (Closed)
PmWiki:Enable the Blocklist, 10 = enable standard blocklists
PmWiki:Enable why blocked
PmWiki:Enable Copy Code button
PmWiki:Display GUI Buttons
PmWiki:Hide Attach: prefix
PmWiki:Media (EnableEmbed), available since PmWiki 2.5.10
PmWiki:Media (EnableRemoteEmbed), Disable embedding of remote bare URLs to media files
PmWiki:Media (EnableUploadEmbed), Disable embedding of Attach: bare URLs to media files
PmWiki:Merge Last Minor Edit
Note: Configuration in config.php will override settings from PmWikiPlus


Add additional markup

Attach     Hide Attach prefix
[[\\]]    Line Break, PmWiki has two markups for line break, [[<<]] for Line Break with "clear:both"; \\ which only works at the end of a line.
This new markup for line break works inside a line.

[[<]]     Line Break with "clear:left"
[[>]]     Line Break with "clear:right"
'* *'     Bold
'~ ~'     Italic
Note: Configuration in ' . PMWIKIPLUSNAME . ' will override settings in config.php.


Set the PmWikiPlus internal debug flag:

(:pmwikiplus plus:)

PmWikiPlus configuration items

PmWikiPlus provides an easy and simple way to enable built-in PmWiki recipes.

  • Recipe name                    Enabling variable                setting value         original value        current value         
  • Creole                         $EnableCreole                    "1"                   ""                    ""                    
  • Delta Bytes Recent Changes     $EnableRCDiffBytes               "1"                   "1"                   "1"                   
  • Drag Drop Multi Upload         $EnableUploadDrop                "1"                   ""                    "1"                   
  • DeObMail                       $LinkFunctions ['mailto:']       "ObfuscateLinkIMap"   "LinkIMap"            "ObfuscateLinkIMap"   
  • Edit Help                      $EnableEditAutoText              "1"                   "1"                   "1"                   
  • Fix URL                        $EnableGuiEditFixUrl             "2000"                "2000"                "2000"                
  • Local CSS                      $WikiPageCSSFmt                  "Site.LocalCSS"       ""                    ""                    
  • Local Times                    $EnableLocalTimes                "1"                   "1"                   "1"                   
  • Not Saved Warning              $EnableNotSavedWarning           "1"                   "1"                   "1"                   
  • Pm Form                        $EnablePmForm                    "1"                   "1"                   "1"                   
  • Pm Syntax                      $EnablePmSyntax                  "2"                   "2"                   "2"                   
  • Preview Changes                $EnablePreviewChanges            "1"                   "1"                   "1"                   
  • Ref Count                      $EnableRefCount                  "1"                   ""                    ""                    
  • Rowspan In Simple Tables       $EnableSimpleTableRowspan        "1"                   "1"                   "1"                   
  • Skin Change                    $EnableAutoSkinList              "1"                   ""                    ""                    
  • Sortable Tables                $EnableSortable                  "1"                   "1"                   "1"                   
  • URL Approvals                  $EnableUrlApprove                "1"                   "1"                   "1"                   
  • Web Feeds                      $EnableFeeds ['atom']            "1"                   "1"                   "1"                   
  • Web Feeds                      $EnableFeeds ['dc']              "1"                   "1"                   "1"                   
  • Web Feeds                      $EnableFeeds ['rdf']             "1"                   "1"                   "1"                   
  • Web Feeds                      $EnableFeeds ['rss']             "1"                   "1"                   "1"                   

PmWikiPlus provides an easy and simple way to adjust built-in PmWiki settings.

  • Recipe name                    Enabling variable                setting value         original value        current value         
  • Table of Contents              $PmToC ['Enable']                "1"                   ""                    ""                    
  • Table of Contents              $PmToC ['EnableBacklinks']       "1"                   ""                    ""                    
  • Table of Contents              $PmToC ['Closed']                "1"                   ""                    ""                    
  • Enable the Blocklist           $EnableBlocklist                 "10"                  "10"                  "10"                  
  • Enable why blocked             $EnableWhyBlocked                "1"                   "1"                   "1"                   
  • Enable Copy Code button        $EnableCopyCode                  "1"                   "1"                   "1"                   
  • Display GUI Buttons            $EnableGUIButtons                "1"                   "1"                   "1"                   
  • Hide Attach: prefix            $EnableHideAttachPrefix          "1"                   ""                    ""                    
  • Media                          $PmMedia ['EnableEmbed']         "1"                   ""                    ""                    
  • Media                          $PmMedia ['EnableRemoteEmbed']   "1"                   ""                    ""                    
  • Media                          $PmMedia ['EnableUploadEmbed']   "1"                   ""                    ""                    
  • Merge Last Minor Edit          $EnableMergeLastMinorEdit        "1"                   "1"                   "1"                   

PmWikiPlus provides a way to enable additional PmWiki markup.
Attach     Hide Attach prefix
[[\\]]     Line Break, PmWiki has two markups for line break, [[<<]] for Line Break with "clear:both"; \\ which only works at the end of a line.
This new markup for line break works inside a line.

[[<]]      Line Break with "clear:left"
[[>]]      Line Break with "clear:right"
'* *'      Bold
'~ ~'      Italic

(:pmwikiplus dump:)

PmWikiPlus working data

Recipe list

key  rGrp  rName  rNote  rPage  rVidx  rVrbl  setVal  xSet  zSet  globalVal link
enableCREOL (Cookbook:) Creole Creole "" $EnableCreole 1 "" Creole
enableDBRCH (Cookbook:) Delta Bytes Recent Changes DeltaBytesRecentChanges "" $EnableRCDiffBytes 1 1 1 "1" Delta Bytes Recent Changes
enableDDMUP (Cookbook:) Drag Drop Multi Upload DragDropMultiUpload "" $EnableUploadDrop 1 1 "1" Drag Drop Multi Upload
enableDOBML (Cookbook:) DeObMail DeObMail "mailto:" $LinkFunctions ObfuscateLinkIMap LinkIMap ObfuscateLinkIMap "ObfuscateLinkIMap" DeObMail
enableEDHLP (Cookbook:) Edit Help EditHelp "" $EnableEditAutoText 1 1 1 "1" Edit Help
enableFIXUR (Cookbook:) Fix URL requires $EnableGUIButtons; 2000 = button position FixURL "" $EnableGuiEditFixUrl 2000 2000 2000 "2000" Fix URL
enableLOCSS (Cookbook:) Local CSS LocalCSS "" $WikiPageCSSFmt Site.LocalCSS "" Local CSS
enableLOCTM (Cookbook:) Local Times LocalTimes "" $EnableLocalTimes 1 1 1 "1" Local Times
enableNSAVW (Cookbook:) Not Saved Warning NotSavedWarning "" $EnableNotSavedWarning 1 1 1 "1" Not Saved Warning
enablePMFRM PmWiki: Pm Form PmForm "" $EnablePmForm 1 1 1 "1" Pm Form
enablePMSYN (Cookbook:) Pm Syntax PmSyntax "" $EnablePmSyntax 2 2 2 "2" Pm Syntax
enablePVCHA (Cookbook:) Preview Changes PreviewChanges "" $EnablePreviewChanges 1 1 1 "1" Preview Changes
enableRFCNT (Cookbook:) Ref Count PreviewChanges "" $EnableRefCount 1 "" Ref Count
enableRWSPN (Cookbook:) Rowspan In Simple Tables "" $EnableSimpleTableRowspan 1 1 1 "1" (Cookbook:)Rowspan In Simple Tables
enableSKNCH Skins: Skin Change "" $EnableAutoSkinList 1 "" Skins:Skin Change
enableSRTBL (Cookbook:) Sortable Tables "" $EnableSortable 1 1 1 "1" (Cookbook:)Sortable Tables
enableURLAP PmWiki: URL Approvals "" $EnableUrlApprove 1 1 1 "1" PmWiki:URL Approvals
enableWFATM PmWiki: Web Feeds "atom" $EnableFeeds 1 1 1 "1" PmWiki:Web Feeds
enableWFDC PmWiki: Web Feeds "dc" $EnableFeeds 1 1 1 "1" PmWiki:Web Feeds
enableWFRDF PmWiki: Web Feeds "rdf" $EnableFeeds 1 1 1 "1" PmWiki:Web Feeds
enableWFRSS PmWiki: Web Feeds "rss" $EnableFeeds 1 1 1 "1" PmWiki:Web Feeds

Setting list

key  rGrp  rName  rNote  rPage  rVidx  rVrbl  setVal  xSet  zSet  globalVal link
enableAUTOC PmWiki: Table of Contents "Enable" $PmToC 1 "" PmWiki:Table of Contents
enableAUTOCBLKLST PmWiki: Table of Contents "EnableBacklinks" $PmToC 1 "" PmWiki:Table of Contents
enableAUTOCCLS PmWiki: Table of Contents "Closed" $PmToC 1 "" PmWiki:Table of Contents
setBLKLST PmWiki: Enable the Blocklist 10 = enable standard blocklists Blocklist "" $EnableBlocklist 10 10 10 "10" Enable the Blocklist
setBLKWHY PmWiki: Enable why blocked Blocklist "" $EnableWhyBlocked 1 1 1 "1" Enable why blocked
setCOPYCD PmWiki: Enable Copy Code button LayoutVariables "" $EnableCopyCode 1 1 1 "1" Enable Copy Code button
setGUIBTN PmWiki: Display GUI Buttons EditVariables "" $EnableGUIButtons 1 1 1 "1" Display GUI Buttons
setHIDATC PmWiki: Hide Attach: prefix UploadVariables#EnableHideAttachPrefix "" $EnableHideAttachPrefix 1 "" Hide Attach: prefix
setMDAMBD PmWiki: Media available since PmWiki 2.5.10 Media "EnableEmbed" $PmMedia 1 "" Media
setMDARMT PmWiki: Media Disable embedding of remote bare URLs to media files Media "EnableRemoteEmbed" $PmMedia 1 "" Media
setMDAUPL PmWiki: Media Disable embedding of Attach: bare URLs to media files Media "EnableUploadEmbed" $PmMedia 1 "" Media
setMRGLME PmWiki: Merge Last Minor Edit EditVariables "" $EnableMergeLastMinorEdit 1 1 1 "1" Merge Last Minor Edit

Markup list

markupList key   Bold    Italic  /'\*(.*?)\*'/  /(.*?)/  /\[\[>\]\]/  /\[\[<\]\]/  /\[\[\\\\]\]/  /\bAttach:([^\s<>"{}|\\^`()[\]']*[^\s.,?!<>"{}|\\^`()[\]'])/  $1 
 

 

 
$1  >img  Attach  Cookbook:AttachLinks  Hide Attach prefix  Line Break  Line Break with "clear:left"  Line Break with "clear:right"  PmWiki has two markups for line break, [[<<]] for Line Break with "clear:both"; \\ which only works at the end of a line.
This new markup for line break works inside a line.
 
PmWikiPlus\MarkupAttachLink  <<  <  > 
 
inline  link
muAtch Attach "/\bAttach:([^\s<>"{}|\\^`()[\]']*[^\s.,?!<>"{}|\\^`()[\]'])/" "PmWikiPlus\MarkupAttachLink" >img Hide Attach prefix Hide Attach prefix
muBrk [[\\]] "/\[\[\\\\]\]/" "<br style="clear:none;" />" [[<<]] Line Break
muBrkCL [[<]] "/\[\[<\]\]/" "<br style='clear:left;' />" [[<<]] Line Break with "clear:left"
muBrkCR [[>]] "/\[\[>\]\]/" "<br style='clear:right;' />" [[<<]] Line Break with "clear:right"
muLnBold '* *' "/'\*(.*?)\*'/" "<b>$1</b>" inline Bold
muLnItalic '~ ~' "/'~(.*?)~'/" "<i>$1</i>" inline Italic
(:pmwikiplus conf:)

PmWikiPlus configuration from the Extension Hub

xPriority 101
xAction *
=path D:\Home\KiwiWiki\pmwiki\extensions/PmWikiPlus/PmWikiPlus.php
=dir D:\Home\KiwiWiki\pmwiki\extensions/PmWikiPlus
=url https://kiwiwiki.nz/pmwiki/extensions/PmWikiPlus
=conf
xEnabled 1
xNamePatterns *
_xversions 2025-12-14 2026-04-26
debugPmWikiPlus true
enableDBRCH true
enableDDMUP true
enableDOBML true
enableFIXUR true
enableLOCTM true
enableNSAVW true
enablePMSYN true
muAtch true
muBrk true
muBrkCL true
muBrkCR true
muLnBold true
muLnItalic true
setBLKLST true
setBLKWHY true
setGUIBTN true

PmWikiPlus custom fields exist only if the submitted values are not empty.

  • D:\Home\KiwiWiki\pmwiki/local/farmconfig.php not yet included
  • local/config.php not yet included
  • config.php not yet included

Test markup section

Attach:Emptyfile.txt
Attach:[=Empty file=].txt

PmWiki has two markups for line break, %pmhlt%[@[[<<]]@] for Line Break with "@@clear:both@@"; [@\\@] which only works at the end of a line. [[\\]] These markups for line breaks work inside a line.
* The markup %pmhlt%[@[[\\]]@] provides an inline Line Break [[\\]]''without'' "@@clear:left@@" or "@@clear:right@@".
* Markup %pmhlt%[@[[<]]@] inline Line Break [[<]]''with'' "@@clear:left@@"
* Markup %pmhlt%[@[[>]]@] inline Line Break [[>]]''with'' "@@clear:right@@"
* '*%pmhlt%[@'* Bold markup *'@]*', contrast this with '''strong  markup'''.
* '~%pmhlt%[@'~ Italic markup ~'@]~', contrast this with ''emphasis markup''.

Emptyfile.txt Empty file.txt

PmWiki has two markups for line break, [[<<]] for Line Break with "clear:both"; \\ which only works at the end of a line.
These markups for line breaks work inside a line.

  • The markup [[\\]] provides an inline Line Break
    without "clear:left" or "clear:right".
  • Markup [[<]] inline Line Break
    with "clear:left"
  • Markup [[>]] inline Line Break
    with "clear:right"
  • '* Bold markup *', contrast this with strong markup.
  • '~ Italic markup ~', contrast this with emphasis markup.

pmwikiplus
D:\Home\KiwiWiki\pmwiki\extensions\PmWikiPlus\PmWikiPlus.php= 2026-04-27
confPmWikiPlus[=dir]= D:\Home\KiwiWiki\pmwiki\extensions/PmWikiPlus
confPmWikiPlus[=url]= https://kiwiwiki.nz/pmwiki/extensions/PmWikiPlus
confPmWikiPlus[_xversions]= 2025-12-14 2026-04-26
confPmWikiPlus[debugPmWikiPlus]= true
confPmWikiPlus[enableDBRCH]= true
confPmWikiPlus[enableDDMUP]= true
confPmWikiPlus[enableDOBML]= true
confPmWikiPlus[enableFIXUR]= true
confPmWikiPlus[enableLOCTM]= true
confPmWikiPlus[enableNSAVW]= true
confPmWikiPlus[enablePMSYN]= true
confPmWikiPlus[muAtch]= true
confPmWikiPlus[muBrk]= true
confPmWikiPlus[muBrkCL]= true
confPmWikiPlus[muBrkCR]= true
confPmWikiPlus[muLnBold]= true
confPmWikiPlus[muLnItalic]= true
confPmWikiPlus[setBLKLST]= true
confPmWikiPlus[setBLKWHY]= true
confPmWikiPlus[setGUIBTN]= true
form key= "enableCREOL" key not found on form
global= enableDBRCH $ EnableRCDiffBytes        is already enabled (1)
global= enableDDMUP $ EnableUploadDrop         set to "1"
global= enableDOBML $ LinkFunctions            is already enabled (LinkIMap)
form key= "enableEDHLP" key not found on form
global= enableFIXUR $ EnableGuiEditFixUrl      is already enabled (2000)
form key= "enableLOCSS" key not found on form
global= enableLOCTM $ EnableLocalTimes         is already enabled (1)
global= enableNSAVW $ EnableNotSavedWarning    is already enabled (1)
form key= "enablePMFRM" key not found on form
global= enablePMSYN $ EnablePmSyntax           is already enabled (2)
form key= "enablePVCHA" key not found on form
form key= "enableRFCNT" key not found on form
form key= "enableRWSPN" key not found on form
form key= "enableSKNCH" key not found on form
form key= "enableSRTBL" key not found on form
form key= "enableURLAP" key not found on form
form key= "enableWFATM" key not found on form
form key= "enableWFDC" key not found on form
form key= "enableWFRDF" key not found on form
form key= "enableWFRSS" key not found on form
form key= "enableAUTOC" key not found on form
form key= "enableAUTOCBLKLST" key not found on form
form key= "enableAUTOCCLS" key not found on form
global= setBLKLST  $ EnableBlocklist          is already enabled (10)
global= setBLKWHY  $ EnableWhyBlocked         is already enabled (1)
form key= "setCOPYCD" key not found on form
global= setGUIBTN  $ EnableGUIButtons         is already enabled (1)
form key= "setHIDATC" key not found on form
form key= "setMDAMBD" key not found on form
form key= "setMDARMT" key not found on form
form key= "setMDAUPL" key not found on form
form key= "setMRGLME" key not found on form
markup= muAtch     Attach     configured
markup= muBrk      [[\\]]     configured
markup= muBrkCL    [[<]]      configured
markup= muBrkCR    [[>]]      configured
markup= muLnBold   '* *'      configured
markup= muLnItalic '~ ~'      configured
m[]= (:pmwikiplus:)
m[]=
args[]=
m[]= (:pmwikiplus ?:)
m[]= ?
args[]= Array
args[]= Array
m[]= (:pmwikiplus show:)
m[]= show
args[]= Array
args[]= Array
m[]= (:pmwikiplus form:)
m[]= form
args[]= Array
args[]= Array
m[]= (:pmwikiplus plus:)
m[]= plus
args[]= Array
args[]= Array
m[]= (:pmwikiplus dump:)
m[]= dump
args[]= Array
args[]= Array
m[]= (:pmwikiplus conf:)
m[]= conf
args[]= Array
args[]= Array

tahi Page last modified on 2026 Apr 27 13:30

Edit - History - Recent Changes - WikiHelp - Search - ?Subject="KiwiWiki: Pm Wiki Plus"&Body="From KiwiWiki: Pm Wiki Plus (https://kiwiwiki [period] nz/TestExtensions/PmWikiPlus) - Testing the [[Extensions/PmWikiPlus extension. See PmWiki Cookbook:PmWikiPlus" | email page as link ]]