Wiki Diff

{# Copyright (C) 2006-2023 Edgewall Software This software is licensed as described in the file COPYING, which you should have received as part of this distribution. The terms are also available at https://trac.edgewall.org/wiki/TracLicense. This software consists of voluntary contributions made by many individuals. For the exact contribution history, see the revision history and logs, available at https://trac.edgewall.org/. #} # extends 'diff_view.html'
# set resource = page.resource ## Note: using 'set' is the only way to "propagate" a value from the ## extending template to the extended template. Using 'with' ## wouldn't work.
# block content ${ super() } # if ('WIKI_DELETE' in perm(page.resource) and (not changes[0].diffs or new_version == latest_version)):
# if (new_version - old_version) is greaterthan(1): # else: # endif
# endif # endblock content