Index: trac/wiki/web_ui.py
===================================================================
--- trac/wiki/web_ui.py	(revision 3413)
+++ trac/wiki/web_ui.py	(working copy)
@@ -28,7 +28,7 @@
 from trac.util import get_reporter_id
 from trac.util.datefmt import format_datetime, pretty_timedelta
 from trac.util.text import shorten_line
-from trac.util.markup import html, Markup
+from trac.util.markup import html, Markup, Fragment
 from trac.versioncontrol.diff import get_diff_options, hdf_diff
 from trac.web.chrome import add_link, add_stylesheet, INavigationContributor
 from trac.web import HTTPNotFound, IRequestHandler
@@ -148,10 +148,10 @@
             href = format == 'rss' and req.abs_href or req.href
             db = self.env.get_db_cnx()
             cursor = db.cursor()
-            cursor.execute("SELECT time,name,comment,author "
+            cursor.execute("SELECT time,name,comment,author,version "
                            "FROM wiki WHERE time>=%s AND time<=%s",
                            (start, stop))
-            for t,name,comment,author in cursor:
+            for t,name,comment,author,version in cursor:
                 title = Markup('<em>%s</em> edited by %s',
                                wiki.format_page_name(name), author)
                 if format == 'rss':
@@ -160,6 +160,11 @@
                 else:
                     comment = wiki_to_oneliner(comment, self.env, db,
                                                shorten=True)
+                    if version > 1:
+                        diff_link = html.A('diff', href=href.wiki(
+                            name, action='diff', version=version,
+                            old_version=version-1))
+                        comment = Fragment(comment, ' (', diff_link, ')')
                 yield 'wiki', href.wiki(name), title, t, author, comment
 
             # Attachments
Index: trac/util/markup.py
===================================================================
--- trac/util/markup.py	(revision 3406)
+++ trac/util/markup.py	(working copy)
@@ -278,8 +278,10 @@
 class Fragment(object):
     __slots__ = ['children']
 
-    def __init__(self):
+    def __init__(self, *args):
         self.children = []
+        for arg in args:
+            self.append(arg)
 
     def append(self, node):
         """Append an element or string as child node."""

