XWIKI-9291: When creating a wiki from template the template history is wiped