Wiki sync plugin

Thanks for the answer! Actually my question about easyness was not very clear… I meant: what do I have to do in order to get some piece of code called server-side every time a (wiki mode) post gets edited? Is there already a hook somewhere or do I have to actually make a pull request and fiddle with the core discourse code (add some code in discourse/app/controllers/posts_controller.rb)?