New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow redirecting wiki paths more than one level deep #3123

Merged
merged 1 commit into from May 6, 2018

Conversation

2 participants
@notbakaneko
Contributor

notbakaneko commented May 2, 2018

Currenty the redirect only works for wiki paths one level deep:
/wiki/Welcome -> /help/wiki/Welcome

This fixes the redirects for anything deeper:
/wiki/Mascots/Gallery -> /help/wiki/Mascots/Gallery
/wiki/we/need/to/go/deeper -> /help/wiki/we/need/to/go/deeper

@notbakaneko notbakaneko added the bug label May 2, 2018

@peppy peppy merged commit 6445c46 into ppy:master May 6, 2018

2 checks passed

continuous-integration/styleci/pr The analysis has passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@peppy peppy added the wiki label May 6, 2018

@peppy peppy added this to the May 2018 milestone May 6, 2018

@notbakaneko notbakaneko deleted the notbakaneko:feature/deeper-wiki-redirect branch May 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment