Recent Changes - Search:

add Test page

hide

Test


hide

Topics

show

Changed

Visitor's book Site map pmwiki-2.3.33

Total Counter

MessagesReplacement version 2024-04-10new DebugMessages version 2024-01-14

Testing the Cookbook:TotalCounter recipe


* 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,680,724:{$TotalCount}total pages visited
1271:{$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).
1271:{$PageViews}gives the page views of the page MyPage. Can also be used in pagelist templates.
2024-04-10:{$TotalCounterVersion}displays the current version
30:{$TotalCounterMaxItems}displays the maximum count of items displayed for each chart
1:{$PageCountToday}displays the count of pages visited today

Messages

autotelnew.php


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'

totalcounter\totalcounter

Browser: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) unknown

messagesreplacementnew.php


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

\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

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

pmwikiinfonew.php

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

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'

tahi Page last modified on 2022 Jun 07 22:01

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