• 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.

The implementation of TWiki/UI/Statistics.pm ignores pages with dashes and/or underscores.

This is anoying, e.g. pages, than begin with the smae letters followed by an dash will treated as same page, which falsifys the statistics.

I patched this behavior. The patch is against TWiki-4.0.1 and is included.

-- TWiki:Main.TobiasRoeser

Thanks but no need for the patch. Just customise the WikiWordRegex in your LocalSite.cfg.

-- MC

Thank you Tobias for the patch.

Martin, I reopen this, I do not agree with your assessment. Underscores and dashes are valid in topic names, but do not link automatically. Some wiki apps create non-wikiword topic names.

-- PTh

Hmmm, I wonder if we shouldn't just use a "." in the patch. Chars I can think of from my head that are also valid in topic names are chars like "!", "(", ")", "=" .. but there are probably others. Is the correct regex available somewhere?

-- SP

Went for a .+ solution. Thanks for reporting, Tobias!

SVN 9320, Develop + TWiki4.

-- SP

Closed with release of 4.0.2


Summary statistics ignore pages with dashes and underscores
ReportedBy TWiki:Main.TobiasRoeser

SVN Range Mon, 13 Mar 2006 build 9258
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins 9320
TargetRelease patch
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file format1-statistics-patch twiki-4.0.1-statistics-patch r1 manage 0.6 K 2006-03-17 - 15:56 TobiasRoeser Patch for statistics to recognize dashes and underscores as part of the page name
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2006-04-01 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback