Difference: TWikiSiteTools (20 vs. 21)

Revision 212020-01-22 - TWikiAdminUser

Line: 1 to 1
 

TWiki Site Tools

Line: 74 to 74
 

WebStatistics - site statistics

Changed:
<
<
You can generate a listing manually, or on an automated schedule, of visits to individual pages, on a per web basis. Compiled as a running total on a monthly basis. Includes totals for Topic Views, Topic Saves, Attachment Uploads, Most Popular Topics with number of views, and Top Contributors showing total of saves and attachment uploads. Previous months are saved.
>
>
You can generate a listing manually, or on an automated schedule, of visits to individual pages, on a per web basis. Compiled as a running total on a monthly basis. Includes totals for OpenTopics Views, OpenTopics Saves, Attachment Uploads, Most Popular Topics with number of views, and Top Contributors showing total of saves and attachment uploads. Previous months are saved.
  TIP You can create a WebStatistics link using TWikiVariables with %STATISTICSTOPIC%
Line: 109 to 109
 The maximum number of items listed in a column is specified as follows.

Topic Column and part Configuration parameter Default
Changed:
<
<
WebStatistics of webs Affiliation breakdown in "Topic views", "Topic saves", and "File uploads" columns {Stats}{TopAffiliation} 10
>
>
WebStatistics of webs Affiliation breakdown in "OpenTopics views", "OpenTopics saves", and "File uploads" columns {Stats}{TopAffiliation} 10
 
"Most popular topic views" column {Stats}{TopViews} 10
"Top viewers" column {Stats}{TopViewers} 10
"Top contributors for tpoic save and uploads" column {Stats}{TopContrib} 10
Main.SiteStatistics The list of webs viewed the most number of times in the "Webs Viewed" column {Stats}{SiteTopViews} 0
The list of webs updated the most number of times in the "Webs Updated" column {Stats}{SiteTopUpdates} 0
Changed:
<
<
Affiliation breakdown in "Topic Views", "Topic Saves", and "File Uploads" columns {Stats}{SiteTopAffiliation} 10
>
>
Affiliation breakdown in "OpenTopics Views", "OpenTopics Saves", and "File Uploads" columns {Stats}{SiteTopAffiliation} 10
 
"Top Viewers" column {Stats}{SiteTopViewers} 10
"Top Contributors" column {Stats}{SiteTopContrib} 10
Line: 124 to 124
  If you run TWiki in an orgaization, you may want to see division breakdown of topic views, topic saves, and file uploads - in a month, how many topic views are there from the R&D division, the Sales division, etc.
Changed:
<
<
You can have affiliation breakdown at the Topic views, Topic saves, and File uploads columns of WebStatistics and SiteStatistics as follows.
>
>
You can have affiliation breakdown at the OpenTopics views, OpenTopics saves, and File uploads columns of WebStatistics and SiteStatistics as follows.
 
Month: Topic
views:
Topic
saves:
File
uploads:
Most popular
topic views:
Top viewerss: Top contributors for
topic save and uploads:
<--statDate-->
<--statViews-->
<--statSaves-->
<--statUploads-->
<--statTopViews-->
<--statTopViewers-->
<--statTopContributors-->
Line: 159 to 159
 WebStatistics topics grow in size every month. By default you have only 10 lines per month, but you may have a lot more. If so, in 5 years, WebStatistics gets really big. Besides, if you run the statistics script every day, you increase the revision of each WebStatistics by one every day. If a topic has hundreds of revision, some operations such as getting the original creator of the topic takes long.

There is an option to prevent the boundless growth of WebStatistics.

Changed:
<
<
If you set $TWiki::cfg{Stats}{TopicPerYear} true, the statistics script writes the result to WebStatisticsYYYY where YYYY is the current year (e.g. WebStatistics2020) instead of WebStatistics. The parameter is false by default.
>
>
If you set $TWiki::cfg{Stats}{OpenTopicsPerYear} true, the statistics script writes the result to WebStatisticsYYYY where YYYY is the current year (e.g. WebStatistics2020) instead of WebStatistics. The parameter is false by default.
 
  • If TWiki:Plugins/RedirectPlugin is installed, viewing WebStatistics causes redirection to the WebStatisticsYYYY of the year. Otherwise, WebStatistics shows links to WebStatisticsYYYY topics.
Changed:
<
<
  • After you change {Stats}{TopicPerYear} to true but before you run the statistics script, you should run twiki/tools/switch2yearlystats to rename WebStatistics of all webs to WebStatisticsYYYY of the year. In case WebStatistics is not in the same format as its current template, it's renamed to WebStatistics0000.
>
>
  • After you change {Stats}{OpenTopicsPerYear} to true but before you run the statistics script, you should run twiki/tools/switch2yearlystats to rename WebStatistics of all webs to WebStatisticsYYYY of the year. In case WebStatistics is not in the same format as its current template, it's renamed to WebStatistics0000.
  The description above is applied to Main.SiteStatistics as well.
Changed:
<
<
If {Stats}{TopicPerYear} is true:
>
>
If {Stats}{OpenTopicsPerYear} is true:
 
  • The site-wide statistics are written to Main.SiteStatisticsYYYY of the year instead of Main.SiteStatistics
  • Main.SiteStatistics shows the list of Main.SiteStatisticsYYYY topics or redirects to the latest one depending on the availability of RedirectPlugin.
  • twiki/tools/switch2yearlystats renames Main.SiteStatistics to Main.SiteStatisticsYYYY of the year or Main.SiteStatistics0000.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. <br /> Ideas, requests, problems regarding lt;nopgt;TWiki? lt;a href='mailto:twiki-admin@kcl.ac.uk?subject=TWiki%20Feedback%20on%20TWiki.TWikiSiteTools'gt;Send feedbacklt;/agt; <br /> Note: Please contribute updates to this topic on TWiki.org at <a href="http://twiki.org/cgi-bin/view/TWiki/TWikiSiteTools" target="twiki.org">TWiki:TWiki.TWikiSiteTools</a>.