Here specifically: https://github.com/shuhaowu/kitsune/blob/9e5270c6988c5e558612de7abfa65663f5ff79ca/apps/wiki/views.py#L475