$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 | 26 Jan 2021 - 23:05 -- UnknownUser | * DrakeDiedrich: Item10671 Item1893 Item1894 Item1895 Item194 + * DrewStevenson: Item1073 Item1157 Item1970 Item2198 Item819 * DurgeshPattamatta: Item10439 Item9078 * JohannesHammersen: Item8568 Item8575 Item8903 Item9072 Item + * JohnEdge: Item15011 * JohnElbourne: Item13942 |
Since rev(175): * DrakeDiedrich: Item10671 Item1893 Item1894 Item1895 Item194 + * DrewStevenson: Item1073 Item1157 Item1970 Item2198 Item819 * DurgeshPattamatta: Item10439 Item9078 * JohannesHammersen: Item8568 Item8575 Item8903 Item9072 Item + * JohnEdge: Item15011 * JohnElbourne: Item13942 |
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 |
Item15010 | r 5 | 26 Jan 2021 - 07:36 -- MichaelDaum | %USERSWEB%.SergioNogales 25 Jan 2021 + +I think that nailed it. Just some unit tests that still need fixing .... + + %USERSWEB%.MichaelDaum 26 Jan 2021 %COMMENT% |
Since rev(3): Tasks.Item15010 Since I updated rcs to 5.10 in my OS i keep on getting these messages in configure: rcs 5.10.0 detected. rcs is too old, upgrade to version 5.7 o... | Since rev(5): |
WebStatistics | r 999 | 26 Jan 2021 - 01:59 -- AdminUser | }% - Jan 2021 247913 55 2 15555 WebCreateNewTopic 2521 W... + Jan 2021 260208 56 2 17197 WebCreateNewTopic 2631 W... Dec 2020 278254 11 0 11648 WebCreateNewTopic 4417 W... |
Since rev(997): 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... + Jan 2021 260208 56 2 17197 WebCreateNewTopic 2631 W... + Dec 2020 278254 11 0 11648 WebCreateNewTopic 4417 W... + Nov 2020 386787 128 0 41168 WebCreateNewTopic 3783 ... + Oct 2020 362018 188 0 21710 WebCreateNewTopic 2664 ... |
Item15011 | r 2 | 22 Jan 2021 - 15:56 -- JohnEdge | ## ExternalLinkPlugin does not always display internal links correct - ### Summary + ### Summary (edited to add note on tables) -If there are Internal and and External link on the same line then Ext... +On a Foswiki instance where both ExternalLinkPlugin and LinkOptionsPl... * External links all correctly tagged |
Since rev(0): Tasks.Item15011 Main.JohnEdge 20 Jan 2021 ## ExternalLinkPlugin does not always display internal links correctly when LinkOptionsPlugin is installed. ### S... | Since rev(5): Tasks.Item15011 Main.JohnEdge 20 Jan 2021 ## ExternalLinkPlugin does not always display internal links correctly when LinkOptionsPlugin is installed. ### S... |
Item14770 | r 2 | 20 Jan 2021 - 15:10 -- TobiasVincze | Main.DylanMaccarone 18 Oct 2018 + +I have a same problem with the 2.1.6 version of the wiki. +Any new about this topic? + %USERSWEB%.TobiasVincze 20 Jan 2021 %COMMENT% |
Since rev(0): Tasks.Item14770 Running a Foswiki 1.1.9 installation. When attempting to use any functionality from the ExcelImportExportPlugin, the operation always fails with ... | Since rev(5): Tasks.Item14770 Running a Foswiki 1.1.9 installation. When attempting to use any functionality from the ExcelImportExportPlugin, the operation always fails with ... |
Item15009 | r 2 | 19 Jan 2021 - 16:45 -- MichaelDaum | %META:TOPICPARENT{name="SolrPlugin"}% - Main.SergioNogales 19 Jan 2021 - I installed today the plugin and solr following the instructions at E... + Main.SergioNogales 19 Jan 2021 + |
Since rev(0): Tasks.Item15009 I installed today the plugin and solr following the instructions at Extensions.SolrPlugin#Download_Solr. First I tried it with solr's version (8.... | Since rev(5): Tasks.Item15009 I installed today the plugin and solr following the instructions at Extensions.SolrPlugin#Download_Solr. First I tried it with solr's version (8.... |
Item15008 | r 1 | 15 Jan 2021 - 15:00 -- MichaelDaum | Tasks.Item15008 .... as well as RevCommentPlugin Main.MichaelDaum 15 Jan 2021 | Since rev(-1): Tasks.Item15008 .... as well as RevCommentPlugin Main.MichaelDaum 15 Jan 2021 | Since rev(5): Tasks.Item15008 .... as well as RevCommentPlugin Main.MichaelDaum 15 Jan 2021 |
Item15004 | r 2 | 12 Jan 2021 - 09:47 -- 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.Item15004 This makes HTML smaller a lot more "portable". Main.MichaelDaum 11 Jan 2021 | Since rev(5): Tasks.Item15004 This makes HTML smaller a lot more "portable". Main.MichaelDaum 11 Jan 2021 |
Item15007 | r 1 | 11 Jan 2021 - 12:32 -- MichaelDaum | Tasks.Item15007 STDERR really is only for errors and not for normal info and debug level logging Main.MichaelDaum 11 Jan 2021 | Since rev(-1): Tasks.Item15007 STDERR really is only for errors and not for normal info and debug level logging Main.MichaelDaum 11 Jan 2021 | Since rev(5): Tasks.Item15007 STDERR really is only for errors and not for normal info and debug level logging Main.MichaelDaum 11 Jan 2021 |
Item15006 | r 1 | 11 Jan 2021 - 12:30 -- MichaelDaum | Tasks.Item15006 * File::Copy::Recursive is Required * JSON is required * JSON::XS is optional for better performance * Algorith::Diff::XS optional fo... | Since rev(-1): Tasks.Item15006 * File::Copy::Recursive is Required * JSON is required * JSON::XS is optional for better performance * Algorith::Diff::XS optional fo... | Since rev(5): Tasks.Item15006 * File::Copy::Recursive is Required * JSON is required * JSON::XS is optional for better performance * Algorith::Diff::XS optional fo... |
Item15005 | r 1 | 11 Jan 2021 - 12:26 -- MichaelDaum | Tasks.Item15005 Main.MichaelDaum 11 Jan 2021 | Since rev(-1): Tasks.Item15005 Main.MichaelDaum 11 Jan 2021 | Since rev(5): Tasks.Item15005 Main.MichaelDaum 11 Jan 2021 |
Codebase | r 37 | 11 Jan 2021 - 12:24 -- MichaelDaum | Name + 2.1.7 2.1.6 |
Since rev(35): Tasks.Codebase Name 2.1.7 2.1.6 2.1.5 2.1.5 RC 2.1.5 beta 2.1.4 2.1.4 RC1 2.1.3 2.1.3 beta2 2.1.3 beta1 2.1.2 2.... | Since rev(5): Name + 2.1.7 + 2.1.6 + 2.1.5 + 2.1.5 RC + 2.1.5 beta |
Item9972 | r 6 | 11 Jan 2021 - 12:23 -- MichaelDaum | %USERSWEB%.GilmarSantosJr 08 Nov 2010 + +This patch doesn't apply anymore. Closing due to inactivity. + + %USERSWEB%.MichaelDaum 11 Jan 2021 %COMMENT% |
Since rev(4): Tasks.Item9972 When using FastCGI with Nginx or any other fast cgi solution that uses unix domain sockets, it's important to be able to specify the permission mo... | Since rev(5): %USERSWEB%.GilmarSantosJr 08 Nov 2010 + +This patch doesn't apply anymore. Closing due to inactivity. + + %USERSWEB%.MichaelDaum 11 Jan 2021 %COMMENT% |
Item15003 | r 1 | 04 Jan 2021 - 18:09 -- MichaelDaum | Tasks.Item15003 Main.MichaelDaum 04 Jan 2021 | Since rev(-1): Tasks.Item15003 Main.MichaelDaum 04 Jan 2021 | Since rev(5): Tasks.Item15003 Main.MichaelDaum 04 Jan 2021 |
Item14874 | r 3 | 04 Jan 2021 - 18:07 -- MichaelDaum | %META:FORM{name="Tasks.ItemTemplate"}% -%META:FIELD{name="Summary" title="Summary" value="deprecate uglify js... +%META:FIELD{name="Summary" title="Summary" value="deprecate uglify js... %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(1): Tasks.Item14874 uglify js is discontinued and does not cover modern javascript: uglify es is no longer maintained and uglify js does not support ES6 . terser is ... | Since rev(5): Tasks.Item14874 uglify js is discontinued and does not cover modern javascript: uglify es is no longer maintained and uglify js does not support ES6 . terser is ... |
Item5363 | r 6 | 04 Jan 2021 - 17:57 -- MichaelDaum | Main.CrawfordCurrie 08 Sep 2010 +closing due to inactivity + + Main.MichaelDaum 04 Jan 2021 + %META:FORM{name="ItemTemplate"}% |
Since rev(4): Tasks.Item5363 Few issues I spotted in Build.pm: * : is used as separator in TWIKI_LIBS environment variable. It conflicts with drive letter separator. * F... | Since rev(5): Main.CrawfordCurrie 08 Sep 2010 +closing due to inactivity + + Main.MichaelDaum 04 Jan 2021 + %META:FORM{name="ItemTemplate"}% |
Item15002 | r 1 | 04 Jan 2021 - 17:52 -- MichaelDaum | Tasks.Item15002 Main.MichaelDaum 04 Jan 2021 | Since rev(-1): Tasks.Item15002 Main.MichaelDaum 04 Jan 2021 | Since rev(5): Tasks.Item15002 Main.MichaelDaum 04 Jan 2021 |
Item15001 | r 1 | 04 Jan 2021 - 17:50 -- MichaelDaum | Tasks.Item15001 Main.MichaelDaum 04 Jan 2021 | Since rev(-1): Tasks.Item15001 Main.MichaelDaum 04 Jan 2021 | Since rev(5): Tasks.Item15001 Main.MichaelDaum 04 Jan 2021 |
Item15000 | r 1 | 04 Jan 2021 - 17:48 -- MichaelDaum | Tasks.Item15000 Main.MichaelDaum 04 Jan 2021 | Since rev(-1): Tasks.Item15000 Main.MichaelDaum 04 Jan 2021 | Since rev(5): Tasks.Item15000 Main.MichaelDaum 04 Jan 2021 |
Item14999 | r 1 | 04 Jan 2021 - 17:46 -- MichaelDaum | Tasks.Item14999 Main.MichaelDaum 04 Jan 2021 | Since rev(-1): Tasks.Item14999 Main.MichaelDaum 04 Jan 2021 | Since rev(5): Tasks.Item14999 Main.MichaelDaum 04 Jan 2021 |
$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 |