$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 | 24 Mar 2023 - 23:05 -- UnknownUser | * BobKrzaczek: Item614 - * BramVanOosterhout: Item1087 Item1099 Item12553 Item12554 It... + * BramVanOosterhout: Item1087 Item1099 Item12553 Item12554 It... * BrendanB: Item8533 * ChipsInChief: Item13873 + * ChrUllrich: Item15167 |
Since rev(175): * 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 1782 | 24 Mar 2023 - 01:58 -- AdminUser | }% - Mar 2023 139155 23 0 8558 WebCreateNewTopic 2167 We... + Mar 2023 147330 23 0 8950 WebCreateNewTopic 2265 We... Feb 2023 371387 50 0 26773 WebCreateNewTopic 3001 W... |
Since rev(1780): 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... + Mar 2023 147330 23 0 8950 WebCreateNewTopic 2265 We... + Feb 2023 371387 50 0 26773 WebCreateNewTopic 3001 W... + Jan 2023 297046 95 0 17298 WebCreateNewTopic 3118 W... + Dec 2022 292276 1 0 11069 WebCreateNewTopic 3071 We... |
Item13883 | r 230 | 15 Mar 2023 - 10:15 -- 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(228): 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... |
Item15187 | r 1 | 15 Mar 2023 - 10:08 -- MichaelDaum | Tasks.Item15187 You type / copy paste from an email: quoted text quoted text quoted text You get: ' quoted text ' quoted text ' quoted text Should be... | Since rev(-1): Tasks.Item15187 You type / copy paste from an email: quoted text quoted text quoted text You get: ' quoted text ' quoted text ' quoted text Should be... | Since rev(5): Tasks.Item15187 You type / copy paste from an email: quoted text quoted text quoted text You get: ' quoted text ' quoted text ' quoted text Should be... |
Item14580 | r 4 | 15 Mar 2023 - 10:02 -- MichaelDaum | Main.MichaelDaum 15 Dec 2017 + +WTF: this never was committed to the core. Rescheduling it for 2.1.8 + %USERSWEB%.MichaelDaum 15 Mar 2023 %COMMENT% %META:FORM{name="ItemTemplate"}% -%META:FIELD{name="Summary" title="Summary" value="DIFF_TEXT never use... |
Since rev(2): Tasks.Item14580 In mailnotify, DIFF_TEXT, albeit documented, is never used, probably for a good reason: it inserts verbatim tags but does not process them afterw... | Since rev(5): Tasks.Item14580 In mailnotify, DIFF_TEXT, albeit documented, is never used, probably for a good reason: it inserts verbatim tags but does not process them afterw... |
Item15186 | r 2 | 06 Mar 2023 - 15:49 -- MichaelDaum | %META:FORM{name="ItemTemplate"}% -%META:FIELD{name="Summary" title="Summary" value="random failures of ... +%META:FIELD{name="Summary" title="Summary" value="random unit test fa... %META:FIELD{name="ReportedBy" title="ReportedBy" value="Main.MichaelD... %META:FIELD{name="WaitingFor" title="WaitingFor" value=""}% -%META:FIELD{name="Checkins" title="Checkins" value="%25GITREF%7bdistr... |
Since rev(0): Tasks.Item15186 Unit tests randomly fail as can be seen in the foswiki commits mailing list. Running the same tests on my own machine don't fail. So these tests ... | Since rev(5): Tasks.Item15186 Unit tests randomly fail as can be seen in the foswiki commits mailing list. Running the same tests on my own machine don't fail. So these tests ... |
Item14380 | r 22 | 28 Feb 2023 - 13:00 -- 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(20): Tasks.Item14380 In proxy configurations, the Foswiki events log will only contain the proxy server's IP address, anonymizing the clients. The X Forwarded For hea... | Since rev(5): %USERSWEB%.GeorgeClark 27 Nov 2017 + +This feature is waiting for a release since when? Will backport it to... +is implemented using two boolean flags UseForwardedFor and UseForwa... +is gone. Basically we only need one of the three: UseForwardedHeaders... + |
Item15185 | r 1 | 27 Feb 2023 - 15:49 -- MichaelDaum | Tasks.Item15185 Unit tests checked agains $main as_string(). However this can result in arbitrary linebreaks at points the unit test don't match reliably. That'... | Since rev(-1): Tasks.Item15185 Unit tests checked agains $main as_string(). However this can result in arbitrary linebreaks at points the unit test don't match reliably. That'... | Since rev(5): Tasks.Item15185 Unit tests checked agains $main as_string(). However this can result in arbitrary linebreaks at points the unit test don't match reliably. That'... |
Item15184 | r 1 | 27 Feb 2023 - 14:56 -- MichaelDaum | Tasks.Item15184 This breaks typographics in some places. Best is to leave them unchanged when translating HTML between TML. Main.MichaelDaum 27 Feb 2023 | Since rev(-1): Tasks.Item15184 This breaks typographics in some places. Best is to leave them unchanged when translating HTML between TML. Main.MichaelDaum 27 Feb 2023 | Since rev(5): Tasks.Item15184 This breaks typographics in some places. Best is to leave them unchanged when translating HTML between TML. Main.MichaelDaum 27 Feb 2023 |
Item15183 | r 1 | 27 Feb 2023 - 12:15 -- MichaelDaum | Tasks.Item15183 It switched from 3.330 to 3.40 ... which makes UpdatesPlugin think that the former is newer than the latter. Main.MichaelDaum 27 Feb 2023 | Since rev(-1): Tasks.Item15183 It switched from 3.330 to 3.40 ... which makes UpdatesPlugin think that the former is newer than the latter. Main.MichaelDaum 27 Feb 2023 | Since rev(5): Tasks.Item15183 It switched from 3.330 to 3.40 ... which makes UpdatesPlugin think that the former is newer than the latter. Main.MichaelDaum 27 Feb 2023 |
FixesReleaseNotesTml | r 13 | 06 Feb 2023 - 11:54 -- MichaelDaum | Tasks.FixesReleaseNotesTml Release Notes This page lists items waiting for release in the next n/a patch minor major Security %SEARCH{ "( CurrentSt... | Since rev(11): Tasks.FixesReleaseNotesTml Release Notes This page lists items waiting for release in the next n/a patch minor major Security %SEARCH{ "( CurrentSt... | Since rev(5): This page lists items waiting for release in the next -URLPARAM{"type" default="n/a"} - n/a major -release. |
Item15178 | r 2 | 06 Feb 2023 - 11:44 -- 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="ReleasedIn" title="ReleasedIn" value="2.1.8"}% -%META:FIELD{name="CheckinsOnBranches" title="CheckinsOnBranches" valu... |
Since rev(0): Tasks.Item15178 If there are restricted allow rights in WebPreferences, these have to be overwritten as well. Main.MichaelDaum 17 Jan 2023 | Since rev(5): Tasks.Item15178 If there are restricted allow rights in WebPreferences, these have to be overwritten as well. Main.MichaelDaum 17 Jan 2023 |
Jpegcompressor | r 1 | 24 Jan 2023 - 10:09 -- RsnehaRani | Tasks.Jpegcompressor Jpeg compressoris the best tool for shrinking the file size of a JPEG image. JPEG images frequently include large amounts of data, which mak... | Since rev(-1): Tasks.Jpegcompressor Jpeg compressoris the best tool for shrinking the file size of a JPEG image. JPEG images frequently include large amounts of data, which mak... | Since rev(5): Tasks.Jpegcompressor Jpeg compressoris the best tool for shrinking the file size of a JPEG image. JPEG images frequently include large amounts of data, which mak... |
Item15181 | r 1 | 19 Jan 2023 - 15:00 -- MichaelDaum | Tasks.Item15181 Main.MichaelDaum 19 Jan 2023 | Since rev(-1): Tasks.Item15181 Main.MichaelDaum 19 Jan 2023 | Since rev(5): Tasks.Item15181 Main.MichaelDaum 19 Jan 2023 |
Item15035 | r 4 | 19 Jan 2023 - 07:59 -- MichaelDaum | %USERSWEB%.MichaelDaum 18 Jan 2023 + +Compilation fails. Will have to revert this pull. Error message is: + +Foswiki::Plugins::EditRowPlugin could not be loaded. Errors were: #2... + |
Since rev(2): Tasks.Item15035 A little feature that we use on our local wiki. Extends the EditRowPlugin. Allows to copy cells of source row, when new row is added, instead of ... | Since rev(5): Tasks.Item15035 A little feature that we use on our local wiki. Extends the EditRowPlugin. Allows to copy cells of source row, when new row is added, instead of ... |
Item15173 | r 2 | 18 Jan 2023 - 07: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.Item15173 This is a new security feature. See https://developer.mozilla.org/en US/docs/Web/HTTP/Headers/Set Cookie/SameSite Main.MichaelDaum 17 Jan 202... | Since rev(5): Tasks.Item15173 This is a new security feature. See https://developer.mozilla.org/en US/docs/Web/HTTP/Headers/Set Cookie/SameSite Main.MichaelDaum 17 Jan 202... |
Item15180 | r 2 | 18 Jan 2023 - 07:38 -- 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.Item15180 There is code that prohibits any topic or web url parameter to a jsonrpc link with no good reason. In fact this breaks a couple of wiki apps out ... | Since rev(5): Tasks.Item15180 There is code that prohibits any topic or web url parameter to a jsonrpc link with no good reason. In fact this breaks a couple of wiki apps out ... |
Item15179 | r 1 | 17 Jan 2023 - 11:56 -- MichaelDaum | Tasks.Item15179 ... even if only one language is enabled. Otherwise some features in maketext will be broken, such as sprintf and num. Main.MichaelDaum 17 Ja... | Since rev(-1): Tasks.Item15179 ... even if only one language is enabled. Otherwise some features in maketext will be broken, such as sprintf and num. Main.MichaelDaum 17 Ja... | Since rev(5): Tasks.Item15179 ... even if only one language is enabled. Otherwise some features in maketext will be broken, such as sprintf and num. Main.MichaelDaum 17 Ja... |
Item15177 | r 1 | 17 Jan 2023 - 11:41 -- MichaelDaum | Tasks.Item15177 This will add a lot more flexibility and lets skins jquery.ui be styled in a uniform fassion using css variables. See https://developer.mozilla... | Since rev(-1): Tasks.Item15177 This will add a lot more flexibility and lets skins jquery.ui be styled in a uniform fassion using css variables. See https://developer.mozilla... | Since rev(5): Tasks.Item15177 This will add a lot more flexibility and lets skins jquery.ui be styled in a uniform fassion using css variables. See https://developer.mozilla... |
Item15176 | r 1 | 17 Jan 2023 - 11:30 -- MichaelDaum | Tasks.Item15176 Main.MichaelDaum 17 Jan 2023 | Since rev(-1): Tasks.Item15176 Main.MichaelDaum 17 Jan 2023 | Since rev(5): Tasks.Item15176 Main.MichaelDaum 17 Jan 2023 |
$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 |