Automatic counters
—
!!4!
!
>Automatic Counters
—
!!5!
!
There are three automatic counter classes:
—
!!6!
!
>
—
!!7!
!
ViewCountHelper
Counts what is looked on the page ‘Popular Pages’ !!8!!-
!
!9!
!
ViewerCountHelper
Counts who looks on the page ‘Prolific Viewers’ !!10!!-
!
!11!
!
AuthorCountHelper
Counts who edits on the page ‘Principal Authors’ !!12!!-
—
!!13!
!
—
!!14!
!
By default the results tables are updated once an hour,
and show the top 20.
!
!15!
!
The simplest way to use them is to put the following in your start.rb file:
!
!16!
!
!
!17!
!
!
!18!
!
!
!19!
!
—
!!20!
!
They can take extra arguments to adjust their settings:
—
!!21!
!
!
!22!
!
—
!!1!
!
!
!23!
!
—
!!24!
!
Tag: Include this page in the distribution —
!!2!
!
—
!!3!
!
!
!25!
!