$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 | 07 Aug 2022 - 18:05 -- UnknownUser | * BobKrzaczek: Item614 - * BramVanOosterhout: Item1087 Item1099 Item12553 Item12554 It... + * BramVanOosterhout: Item1087 Item1099 Item12553 Item12554 It... * BrendanB: Item8533 * ChristianHölzer: Item14856 - * ChristianKern: Item14765 Item14920 Item14921 Item14925 |
Since rev(175): * BobKrzaczek: Item614 - * BramVanOosterhout: Item1087 Item1099 Item12553 Item12554 It... + * BramVanOosterhout: Item1087 Item1099 Item12553 Item12554 It... * BrendanB: Item8533 * ChristianHölzer: Item14856 - * ChristianKern: Item14765 Item14920 Item14921 Item14925 |
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 1553 | 07 Aug 2022 - 00:58 -- AdminUser | }% - Aug 2022 35261 18 0 2706 WebCreateNewTopic 540 WebH... + Aug 2022 44295 20 0 3179 WebCreateNewTopic 651 WebH... Jul 2022 336970 93 0 16515 WebCreateNewTopic 3274 W... |
Since rev(1551): 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... + Aug 2022 44295 20 0 3179 WebCreateNewTopic 651 WebH... + Jul 2022 336970 93 0 16515 WebCreateNewTopic 3274 W... + Jun 2022 265037 201 1 19149 WebCreateNewTopic 3023 ... + May 2022 407838 164 0 33870 WebCreateNewTopic 3439 ... |
Item15133 | r 3 | 06 Aug 2022 - 15:56 -- LynnwoodBrown | %USERSWEB%.GeraudK 24 May 2022 + +This is due to recent changes in Extensions.RenderPlugin. Thanks for ... + + %USERSWEB%.LynnwoodBrown 06 Aug 2022 %COMMENT% |
Since rev(1): Tasks.Item15133 With the current version, when in edit mode, it is not possible to edit the categories and tags of a topic. Only a spinner appears. This happens ... | Since rev(5): Tasks.Item15133 With the current version, when in edit mode, it is not possible to edit the categories and tags of a topic. Only a spinner appears. This happens ... |
Item13883 | r 225 | 05 Aug 2022 - 12:55 -- 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(223): 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... |
Item15162 | r 1 | 02 Aug 2022 - 13:20 -- MichaelDaum | Tasks.Item15162 If the email does not contain a BC or CC header then Email::Address::XS will complain while parsing undef. Main.MichaelDaum 02 Aug 2022 | Since rev(-1): Tasks.Item15162 If the email does not contain a BC or CC header then Email::Address::XS will complain while parsing undef. Main.MichaelDaum 02 Aug 2022 | Since rev(5): Tasks.Item15162 If the email does not contain a BC or CC header then Email::Address::XS will complain while parsing undef. Main.MichaelDaum 02 Aug 2022 |
Item14540 | r 7 | 31 Jul 2022 - 02:10 -- BramVanOosterhout | %META:FIELD{name="Priority" title=" Priority " value="Normal"}% -%META:FIELD{name="CurrentState" title="CurrentState" value="New"}% +%META:FIELD{name="CurrentState" title="CurrentState" value="Closed"}% %META:FIELD{name="WaitingFor" title="WaitingFor" value=""}% |
Since rev(5): Tasks.Item14540 In a recently published topic the following code is generated: The file ../System/JavascriptFiles/foswikiPref.js is neither transferred to the pu... | Since rev(5): %USERSWEB%.BramVanOosterhout 28 Jul 2022 + +Hi BramVanOosterhout, thank you for this hint. I just tried it with P... + + %USERSWEB%.StefanH 28 Jul 2022 %COMMENT% |
Item15161 | r 1 | 28 Jul 2022 - 04:59 -- BramVanOosterhout | Tasks.Item15161 Publish plugin does not publish content referred in stylesheets through the url(...) function. It does not deal with the data: prefix and has var... | Since rev(-1): Tasks.Item15161 Publish plugin does not publish content referred in stylesheets through the url(...) function. It does not deal with the data: prefix and has var... | Since rev(5): Tasks.Item15161 Publish plugin does not publish content referred in stylesheets through the url(...) function. It does not deal with the data: prefix and has var... |
Item15056 | r 2 | 28 Jul 2022 - 04:57 -- BramVanOosterhout | if $this {opt} {format} eq 'pdf'; + %USERSWEB%.BramVanOosterhout 28 Jul 2022 + +Implemented as proposed above in release 3.6 + + %USERSWEB%.BramVanOosterhout 28 Jul 2022 |
Since rev(0): Tasks.Item15056 Main.BramVanOosterhout 03 Jan 2022 Line 605,606 in Publisher.pm # Force static context for all published topics Foswiki::Func::getCon... | Since rev(5): Tasks.Item15056 Main.BramVanOosterhout 03 Jan 2022 Line 605,606 in Publisher.pm # Force static context for all published topics Foswiki::Func::getCon... |
Item15055 | r 3 | 28 Jul 2022 - 04:54 -- BramVanOosterhout | * and copying the query to the rewritten url + +Updated in release 3.6. jquery plugins are now treated as internal re... +This update also supports references to resources in the pub directie... + + %USERSWEB%.BramVanOosterhout 28 Jul 2022 |
Since rev(1): Tasks.Item15055 Main.BramVanOosterhout 27 Dec 2021 The implementation of Item15053 publishes links like: * http://cdl/devwiki/pub/System/JQueryPlugin/... | Since rev(5): Tasks.Item15055 Main.BramVanOosterhout 27 Dec 2021 The implementation of Item15053 publishes links like: * http://cdl/devwiki/pub/System/JQueryPlugin/... |
Item15160 | r 1 | 25 Jul 2022 - 13:37 -- MichaelDaum | Tasks.Item15160 In NatEdit the permissions editor autocompletion calls a REST backend based on System.JQueryAjaxHelper. It will then use a %SEARCH to find users ... | Since rev(-1): Tasks.Item15160 In NatEdit the permissions editor autocompletion calls a REST backend based on System.JQueryAjaxHelper. It will then use a %SEARCH to find users ... | Since rev(5): Tasks.Item15160 In NatEdit the permissions editor autocompletion calls a REST backend based on System.JQueryAjaxHelper. It will then use a %SEARCH to find users ... |
Item15159 | r 1 | 20 Jul 2022 - 13:59 -- MichaelDaum | Tasks.Item15159 However this is not the case when importing LDAP groups. These aren't wiki words necessarily. Proposed patch: diff git a/lib/Foswiki/Contrib/Mai... | Since rev(-1): Tasks.Item15159 However this is not the case when importing LDAP groups. These aren't wiki words necessarily. Proposed patch: diff git a/lib/Foswiki/Contrib/Mai... | Since rev(5): Tasks.Item15159 However this is not the case when importing LDAP groups. These aren't wiki words necessarily. Proposed patch: diff git a/lib/Foswiki/Contrib/Mai... |
Item15157 | r 1 | 15 Jul 2022 - 07:40 -- MichaelDaum | Tasks.Item15157 see https://github.com/jquery validation/jquery validation/releases/tag/1.19.5 Main.MichaelDaum 15 Jul 2022 | Since rev(-1): Tasks.Item15157 see https://github.com/jquery validation/jquery validation/releases/tag/1.19.5 Main.MichaelDaum 15 Jul 2022 | Since rev(5): Tasks.Item15157 see https://github.com/jquery validation/jquery validation/releases/tag/1.19.5 Main.MichaelDaum 15 Jul 2022 |
Item15156 | r 1 | 12 Jul 2022 - 16:59 -- MichaelDaum | Tasks.Item15156 Main.MichaelDaum 12 Jul 2022 | Since rev(-1): Tasks.Item15156 Main.MichaelDaum 12 Jul 2022 | Since rev(5): Tasks.Item15156 Main.MichaelDaum 12 Jul 2022 |
Item8897 | r 3 | 12 Jul 2022 - 11:54 -- MichaelDaum | %USERSWEB%.MichaelDaum 17 Jan 2017 + +There is better support for localization in DateManipPlugin + + %USERSWEB%.MichaelDaum 12 Jul 2022 %COMMENT% |
Since rev(1): Tasks.Item8897 A lot of work on parsing and representing dates has been done through http://datetime.perl.org/ This work allows to use dates before 1970 and to h... | Since rev(5): Tasks.Item8897 A lot of work on parsing and representing dates has been done through http://datetime.perl.org/ This work allows to use dates before 1970 and to h... |
Item14997 | r 3 | 12 Jul 2022 - 11:49 -- MichaelDaum | Main.MichaelDaum 09 Dec 2020 + +Duplicate entry. See Item15154 + %USERSWEB%.MichaelDaum 12 Jul 2022 %COMMENT% %META:FIELD{name="Priority" title=" Priority " value="Normal"}% -%META:FIELD{name="CurrentState" title="CurrentState" value="New"}% |
Since rev(1): Tasks.Item14997 By default any page with skin rss or xml will return a "minimalist" output by removing all img and anchors. There is no obvious way to create rss... | Since rev(5): Tasks.Item14997 By default any page with skin rss or xml will return a "minimalist" output by removing all img and anchors. There is no obvious way to create rss... |
Item15145 | r 9 | 12 Jul 2022 - 11:45 -- MichaelDaum | %META:FIELD{name="Priority" title=" Priority " value="Normal"}% -%META:FIELD{name="CurrentState" title="CurrentState" value="Being Wor... +%META:FIELD{name="CurrentState" title="CurrentState" value="Waiting f... %META:FIELD{name="WaitingFor" title="WaitingFor" value=""}% -%META:FIELD{name="Checkins" value="%25GITREF%7bdistro:1d2546074535%7d... +%META:FIELD{name="Checkins" title="Checkins" value="%25GITREF%7bdistr... |
Since rev(7): Tasks.Item15145 Basically modern browsers support it for a long time now using CGI.pm supports it as well. Basically, you only need to read the filepath paramet... | Since rev(5): %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... |
AllOutStandingItems | r 55 | 12 Jul 2022 - 11:39 -- MichaelDaum | Tasks.AllOutStandingItems - See HallOfFame for a full analysis INCLUDE{"HallOfFame"} - AppliesTo: (URLPARAM{"classes" multiple="$item" separator="," default... |
Since rev(53): Tasks.AllOutStandingItems AppliesTo: (URLPARAM{"classes" multiple="$item" separator="," default="ALL"}) URLPARAM{"classes" multiple="$item" default=""} Engine... | Since rev(5): Tasks.AllOutStandingItems -%META:TOPICPARENT{name="WebHome"}% +AppliesTo: (URLPARAM{"classes" multiple="$item" separator="," default... -INCLUDE{"%SCRIPTURL%/view/%INCLUDINGWEB%/WebSearch?status=New Deferre... +URLPARAM{"classes" multiple="$item" default=""} Engine Extension Web ... + |
Item13921 | r 8 | 12 Jul 2022 - 11:35 -- MichaelDaum | %USERSWEB%.VadimBelman 15 Jan 2016 + +Didn't see wrong encodings in mails anymore + + %USERSWEB%.MichaelDaum 12 Jul 2022 %COMMENT% |
Since rev(6): Tasks.Item13921 Foswiki 2.x is now operating in utf 8. It works fairly fine with an iso 8859 1 Store. But when email for webnotify get generated, the data remain... | Since rev(5): %USERSWEB%.VadimBelman 15 Jan 2016 + +Didn't see wrong encodings in mails anymore + + %USERSWEB%.MichaelDaum 12 Jul 2022 %COMMENT% |
Item12524 | r 9 | 12 Jul 2022 - 11:34 -- MichaelDaum | %USERSWEB%.MichaelDaum 18 Dec 2014 + +I am using DiffPlugin today + + %USERSWEB%.MichaelDaum 12 Jul 2022 %COMMENT% |
Since rev(7): Tasks.Item12524 This extension tinkers with the skin path and forces a and to be displayed at the bottom of a compare page. This cannot be removed, not even by... | Since rev(5): %USERSWEB%.StephanOsthold 17 Mar 2014 + +As this is now one of the main release blockers prior to a 1.2 alpha/... + + %USERSWEB%.GeorgeClark 18 Dec 2014 + |
Item1965 | r 8 | 12 Jul 2022 - 11:32 -- MichaelDaum | Main.GeorgeClark 07 Mar 2012 + +Not sure myself what this is about. + %USERSWEB%.MichaelDaum 12 Jul 2022 +%COMMENT% + |
Since rev(6): Tasks.Item1965 ... the same way beforeSaveHandler does. Probably other handlers that hand over meta objects are affected as well. Main.MichaelDaum Assuming sco... | Since rev(5): Main.MichaelDaum 25 Jun 2010 +This has been waiting for feedback for almost 2 years, and is referen... + + Main.GeorgeClark 07 Mar 2012 + +Not sure myself what this is about. |
$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 |