In
Main.WebStatistics, click on the "force an update" link. Statistics in all webs are updated instead of just the Main web stats.
Reported in
TWiki:Support/CreateUsageStatistics
, on TWiki 4.0.5.
Bug reproduced on latest svn as of 2006-12-30. This bug was not present in TWiki 4.0.2; possibly introduced with fix of
Item2347. Please distinguish between script called as cgi and called in command line.
--
PTh
so the function you are asking for is:
- from browser https://develop.twiki.org/do/statistics updates all user webs
- from browser https://develop.twiki.org/do/statistics?webs=TWiki,Main,Sandbox updates TWiki,Main,Sandbox
- from browser https://develop.twiki.org/do/statistics/Bugs updates Bugs
- from command line twiki/bin/statistics updates all user webs
- from command line twiki/bin/statistics -webs=TWiki,Main,Sandbox updates TWiki,Main,Sandbox
- from command line twiki/bin/statistics WebHome updates Bugs
and this bug shows functionality 3 (and probably 6) are missing. Unfortuantly, by the time TWiki::UI::Statistics gets to it, $session->{webName} has already been defaulted but TWiki::new(), so its going to require re-parsing the calling params.
it seems for the moment that twiki/bin/statistics Bugs does not work, as Bugs is not loaded in as the webname, but if you add a topic, that works....
-- SD
It should work as documnted,
TWikiSiteTools#WebStatistics_site_statistics
--
PTh
I choose to interpret that as a Yes. thanks thats what i made work

-- SD