We're aware of these urls. That's why url mangling is not in phase 0.


On Wed, Apr 2, 2014 at 2:38 PM, Dave St.Germain <notifications@github.com>wrote:

> In lms/djangoapps/course_wiki/templatetags/course_wiki.py:
>
> > +from courseware.courses import get_course_with_access
> > +
> > +register = template.Library()  # pylint: disable=C0103
> > +
> > +
> > +@register.simple_tag(takes_context=True)
> > +def load_course(context):
> > +    """
> > +    This is a context processor which looks at the URL while we are
> > +    in the wiki. If the url is in the form
> > +    /courses/(course_id)/wiki/...
> > +    then we add 'course' to the context. This allows the course nav
> > +    bar to be shown.
> > +    """
> > +    request = context['request']
> > +    match = re.match(r'/courses/(?P<course_id>[^/]+/[^/]+/[^/]+)/wiki/(?P<wiki_path>.*|)$', request.path)
>
> I don't know, but this doesn't change the previous behavior, just moves
> that particular detection somewhere else.
> Maybe it's possible to set the course onto the request, so that it'll be
> available to the context on the wiki templates.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-platform/pull/2775/files#r11220475>
> .
>