Add versioning logic to Wiki