swap .wiki reserved name for /wiki/ #11990

Open
opened 2025-11-02 09:53:43 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @unusualevent on GitHub (Nov 12, 2023).

Feature Description

I have a go program that's a .wiki, noticed that it's a reserved name: https://github.com/go-gitea/gitea/blob/main/models/repo/repo.go#L60

would be kinda cool if .wiki were /wiki, I guess? feels odd for repos to hide things under entirely different folders instead of under the parent, e.g.:

gitea.com/org/user/thing.git (legacy sake... some clients try this?)
gitea.com/org/user/thing/wiki (as in, https://github.com/go-gitea/gitea/wiki)
gitea.com/org/user/thing/rss (as in, https://git.sr.ht/~sircmpwn/core.sr.ht/log or https://git.sr.ht/~sircmpwn/core.sr.ht/log/master/rss.xml)

vs:

gitea.com/org/user/thing.wiki
gitea.com/org/user/thing.git
gitea.com/org/user/thing.rss

which are all repo-ish spaces on the folder name?

.git", ".wiki", ".rss", ".atom"

^ I get .git being reserved, I suppose? that's gotta be something legacy?

Screenshots

No response

Originally created by @unusualevent on GitHub (Nov 12, 2023). ### Feature Description I have a go program that's a .wiki, noticed that it's a reserved name: https://github.com/go-gitea/gitea/blob/main/models/repo/repo.go#L60 would be kinda cool if .wiki were /wiki, I guess? feels odd for repos to hide things under entirely different folders instead of under the parent, e.g.: ``` gitea.com/org/user/thing.git (legacy sake... some clients try this?) gitea.com/org/user/thing/wiki (as in, https://github.com/go-gitea/gitea/wiki) gitea.com/org/user/thing/rss (as in, https://git.sr.ht/~sircmpwn/core.sr.ht/log or https://git.sr.ht/~sircmpwn/core.sr.ht/log/master/rss.xml) ``` vs: ``` gitea.com/org/user/thing.wiki gitea.com/org/user/thing.git gitea.com/org/user/thing.rss ``` which are all repo-ish spaces on the folder name? *.git", "*.wiki", "*.rss", "*.atom" ^ I get .git being reserved, I suppose? that's gotta be something legacy? ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 09:53:43 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11990