-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[Bug Report] Wiki as submodule #18590
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
Labels
Comments
But this maybe a break for those repositories have suffix |
a1012112796
added a commit
to a1012112796/gitea
that referenced
this issue
Feb 22, 2022
fix go-gitea#18590 Signed-off-by: a1012112796 <[email protected]>
zeripath
added a commit
that referenced
this issue
Mar 23, 2022
Redirect .wiki/* ui link to /wiki fix #18590 Signed-off-by: a1012112796 <[email protected]> Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Andrew Thornton <[email protected]>
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Mar 23, 2022
Backport go-gitea#18831 Redirect .wiki/* ui link to /wiki fix go-gitea#18590 Signed-off-by: a1012112796 <[email protected]> Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Andrew Thornton <[email protected]>
zeripath
added a commit
that referenced
this issue
Mar 23, 2022
Backport #18831 Redirect .wiki/* ui link to /wiki fix #18590 Signed-off-by: a1012112796 <[email protected]> Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Andrew Thornton <[email protected]> Co-authored-by: a1012112796 <[email protected]>
Chianina
pushed a commit
to Chianina/gitea
that referenced
this issue
Mar 28, 2022
Redirect .wiki/* ui link to /wiki fix go-gitea#18590 Signed-off-by: a1012112796 <[email protected]> Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Andrew Thornton <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Introduction
When adding the wiki of a repo to the repo itself as a submodule, you will get a 404 error in the web UI when clicking on the submodule. This occurs due to the fact that the wiki is no real repo.
Example
Here are two example repositories. One on codeberg and one on try.gitea
./doc
folder)Proposal
The wiki has the exact same name as the original repo but with the suffix
.wiki
. When accessinghttps://gitea-instace.example/user/repo.wiki
just redirect tohttps://gitea-instance.example/user/repo/wiki
Credits
The bug was discovered by the codeberg user ncc1988. They also suggested the workaround. For further information have a look at the issue on codeberg: https://codeberg.org/Codeberg/Community/issues/217
The text was updated successfully, but these errors were encountered: