Changes between Version 3 and Version 4 of VisitCounterMacro


Ignore:
Timestamp:
Nov 13, 2015, 10:30:22 AM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • VisitCounterMacro

    v3 v4  
    11[[PageOutline(2-5,Contents,pullout)]]
     2
    23= Display number of page visits
    34
    45== Description
    56
    6 Macro displays how many times was wiki page displayed.
     7This is a macro that displays how many times a wiki page was displayed.
    78
    8 This macro accepts from one to three parameters. First parameter is wiki page
    9 name which visit count you want to display. Other parameters are optional.
    10 Second parameter determines if displaying of macro should update specified page
    11 visit count. Accepted values of this parameter are: True, False, true, false,
    12 1, 0. Default value is true. Third parameter specifies number of digits for
    13 visit count display. If its value is 0 then visit count is displayed as simple
    14 text. Default value is 4.
     9This macro accepts from one to three parameters, of which only the first is required.
    1510
    16 In trac.ini configuration file you can specify time after what cookie used to
    17 store information about visited pages on client expires in seconds (0 means
    18 as long as session lasts):
     11 1. The first parameter is the wiki page name, of which the visit count is to be displayed.
     12 1. The second parameter determines if displaying the macro should update the specified page visit count. Accepted values of this parameter are: True, False, true, false, 1, 0. Default value is true.
     13 1. The third parameter specifies number of digits for visit count display. If its value is 0 then visit count is displayed as simple text. Default value is 4.
     14
     15In the `trac.ini` configuration file you can specify time after what cookie used to store information about visited pages on client expires in seconds (0 means as long as session lasts):
    1916
    2017{{{#!ini
     
    2926
    3027If you have any issues, create a
    31 [/newticket?component=VisitCounterMacro&owner=Blackhex new ticket] but read BugReporting page first, please.
     28[/newticket?component=VisitCounterMacro new ticket].
     29
     30[[TicketQuery(component=VisitCounterMacro&group=type,format=progress)]]
    3231
    3332== Download
    3433
    35 Download the zipped source from [download:visitcountermacro here].
     34Download the zipped source from [export:visitcountermacro here].
    3635
    3736== Source
     
    4140== Installation
    4241
    43 After installing plugin's egg enable it in environment's trac.ini configuration file or use WebAdminPlugin to do it for you:
     42After installing the plugin's egg, enable it in your environment's `trac.ini` configuration file or use WebAdminPlugin to do it for you:
    4443
    4544{{{#!ini
     
    5756== Example
    5857
    59 {{{#!ini
     58{{{
    6059[[VisitCounter(WikiStart)]]
    6160[[VisitCounter(WikiStart, false)]]