Chris Vandersip | 21 Apr 2005 18:43

MoinMoin Feature Request: Retain Archive of Unique Diffs

I've searched high and low for a solution to this without success, so
here's my proposal:

BACKGROUND
----------
Here at the office we've started using the RSS feature in RecentChanges
to track changes to our MoinMoin 1.3.4 wiki site via Firefox/Sage and
Thunderbird RSS.  It's a great feature, but it appears to be lacking an
important capability that limits the feature's effectiveness---

ISSUE
-----
The RecentChanges page only lists the last change for a particular page
and does not retain previous changes to that page within the
RecentChanges timeline. The ugly side effect of this for RSS feeds is 
that if you decide to not use the "unique=1" option, you'll get 
notification of each change, but the link will be the same in every 
article.

So, let's say you haven't read your wiki rss in a few days and you see 8 
articles indicating 8 changes to a particular page. When you click on 
the link within the articles, instead of getting a diff page for each 
change, every diff page shows only the latest diff.

REQUEST
-------
Create a configurable parameter for maintaining an archive of past diffs
available for individual pages (just as you can view a Revision History
listing in Get Info) and for each diff to be available in the 
RecentChanges timeline, so that links in the RSS articles will be unique 
(Continue reading)

Chris Vandersip | 21 Apr 2005 19:08

FOLLOWUP to MoinMoin Feature Request: Retain Archive of Unique Diffs

Chris Vandersip wrote:
> REQUEST
> -------
> Create a configurable parameter for maintaining an archive of past diffs
> available for individual pages (just as you can view a Revision History
> listing in Get Info) and for each diff to be available in the 
> RecentChanges timeline, so that links in the RSS articles will be unique 
> and point to specific diffs.
> 
> Additionally, if this was a tunable parameter, one could set a limit on
> the length of the diff archiving, e.g.
> 
> diff_archive_length = 7  #for either days or number of diffs

Of course, after I sent the above, I discovered that MoinMoin *does* 
retain an archive already, and the archive can be traversed in the Diff 
column of Get Info/Revision History of any page. One can display all the 
diffs for a page by appending the "&rev2=" and "&rev1=" filters to the 
?action=diff command in the URL.

ex. http://www.mydomain.com/wpwiki/FrontPage?action=diff&rev2=59&rev1=54
							================

So, armed with this new knowledge, I modify the request: Forget about 
creating a configurable parameter and just incorporate the &rev-style 
filtering into the RecentChanges/RSS feature to allow for unique past 
diffs to be read.  Looking at the XML page that displays when you press 
the RSS button on Recent Changes, it looks like the code that creates 
this page could be modified to include the &rev filters to the URL links 
in feed articles.
(Continue reading)


Gmane