NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item11182: Statistics not generated for subwebs
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Urgent |
Closed |
Engine |
FoswikiUIStatistics |
|
The subweb is not read from the url unless entered from the webs= parameter. The default link in the
WebStatistics topic doesn't work for subwebs.
See
Support.Question917
Confirmed on trunk checkout. From the Support Question:
I have a
Main Web : TechWiki
Sub Web: StandardDocuments
In force update manually link in the StandardDocuments Sub web, following is syntax is present :
(You can also [[%SCRIPTURL{"statistics"}%/%WEB%][force]] an update)
The problem can be solved by updating the syntax to using URL parameters as shown below
(You can also [[%SCRIPTURL{"statistics"}%?webs=%WEB%][force]] an update)
Then it updates the subweb statistics correctly. Hope this helps.The Force link needs to be changed in standard distribution so that it works for Main and subwebs
-- HarshadDivekar - 13 Oct 2011
--
GeorgeClark - 15 Oct 2011
The issue is simple - the URL needs a trailing slash so that
SubWebs are recognized as a web and not as a topic in the parent web. Since this URL is shown as an example in every
WebStatistics topic, might as well change the instructions to an include of a DefaultWebStatistics topic. And need to add documentation about how the
WebStatistics topic is built. The current docs are a bit sparse.
--
GeorgeClark - 15 Oct 2011