$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"}%
WebNotify | r 177 | 27 Jun 2024 - 06: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 |
WebStatistics | r 2242 | 27 Jun 2024 - 00:59 -- AdminUser | }% - Jun 2024 210935 5 0 14161 AllOutStandingItems 2567 ... + Jun 2024 225181 5 0 14931 AllOutStandingItems 2671 ... May 2024 249984 68 0 17139 AllOutStandingItems 3069 ... |
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... + Jun 2024 225181 5 0 14931 AllOutStandingItems 2671 ... + May 2024 249984 68 0 17139 AllOutStandingItems 3069 ... + Apr 2024 325533 42 0 14216 AllOutStandingItems 13154 ... + Mar 2024 229549 3 0 12351 AllOutStandingItems 5913 ... |
Item15331 | r 3 | 21 Jun 2024 - 15:31 -- JohnElbourne | %USERSWEB%.MichaelDaum 04 Jun 2024 + +Great thank you + + %USERSWEB%.JohnElbourne 21 Jun 2024 %COMMENT% |
Since rev(1): Tasks.Item15331 Recently my installation of Foswiki (version 2.1.7) has failed to send emails to a postfix server, due to the specification of an old version of ... | Since rev(5): Tasks.Item15331 Recently my installation of Foswiki (version 2.1.7) has failed to send emails to a postfix server, due to the specification of an old version of ... |
Item15235 | r 11 | 21 May 2024 - 11:53 -- MichaelDaum | %USERSWEB%.KennethLavrsen 07 May 2024 + +This one needs somebody with access to a Safari browser, plus a bit o... + + %USERSWEB%.MichaelDaum 21 May 2024 %COMMENT% |
Since rev(9): Tasks.Item15235 The safari web browser displays the sidebar at the bottom of the page as of Foswiki 2.1.8. Main.WyattChilders 29 Dec 2023 Can you share a scr... | Since rev(5): %USERSWEB%.WyattChilders 08 Jan 2024 + +I can confirm this bug. It was a change to Safari that caused this as... + + %USERSWEB%.KennethLavrsen 06 May 2024 + |
Item15330 | r 1 | 21 May 2024 - 11:52 -- MichaelDaum | Tasks.Item15330 Main.MichaelDaum 21 May 2024 | Since rev(-1): Tasks.Item15330 Main.MichaelDaum 21 May 2024 | Since rev(5): Tasks.Item15330 Main.MichaelDaum 21 May 2024 |
Item13883 | r 239 | 21 May 2024 - 11:50 -- MichaelDaum | %META:FIELD{name="WaitingFor" title="WaitingFor" value=""}% -%META:FIELD{name="Checkins" value="%25GITREF%7bdistro:a628fb3a133f%7d... +%META:FIELD{name="Checkins" value="%25GITREF%7bdistro:a628fb3a133f%7d... %META:FIELD{name="TargetRelease" title="TargetRelease" value="minor"}... %META:FIELD{name="trunkCheckins" title="trunkCheckins" value=""}% -%META:FIELD{name="masterCheckins" value="%25GITREF%7bdistro:c994933c2... |
Since rev(10): Tasks.Item13883 | Since rev(5): Tasks.Item13883 - Main.GeorgeClark 03 Dec 2015 - %COMMENT% %META:FIELD{name="WaitingFor" title="WaitingFor" value=""}% -%META:FIELD{name="Checkins" value="%25GITREF%7bdistro:a628fb3a133f%7d... |
Item15329 | r 1 | 21 May 2024 - 11:44 -- MichaelDaum | Tasks.Item15329 Main.MichaelDaum 21 May 2024 | Since rev(-1): Tasks.Item15329 Main.MichaelDaum 21 May 2024 | Since rev(5): Tasks.Item15329 Main.MichaelDaum 21 May 2024 |
Item15229 | r 2 | 21 May 2024 - 11:42 -- MichaelDaum | %META:FIELD{name="WaitingFor" title="WaitingFor" value=""}% -%META:FIELD{name="Checkins" title="Checkins" value="%25GITREF%7bdistr... +%META:FIELD{name="Checkins" title="Checkins" value="%25GITREF%7bdistr... %META:FIELD{name="TargetRelease" title="TargetRelease" value="patch"}... %META:FIELD{name="trunkCheckins" title="trunkCheckins" value=""}% -%META:FIELD{name="masterCheckins" title="masterCheckins" value="%25GI... |
Since rev(0): Tasks.Item15229 The set of modules to be combined can be configured freely. This massively reduces the number of http requests per page. Main.MichaelDaum 17 ... | Since rev(5): Tasks.Item15229 The set of modules to be combined can be configured freely. This massively reduces the number of http requests per page. Main.MichaelDaum 17 ... |
Item15328 | r 1 | 21 May 2024 - 11:37 -- MichaelDaum | Tasks.Item15328 Main.MichaelDaum 21 May 2024 | Since rev(-1): Tasks.Item15328 Main.MichaelDaum 21 May 2024 | Since rev(5): Tasks.Item15328 Main.MichaelDaum 21 May 2024 |
Item15327 | r 1 | 21 May 2024 - 11:33 -- MichaelDaum | Tasks.Item15327 Main.MichaelDaum 21 May 2024 | Since rev(-1): Tasks.Item15327 Main.MichaelDaum 21 May 2024 | Since rev(5): Tasks.Item15327 Main.MichaelDaum 21 May 2024 |
Item15326 | r 1 | 21 May 2024 - 11:31 -- MichaelDaum | Tasks.Item15326 as per https://github.com/desandro/imagesloaded/blob/master/imagesloaded.js Main.MichaelDaum 21 May 2024 | Since rev(-1): Tasks.Item15326 as per https://github.com/desandro/imagesloaded/blob/master/imagesloaded.js Main.MichaelDaum 21 May 2024 | Since rev(5): Tasks.Item15326 as per https://github.com/desandro/imagesloaded/blob/master/imagesloaded.js Main.MichaelDaum 21 May 2024 |
Item15325 | r 1 | 21 May 2024 - 11:28 -- MichaelDaum | Tasks.Item15325 ... that is usable in dark mode as well Main.MichaelDaum 21 May 2024 | Since rev(-1): Tasks.Item15325 ... that is usable in dark mode as well Main.MichaelDaum 21 May 2024 | Since rev(5): Tasks.Item15325 ... that is usable in dark mode as well Main.MichaelDaum 21 May 2024 |
Item15324 | r 1 | 21 May 2024 - 11:15 -- MichaelDaum | Tasks.Item15324 Main.MichaelDaum 21 May 2024 | Since rev(-1): Tasks.Item15324 Main.MichaelDaum 21 May 2024 | Since rev(5): Tasks.Item15324 Main.MichaelDaum 21 May 2024 |
Item13691 | r 13 | 21 May 2024 - 11:10 -- MichaelDaum | %USERSWEB%.JozefMojzis 14 Sep 2015 + +The theme will be made customizable using css variables. See Item15... + + %USERSWEB%.MichaelDaum 21 May 2024 %COMMENT% |
Since rev(10): Tasks.Item13691 In the http://foswiki.org/System/JQueryUI is a line: See System.JQueryThemeSwitcher to view available themes. Unfortunately the topic (and the wh... | Since rev(5): Tasks.Item13691 - Missing an important topic - In the http://foswiki.org/System/JQueryUI is a line: %USERSWEB%.JozefMojzis 10 Sep 2015 + |
Item15323 | r 1 | 21 May 2024 - 11:08 -- MichaelDaum | Tasks.Item15323 * don't modify $_ in map {} * use numeric comparison for numeric values * use exlicit notation for octal values as in oct(600) * use ... | Since rev(-1): Tasks.Item15323 * don't modify $_ in map {} * use numeric comparison for numeric values * use exlicit notation for octal values as in oct(600) * use ... | Since rev(5): Tasks.Item15323 * don't modify $_ in map {} * use numeric comparison for numeric values * use exlicit notation for octal values as in oct(600) * use ... |
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 |
$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 |