• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

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:

  1. from browser https://develop.twiki.org/do/statistics updates all user webs
  2. from browser https://develop.twiki.org/do/statistics?webs=TWiki,Main,Sandbox updates TWiki,Main,Sandbox
  3. from browser https://develop.twiki.org/do/statistics/Bugs updates Bugs
  4. from command line twiki/bin/statistics updates all user webs
  5. from command line twiki/bin/statistics -webs=TWiki,Main,Sandbox updates TWiki,Main,Sandbox
  6. 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 smile -- SD

ItemTemplate
Summary Force-update of Main web statistics updates all webs
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4
SVN Range TWiki-4.1, Sat, 23 Dec 2006, build 12333
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins 12488
TargetRelease minor
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2007-01-16 - JasonHill
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback