Skip to content

[Bug Report] Wiki as submodule #18590

Closed
@schorsch13

Description

@schorsch13

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

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

No one assigned

    Labels

    good first issueLikely to be an easy fixtype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions