I've noticed that the version number (correctly) gets bumped for every new comment or image upload. However, I would like a means to show a list of revisions for _just_ content changes, i.e. exlude the revisions which were created for new comments and attachments. How would I do this in some velocity code? Thanks, Matt
Hi, You will need to compare content of each version to see that it hasn't changed and exclude it from the list Something like #if(rev1doc.content!=rev2doc.content) show revision #else don't show #end Ludovic Matthew Conway a écrit :
I've noticed that the version number (correctly) gets bumped for every new comment or image upload. However, I would like a means to show a list of revisions for _just_ content changes, i.e. exlude the revisions which were created for new comments and attachments. How would I do this in some velocity code? Thanks,
Matt
------------------------------------------------------------------------
-- You receive this message as a subscriber of the xwiki-dev@objectweb.org mailing list. To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
participants (2)
-
Ludovic Dubost -
Matthew Conway