This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
FS#462 possibility to add onSave triggers
Wouldn't it be nice if all those wanting to create backlinks or indexes or whatever based on page content would be able to create onModify/onInsert/onDelete triggers, that would get saved text and path as input and wouldn't return anything to wiki engine? I imagine, it could be put in a directory just like a plugin, but would always get run when the event occurs.
For example I would use it for my categories engine to know which pages declare themselves as part of a category. onInsert I would add the page to my plugin's file under the categories it uses, onModify I would delete lines belonging to the page and write new lines under the categories the page is from that moment and onDelete would remove any links from the file to the deleted page. I shouldn't have to crawl the directory structure for all files every time my category summary page is run (which includes all pages that belong to a category).
I got this idea from svn, which names its triggers hooks and is very useful as such...