def user_is_article_course_staff(user, article):
 wiki_slug = article_course_wiki_root_slug(article)
 if (wiki_slug is None):
  return False
 modstore = modulestore.django.modulestore()
 return _has_wiki_staff_access(user, wiki_slug, modstore)

def user_is_article_course_staff ( user , article ) : wiki_slug = article_course_wiki_root_slug ( article ) if ( wiki_slug is None ) : return False modstore = modulestore . django . modulestore ( ) return _has_wiki_staff_access ( user , wiki_slug , modstore )
the root of a course wiki is /<course_number> .