Recent Changes - Search:

add Test page

hide Test

Test


hide Topics

Topics

show Changed

Changed

Visitor's book Site map pmwiki-2.3.37

Total Counter

MessagesReplacement version 2024-09-16new

Testing the Cookbook:TotalCounter recipe

TotalCounter version 2024-11-04

* total {$TotalCount}
* page {$PageCount}
* [[{$FullName}?action=totalcounter | Click here for TotalCounter usage statistics]]
example
||{$TotalCount}:           ||[={$TotalCount}=]           ||total pages visited 
||{$PageCount}:            ||[={$PageCount}=]            ||current page views. This is the same that is used by the SimplePageCounter, so an upgrade to TotalCounter is not possible without changing the markup (but will lose old counts). 
||{$PageViews}:            ||[={$PageViews}=]            ||gives the page views of the page MyPage. Can also be used in pagelist templates. 
||{$TotalCounterVersion}:  ||[={$TotalCounterVersion}=]  ||displays the current version 
||{$TotalCounterMaxItems}: ||[={$TotalCounterMaxItems}=] ||displays the maximum count of items displayed for each chart 
||{$PageCountToday}:       ||[={$PageCountToday}=]       ||displays the count of pages visited today
5,694,154:{$TotalCount}total pages visited
1,369:{$PageCount}current page views. This is the same that is used by the SimplePageCounter, so an upgrade to TotalCounter is not possible without changing the markup (but will lose old counts).
1,369:{$PageViews}gives the page views of the page MyPage. Can also be used in pagelist templates.
2024-11-04:{$TotalCounterVersion}displays the current version
30:{$TotalCounterMaxItems}displays the maximum count of items displayed for each chart
2:{$PageCountToday}displays the count of pages visited today

