$changes(n) Summary of changes between latest rev and rev nThat's not as helpful as it might be. I rarely know what n should be. I'm more likely to want to see changes between latest and 2 back, or 3 back... I'd like to see support added for this, perhaps
$changes(n) Summary of changes between latest rev and rev n; if n is a negative number, show summary of changes between latest rev and "n" revisions ago.So if I say $changes(-2) and latest is rev 19, show changes between 19 and 17; if latest is 5, changes between 5 and 3, and so on. That would let me do this:
%SEARCH{".*" type="regex" nosearch="on" noheader="on" newline="%BR%" order="modified" limit="20" reverse="on" format="| [[$web.$topic][$topic]] | r $rev | $date -- $wikiname | $changes | $changes(-2) | "}%-- VickiBrown - 12 Aug 2010 Excellent point. It seems like a trivial enhancement, but it probably needs a feature proposal. Set as enhancement For what it's worth, this horrible monster could be a work-around:
%STARTSECTION{"search"}% %SEARCH{"1" type="query" nonoise="on" newline="%BR%" order="modified" limit="20" reverse="on" format="| [[$web.$topic][$topic]] | r $rev | $date -- $wikiname | $changes | Since rev($percntINCLUDE{ \"%TOPIC%\" section=\"rev\" web=\"$web\" topic=\"$topic\" n=\"-2\" }$percnt): $changes($percntINCLUDE{ \"%TOPIC%\" section=\"rev\" web=\"$web\" topic=\"$topic\" n=\"-2\" }$percnt) | Since rev(5): $changes(5) |"}% %ENDSECTION{"search"}% %STARTSECTION{"rev"}%%CALC{"$SUM(%REVINFO{ "$rev" web="%web%" topic="%topic%" }% , %n%)"}%%ENDSECTION{"rev"}%
WebStatistics | r 2188 | 04 May 2024 - 00:58 -- AdminUser | }% - May 2024 11997 4 0 1205 AllOutStandingItems 176 Web... + May 2024 18666 7 0 1781 AllOutStandingItems 300 Web... Apr 2024 325533 42 0 14216 AllOutStandingItems 13154 ... |
Since rev(10): Tasks.WebStatistics %IF{ "istopic '.Default'" then="$percentINCLUDE{$quot.Default$quot}$percent" else="$percentINCLUDE{$quot.Default$quot}$percent" }% ... | Since rev(5): }% - Jan 2018 94759 150 1 3149 WebHome 653 ItemSummaryQu... + May 2024 18666 7 0 1781 AllOutStandingItems 300 Web... + Apr 2024 325533 42 0 14216 AllOutStandingItems 13154 ... + Mar 2024 229549 3 0 12351 AllOutStandingItems 5913 ... + Feb 2024 293155 38 1 13574 AllOutStandingItems 3177 ... |
WebNotify | r 177 | 03 May 2024 - 22:05 -- UnknownUser | * BobKrzaczek: Item614 - * BramVanOosterhout: Item1087 Item1099 Item12553 Item12554 It... + * BramVanOosterhout: Item1087 Item1099 Item12553 Item12554 It... * BrendanB: Item8533 * ChipsInChief: Item13873 + * ChrUllrich: Item15167 |
Since rev(10): * BobKrzaczek: Item614 - * BramVanOosterhout: Item1087 Item1099 Item12553 Item12554 It... + * BramVanOosterhout: Item1087 Item1099 Item12553 Item12554 It... * BrendanB: Item8533 * ChipsInChief: Item13873 + * ChrUllrich: Item15167 |
Since rev(5): Tasks.WebNotify -MAKETEXT{"This is a subscription service to be automatically notified... +This topic is automatically generated by a script running on the serv... +script analyses all the 'WaitingFor' and 'ReportedBy' fields in repor... +generates this WebNotify. - * Main.TWikiGuest example #64;your.company |
Item15322 | r 1 | 03 May 2024 - 07:46 -- MichaelDaum | Tasks.Item15322 Browser locales, those that you get from navigator.language may either be a 2 char expression or a 5 char one, e.g. en, en US, en GB etc. However... | Since rev(-1): Tasks.Item15322 Browser locales, those that you get from navigator.language may either be a 2 char expression or a 5 char one, e.g. en, en US, en GB etc. However... | Since rev(5): Tasks.Item15322 Browser locales, those that you get from navigator.language may either be a 2 char expression or a 5 char one, e.g. en, en US, en GB etc. However... |
Item15321 | r 1 | 01 May 2024 - 14:46 -- MichaelDaum | Tasks.Item15321 Let's have 5306 more icons. See https://tabler.io/icons Main.MichaelDaum 01 May 2024 | Since rev(-1): Tasks.Item15321 Let's have 5306 more icons. See https://tabler.io/icons Main.MichaelDaum 01 May 2024 | Since rev(5): Tasks.Item15321 Let's have 5306 more icons. See https://tabler.io/icons Main.MichaelDaum 01 May 2024 |
Item15320 | r 1 | 30 Apr 2024 - 11:30 -- MichaelDaum | Tasks.Item15320 QMPlugin isn't release yet. Still plugins see integrations early. Main.MichaelDaum 30 Apr 2024 | Since rev(-1): Tasks.Item15320 QMPlugin isn't release yet. Still plugins see integrations early. Main.MichaelDaum 30 Apr 2024 | Since rev(5): Tasks.Item15320 QMPlugin isn't release yet. Still plugins see integrations early. Main.MichaelDaum 30 Apr 2024 |
Item15319 | r 1 | 30 Apr 2024 - 11:25 -- MichaelDaum | Tasks.Item15319 ... as attachments are cleaned up too early. Main.MichaelDaum 30 Apr 2024 | Since rev(-1): Tasks.Item15319 ... as attachments are cleaned up too early. Main.MichaelDaum 30 Apr 2024 | Since rev(5): Tasks.Item15319 ... as attachments are cleaned up too early. Main.MichaelDaum 30 Apr 2024 |
Item15318 | r 1 | 30 Apr 2024 - 11:22 -- MichaelDaum | Tasks.Item15318 Main.MichaelDaum 30 Apr 2024 | Since rev(-1): Tasks.Item15318 Main.MichaelDaum 30 Apr 2024 | Since rev(5): Tasks.Item15318 Main.MichaelDaum 30 Apr 2024 |
Item14894 | r 2 | 30 Apr 2024 - 11:21 -- MichaelDaum | -Tasks.Item14894 +Tasks.Item14894 +%META:TOPICPARENT{name="TopicInteractionPlugin"}% +TopicInteractionPlugin uploads files that matach regex of file names ... + + Main.LynnwoodBrown 22 Jan 2020 |
Since rev(0): Tasks.Item14894 TopicInteractionPlugin uploads files that matach regex of file names that are suppose to be prohibited by configure's Security and Authentication... | Since rev(5): Tasks.Item14894 TopicInteractionPlugin uploads files that matach regex of file names that are suppose to be prohibited by configure's Security and Authentication... |
Item15317 | r 1 | 30 Apr 2024 - 11:13 -- MichaelDaum | Tasks.Item15317 Main.MichaelDaum 30 Apr 2024 | Since rev(-1): Tasks.Item15317 Main.MichaelDaum 30 Apr 2024 | Since rev(5): Tasks.Item15317 Main.MichaelDaum 30 Apr 2024 |
Item15316 | r 1 | 30 Apr 2024 - 10:19 -- MichaelDaum | Tasks.Item15316 Main.MichaelDaum 30 Apr 2024 | Since rev(-1): Tasks.Item15316 Main.MichaelDaum 30 Apr 2024 | Since rev(5): Tasks.Item15316 Main.MichaelDaum 30 Apr 2024 |
Item15315 | r 1 | 30 Apr 2024 - 10:14 -- MichaelDaum | Tasks.Item15315 Main.MichaelDaum 30 Apr 2024 | Since rev(-1): Tasks.Item15315 Main.MichaelDaum 30 Apr 2024 | Since rev(5): Tasks.Item15315 Main.MichaelDaum 30 Apr 2024 |
Item15314 | r 1 | 30 Apr 2024 - 10:08 -- MichaelDaum | Tasks.Item15314 ... by mapping the appropriate icon to the language code. Main.MichaelDaum 30 Apr 2024 | Since rev(-1): Tasks.Item15314 ... by mapping the appropriate icon to the language code. Main.MichaelDaum 30 Apr 2024 | Since rev(5): Tasks.Item15314 ... by mapping the appropriate icon to the language code. Main.MichaelDaum 30 Apr 2024 |
Item15313 | r 1 | 30 Apr 2024 - 10:04 -- MichaelDaum | Tasks.Item15313 Main.MichaelDaum 30 Apr 2024 | Since rev(-1): Tasks.Item15313 Main.MichaelDaum 30 Apr 2024 | Since rev(5): Tasks.Item15313 Main.MichaelDaum 30 Apr 2024 |
Item15312 | r 1 | 30 Apr 2024 - 09:52 -- MichaelDaum | Tasks.Item15312 Main.MichaelDaum 30 Apr 2024 | Since rev(-1): Tasks.Item15312 Main.MichaelDaum 30 Apr 2024 | Since rev(5): Tasks.Item15312 Main.MichaelDaum 30 Apr 2024 |
Item15311 | r 1 | 29 Apr 2024 - 10:36 -- MichaelDaum | Tasks.Item15311 Main.MichaelDaum 29 Apr 2024 | Since rev(-1): Tasks.Item15311 Main.MichaelDaum 29 Apr 2024 | Since rev(5): Tasks.Item15311 Main.MichaelDaum 29 Apr 2024 |
Item15310 | r 1 | 29 Apr 2024 - 10:34 -- MichaelDaum | Tasks.Item15310 Main.MichaelDaum 29 Apr 2024 | Since rev(-1): Tasks.Item15310 Main.MichaelDaum 29 Apr 2024 | Since rev(5): Tasks.Item15310 Main.MichaelDaum 29 Apr 2024 |
Item15309 | r 1 | 29 Apr 2024 - 10:30 -- MichaelDaum | Tasks.Item15309 Main.MichaelDaum 29 Apr 2024 | Since rev(-1): Tasks.Item15309 Main.MichaelDaum 29 Apr 2024 | Since rev(5): Tasks.Item15309 Main.MichaelDaum 29 Apr 2024 |
Item15308 | r 1 | 29 Apr 2024 - 10:25 -- MichaelDaum | Tasks.Item15308 Main.MichaelDaum 29 Apr 2024 | Since rev(-1): Tasks.Item15308 Main.MichaelDaum 29 Apr 2024 | Since rev(5): Tasks.Item15308 Main.MichaelDaum 29 Apr 2024 |
Item15307 | r 1 | 29 Apr 2024 - 10:18 -- MichaelDaum | Tasks.Item15307 ... as a pipe symbol in regexes interferes with the form defining table Main.MichaelDaum 29 Apr 2024 | Since rev(-1): Tasks.Item15307 ... as a pipe symbol in regexes interferes with the form defining table Main.MichaelDaum 29 Apr 2024 | Since rev(5): Tasks.Item15307 ... as a pipe symbol in regexes interferes with the form defining table Main.MichaelDaum 29 Apr 2024 |
Item15306 | r 1 | 29 Apr 2024 - 09:57 -- MichaelDaum | Tasks.Item15306 MastodonPlugin comes with an RssBridge which reads rss feeds and posts them to a channel. Main.MichaelDaum 29 Apr 2024 | Since rev(-1): Tasks.Item15306 MastodonPlugin comes with an RssBridge which reads rss feeds and posts them to a channel. Main.MichaelDaum 29 Apr 2024 | Since rev(5): Tasks.Item15306 MastodonPlugin comes with an RssBridge which reads rss feeds and posts them to a channel. Main.MichaelDaum 29 Apr 2024 |
$percentINCLUDE
is correctly calculating the rev number -2 - however I would agree that the $changes()
token isn't very useful in its output; probably, that's a bug
-- PaulHarvey - 14 Aug 2010
Okay, now it should be fixed (the example, that is)
-- PaulHarvey - 17 Aug 2010
I've raised Item9502 for the crash this example causes on 1.1 - separate from the issues that Vicki raises.
-- SvenDowideit - 19 Aug 2010
Summary | Improve capabilities of SEARCH $changes parameter |
ReportedBy | VickiBrown |
Codebase | 1.0.9 |
SVN Range | |
AppliesTo | Engine |
Component | FoswikiUsability, SEARCH |
Priority | Enhancement |
CurrentState | Being Worked On |
WaitingFor | |
Checkins | distro:1e31698555fb |
TargetRelease | minor |
ReleasedIn | 2.2.0 |
CheckinsOnBranches | master Item14288 Item14380 Item14537 |
trunkCheckins | |
masterCheckins | distro:1e31698555fb |
ItemBranchCheckins | distro:1e31698555fb |
Release02x01Checkins | |
Release02x00Checkins | |
Release01x01Checkins |