intra wiki templates refactoring