refactoring template for desktop crosswiki search