(:pagelist group=Aotearoa count=4 order=-{$PageCount} thevar="{$PageCount}" fmt=#tc-pc list=normal:)
PageCounter"1,369"
Aotearoa.Days#=1,369
Aotearoa.HomePage#=1,369
Aotearoa.Kiwiisms#=1,369
Aotearoa.Pages#=1,369
(:pagelist group=Aotearoa count=4 order=-{$TotalCount} thevar="{$TotalCount}" fmt=#tc-tc list=normal:)
TotalCount"5,694,154"
Aotearoa.Days#=5,694,154
Aotearoa.HomePage#=5,694,154
Aotearoa.Kiwiisms#=5,694,154
Aotearoa.Pages#=5,694,154
(:pagelist group=Aotearoa count=4 order=-{$PageViews} thevar={$PageViews} fmt=#tc-pv list=normal:)
PageViews"1,369"
Aotearoa.Days#=5,410
Aotearoa.HomePage#=1,535,479
Aotearoa.Kiwiisms#=13,140
Aotearoa.Pages#=7,521
(:pagelist group=Aotearoa count=4 order=-{$PageCountToday} thevar='{$PageCountToday}' fmt=#tc-pct list=normal:)
PageCountToday"2"
Aotearoa.Days#=4
Aotearoa.HomePage#=461
Aotearoa.Kiwiisms#=3
Aotearoa.Pages#=2
>>comment<<
[[#tc-pc]]
(:template first:)
||!PageCounter ||!"{$$thevar}" ||
(:template each:)
||[-{=$Group}.-]{=$Name} ||#={=$PageCount} ||
[[#tc-pcend]]

[[#tc-tc]]
(:template first:)
||!TotalCount ||!"{$$thevar}" ||
(:template each:)
||[-{=$Group}.-]{=$Name} ||#={=$TotalCount} ||
[[#tc-tcend]]

[[#tc-pv]]
(:template first:)
||!PageViews ||!"{$$thevar}" ||
(:template each:)
||[-{=$Group}.-]{=$Name} ||#={=$PageViews} ||
[[#tc-pvend]]

[[#tc-pct]]
(:template first:)
||!PageCountToday ||!"{$$thevar}" ||
(:template each:)
||[-{=$Group}.-]{=$Name} ||#={=$PageCountToday} ||
[[#tc-pctend]]
>><<

(:template first:)

PageCounter"{$$thevar}"

(:template each:)

{=$Group}.{=$Name}#={=$PageCount}

(:template first:)

TotalCount"{$$thevar}"

(:template each:)

{=$Group}.{=$Name}#={=$TotalCount}

(:template first:)

PageViews"{$$thevar}"

(:template each:)

{=$Group}.{=$Name}#={=$PageViews}

(:template first:)

PageCountToday"{$$thevar}"

(:template each:)

{=$Group}.{=$Name}#={=$PageCountToday}


Messages

autotelnew\autotelnew

autotelnew\autotelnew


D:\Home\KiwiWiki\pmwiki\cookbook\autotelnew.php: 2024-04-10new
defaults: +64; 4; 0
ignorePrefix: "(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))"
ignoreSuffix: (?!\s?[0-9])
visualSeparatorVal: \s|[-]|\&nbsp;|\&\#8209;
visualSeparator: (?:\s|[-]|\&nbsp;|\&\#8209;)
openParen: [\(]?
closParen: (?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) )
countryCode: (\+\d{1,3})
countryCodeSep: (?:(\+\d{1,3}) (?:\s|[-]|\&nbsp;|\&\#8209;) ? )
areaCodeMobl: ((?:[\(]0?\d{2}[\)] | [\(]? 0?\d{2}(?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) ) (?:\s|[-]|\&nbsp;|\&\#8209;) ?)
areaCodeLand: ((?:[\(]0?\d{1}[\)] | [\(]? 0\d{1}(?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) ) (?:\s|[-]|\&nbsp;|\&\#8209;) ?)
serviceCode: (0[58]\d{2,2})
subscriberNumberMobile: (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3,4})
subscriberNumberLand: (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{4}|\d{4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3})
srve: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))[\(]? (0[58]\d{2,2}) (?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3,4}) (?!\s?[0-9])/xi
mobl: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))(?:(\+\d{1,3}) (?:\s|[-]|\&nbsp;|\&\#8209;) ? ) ? ((?:[\(]0?\d{2}[\)] | [\(]? 0?\d{2}(?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) ) (?:\s|[-]|\&nbsp;|\&\#8209;) ?) (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3,4}) (?!\s?[0-9])/xi
land: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))(?:(?:(\+\d{1,3}) (?:\s|[-]|\&nbsp;|\&\#8209;) ? ) ? ((?:[\(]0?\d{1}[\)] | [\(]? 0\d{1}(?:[\)]|[\)]?(?:\s|[-]|\&nbsp;|\&\#8209;) ) ) (?:\s|[-]|\&nbsp;|\&\#8209;) ?) )? (\d{3}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{4}|\d{4}(?:\s|[-]|\&nbsp;|\&\#8209;) \d{3}) (?!\s?[0-9])/xi
\nztoponew\nztoponew

\nztoponew\nztoponew


D:\Home\KiwiWiki\pmwiki\cookbook\nztoponew.php
: '2024-04-10new'

markup: '/\(:nztopo\s+?((?:ll=[+-]?\d{1,2}[.]\d+[,][+-]?[1]?\d{1,2}[.]\d+)|(?:llbs=[+-]?\d{1,2}[.]\d+[,][+-]?[1]?\d{1,2}[.]\d+(?:[;][+-]?\d{1,2}[.]\d+[,][+-]?[1]?\d{1,2}[.]\d+)+)|(?:kml=(?:(?<q1>\'|\")(?:https?:\/\/.*)\k<q1>|(?<q2>\'|\"|)(?:(?:[-~,[:alnum:]\x80-\xfe]+(?:\.|\/)){0,2}[-\w\.\, !=\+\#\x80-\xfe]+\.kml)\k<q2>|https?:\/\/[^\s]*))|(?:gpx=(?:(?<q6>\'|\"|)(?:(?:[-~,[:alnum:]\x80-\xfe]+(?:\.|\/)){0,2}[-\w\.\, !=\+\#\x80-\xfe]+\.gpx)\k<q6>|(?<q7>\'|\")(?:https?:\/\/.*)\k<q7>|https?:\/\/[^\s]*))|(?:nzne=\d{7}(?:[.]\d{0,3})?[,]\d{7}(?:[.]\d{0,3})?)|(?:nzbs=\d{7}(?:[.]\d{0,3})?[,]\d{7}(?:[.]\d{0,3})?(?:[;]\d{7}(?:[.]\d{0,3})?[,]\d{7}(?:[.]\d{0,3})?)+)|(?:mapref=(?<q8>\'|\"|)(?:[ABC][A-Z][0-4]\d[ ]?\d{6})\k<q8>)|(?:kml2=(?:(?<q3>\'|\")(?:https?:\/\/.*)\k<q3>|https?:\/\/[^\s]*))|(?:kml3=(?:(?<q4>\'|\")(?:https?:\/\/.*)\k<q4>|https?:\/\/[^\s]*))|(?:kml4=(?:(?<q5>\'|\")(?:https?:\/\/.*)\k<q5>|https?:\/\/[^\s]*)))\s*?(?:(height=\d{1,5}(?:px)?)\s*|(width=\d{1,5}(?:px)?)\s*|(pin=[01])\s*|(label=(?<q9>\'|\")(?:.+?)\k<q9>)\s*|(zoom=\d{1,2})\s*|(float=(?:left|right))\s*|(clear=(?:left|right|both))\s*){0,7}\s*?(?:(caption=(?<q10>\'|\")(?:.+?)\k<q10>)\s*){0,1}\s*?:\)/i'

chordpronew

chordpronew

D:\Home\KiwiWiki\pmwiki\cookbook\chordpronew.php: '2022-12-01new'

simplerecipenew\simplerecipe

simplerecipenew\simplerecipe


nzdocnew

nzdocnew


D:\Home\KiwiWiki\pmwiki\cookbook\nzdocnew.php
: '2024-04-10new'


markup: '/\(:nzdoc\s*(?:(?:(id=(?:[0-9]{9}|[0-9\-a-f]{36}|(?:NZ|DOC)-[a-z]{3}|[\\&\&#8217;'\(\)\.\-\/a-z&#257;&#275;&#299;&#333;&#363;]+))|(type=(?<q1>\'|\"|)(?:hut|track|campsite)\k<q1>)|(content=(?:alert|detail|region|all|dump|check|find|list))|(show=alert(s)?; #(?:[a-z]+,)*[a-z]+))\s*){1,4}(?:(?:(h=[12345])|(float=(?:left|right))|(clear=(?:left|right|both)))\s*){0,4}\s*:\)/i'

return: 'NZDoCnew'

pmwikiplus

pmwikiplus


D:\Home\KiwiWiki\pmwiki\extensions\PmWikiPlus\PmWikiPlus.php= 2024-08-19
confPmWikiPlus[debugPmWikiPlus]= true
confPmWikiPlus[=dir]= D:\Home\KiwiWiki\pmwiki\extensions/PmWikiPlus
confPmWikiPlus[=url]= http://kiwiwiki.co.nz/pmwiki/extensions/PmWikiPlus
confPmWikiPlus[enableCREOL]= false
confPmWikiPlus[enableDBRCH]= true
confPmWikiPlus[enableDDMUP]= true
confPmWikiPlus[enableDOBML]= true
confPmWikiPlus[enableEDHLP]= false
confPmWikiPlus[enableFIXUR]= true
confPmWikiPlus[enableLOCTM]= true
confPmWikiPlus[enableNSAVW]= true
confPmWikiPlus[enablePMFRM]= false
confPmWikiPlus[enablePMSYN]= true
confPmWikiPlus[enablePVCHA]= false
confPmWikiPlus[enableRFCNT]= false
confPmWikiPlus[enableRWSPN]= false
confPmWikiPlus[enableSKNCH]= false
confPmWikiPlus[enableSRTBL]= false
confPmWikiPlus[enableURLAP]= false
confPmWikiPlus[enableWFATM]= false
confPmWikiPlus[enableWFDC]= false
confPmWikiPlus[enableWFRDF]= false
confPmWikiPlus[enableWFRSS]= false
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[setCOPYCD]= false
confPmWikiPlus[setGUIBTN]= true
confPmWikiPlus[setMRGLME]= false
param= enableCREOL $ EnableCreole             not changed to ""
global= enableDBRCH $ EnableRCDiffBytes        is already enabled (1)
global= enableDDMUP $ EnableUploadDrop         set to "1"
global= enableDOBML $ LinkFunctions            is already enabled (ObfuscateLinkIMap)
param= enableEDHLP $ EnableEditAutoText       not changed to "1"
global= enableFIXUR $ EnableGuiEditFixUrl      is already enabled (2000)
global= enableLOCTM $ EnableLocalTimes         is already enabled (1)
global= enableNSAVW $ EnableNotSavedWarning    is already enabled (1)
param= enablePMFRM $ EnablePmForm             not changed to ""
global= enablePMSYN $ EnablePmSyntax           is already enabled (2)
param= enablePVCHA $ EnablePreviewChanges     not changed to "1"
param= enableRFCNT $ EnableRefCount           not changed to ""
param= enableRWSPN $ EnableSimpleTableRowspan not changed to "1"
param= enableSKNCH $ EnableAutoSkinList       not changed to "1"
param= enableSRTBL $ EnableSortable           not changed to "1"
param= enableURLAP $ EnableUrlApprove         not changed to ""
param= enableWFATM $ EnableFeeds atom         not changed to ""
param= enableWFDC $ EnableFeeds dc           not changed to ""
param= enableWFRDF $ EnableFeeds rdf          not changed to ""
param= enableWFRSS $ EnableFeeds rss          not changed to ""
global= setBLKLST  $ EnableBlocklist          is already enabled (10)
global= setBLKWHY  $ EnableWhyBlocked         is already enabled (1)
param= setCOPYCD  $ EnableCopyCode           not changed to "1"
global= setGUIBTN  $ EnableGUIButtons         is already enabled (1)
param= setMRGLME  $ EnableMergeLastMinorEdit not changed to "1"
markup= muAtch     Attach     configured
markup= muBrk      [[\\]]     configured
markup= muBrkCL    [[<]]      configured
markup= muBrkCR    [[>]]      configured
markup= muLnBold   '* *'      configured
markup= muLnItalic '~ ~'      configured
messagesreplacementnew

messagesreplacementnew


= D:\Home\KiwiWiki\pmwiki\extensions\MessagesReplacementnew\MessagesReplacementnew.php 2024-09-16new
confMessagesReplacement[MessagesReplacementDebug]= off
confMessagesReplacement[MessagesReplacementHeading]= on
confMessagesReplacement[MessagesReplacementDetail]= hide
confMessagesReplacement[=dir]= D:\Home\KiwiWiki\pmwiki\extensions/MessagesReplacementnew
confMessagesReplacement[=url]= http://kiwiwiki.co.nz/pmwiki/extensions/MessagesReplacementnew
kwtlquestionvars.php

kwtlquestionvars.php

<hr>D:\Home\KiwiWiki\pmwiki\extensions\KWTLQuestionVars\KWTLQuestionVars.php: '2024-06-30'
conf[]: akey: debugKWTLQuestionVars, =dir, =url, KWTLQuestionVarsHidden
Array ( [debugKWTLQuestionVars] => true [=dir] => D:\Home\KiwiWiki\pmwiki\extensions/KWTLQuestionVars [=url] => http://kiwiwiki.co.nz/pmwiki/extensions/KWTLQuestionVars [KWTLQuestionVarsHidden] => hidden )

pmwikiinfo.php

pmwikiinfo.php

<hr>D:\Home\KiwiWiki\pmwiki\extensions\PmWikiInfo\PmWikiInfo.php: '2024-09-10'
conf[]: akey: debugKWTLQuestionVars, debugPmWikiInfo, stylesPmWikiInfo, =dir, =url
Array ( [debugKWTLQuestionVars] => [debugPmWikiInfo] => false [stylesPmWikiInfo] => [=dir] => D:\Home\KiwiWiki\pmwiki\extensions/PmWikiInfo [=url] => http://kiwiwiki.co.nz/pmwiki/extensions/PmWikiInfo )

PmWiki Info markup: '/\(:pmwikiinfo(.*)?:\)/i'

tahi Page last modified on 2024 Oct 28 09:12

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