Improve compatibility for old wiki versions to prevent possible crashes.