Add history functionality to wiki