refactor wiki_page factory to get rid of a StaleObject error