0

I just wonder is there any way to add hooks for default wiki editing actions in Trac. For simplicity, let's imagine I want to have something like pre-commit hook for editing pages.

shabunc
  • 23,119
  • 19
  • 77
  • 102

1 Answers1

3

The Trac wiki documentation as an exhaustive list of ExtensionPoint interfaces. An enabled Trac Component implementing the respective interface may to all sorts of things.

Regarding your request IWikiPageManipulator should be the one to use:

The IWikiPageManipulator can manipulate and validate wiki pages before saving or before rendering.

hasienda
  • 2,390
  • 1
  • 13
  • 16