Skip to content

Redirect project.wiki.git to project wiki home

Luke Duncalfe requested to merge 19186-redirect-wiki-git-route-to-wiki into master

What does this MR do?

This MR adds a redirect from namespace/project.wiki.git to namespace/project/wikis.

When a user has cloned the wiki repository, the remote URIs are visible as:

➜  wiki.wiki git:(master) git remote -v
origin	https://gitlab.com/namespace/project.wiki.git (fetch)
origin	https://gitlab.com/namespace/project.wiki.git (push)

This redirect brings expected behaviour when visiting the .git path, similar to how visiting the main repository displays the project page.

https://gitlab.com/gitlab-org/gitlab-ce/issues/19186

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports