Extract method and reinstate create_wiki_motion for rake tasks