Refactored wiki event mechanism to support multiple event types