-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
good first issueLikely to be an easy fixLikely to be an easy fixtype/enhancementAn improvement of existing functionalityAn improvement of existing functionality
Description
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
- https://try.gitea.io/schorsch/test-wiki-submodule
- https://codeberg.org/moenavigator/moenavigatorengine (the
./doc
folder)
Proposal
The wiki has the exact same name as the original repo but with the suffix .wiki
. When accessing https://gitea-instace.example/user/repo.wiki
just redirect to https://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
Metadata
Metadata
Assignees
Labels
good first issueLikely to be an easy fixLikely to be an easy fixtype/enhancementAn improvement of existing functionalityAn improvement of existing functionality