def course_wiki_slug(course):
 slug = course.wiki_slug
 if slug_is_numerical(slug):
  slug = (slug + '_')
 return slug

def course_wiki_slug ( course ) : slug = course . wiki_slug if slug_is_numerical ( slug ) : slug = ( slug + '_' ) return slug
returns the slug for the course wiki root .