[Bug] Deleting wiki page returns 404 #6946

Closed
opened 2025-11-02 07:11:54 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @delvh on GitHub (Mar 1, 2021).

  • Gitea version (or commit ref): 1.14.0+dev-786-gf0e15250b

Description

When deleting a wiki page, the user gets redirected to
{repo}/wiki/
which appears to be outdated as the new value seems to be
{repo}/wiki/_pages.
Hence a 404 error gets returned, which is a bit annoying: It implies the task failed successfully.

Originally created by @delvh on GitHub (Mar 1, 2021). - Gitea version (or commit ref): 1.14.0+dev-786-gf0e15250b ## Description When deleting a wiki page, the user gets redirected to `{repo}/wiki/` which appears to be outdated as the new value seems to be `{repo}/wiki/_pages`. Hence a 404 error gets returned, which is a bit annoying: It implies the task failed successfully.
GiteaMirror added the type/bugtype/upstream labels 2025-11-02 07:11:54 -06:00
Author
Owner

@a1012112796 commented on GitHub (Mar 2, 2021):

releated to https://github.com/go-chi/chi/issues/594

@a1012112796 commented on GitHub (Mar 2, 2021): releated to https://github.com/go-chi/chi/issues/594
Author
Owner

@delvh commented on GitHub (Mar 2, 2021):

Let's hope it will be fixed.
How often does try.gitea.io get updated, or better: When will it get updated for that specific commit to test?

@delvh commented on GitHub (Mar 2, 2021): Let's hope it will be fixed. How often does try.gitea.io get updated, or better: When will it get updated for that specific commit to test?
Author
Owner

@6543 commented on GitHub (Mar 2, 2021):

@delvh

How often does try.gitea.io get updated

each merge into master if CI PASSES

@6543 commented on GitHub (Mar 2, 2021): @delvh > How often does try.gitea.io get updated each merge into master if CI PASSES
Author
Owner

@delvh commented on GitHub (Mar 2, 2021):

is currently still at commit def964e which is the one before the merged PR…

@delvh commented on GitHub (Mar 2, 2021): is currently still at commit def964e which is the one before the merged PR…
Author
Owner

@6543 commented on GitHub (Mar 2, 2021):

-> if https://drone.gitea.io/go-gitea/gitea/36548 passes it will update ...

@6543 commented on GitHub (Mar 2, 2021): -> if https://drone.gitea.io/go-gitea/gitea/36548 passes it will update ...
Author
Owner

@delvh commented on GitHub (Mar 2, 2021):

Okay, that makes more sense. Thanks!

@delvh commented on GitHub (Mar 2, 2021): Okay, that makes more sense. Thanks!
Author
Owner

@delvh commented on GitHub (Mar 2, 2021):

Works. Even better, if I manually delete the _pages part, I always get redirected to {repo}/wiki/_pages automatically.

@delvh commented on GitHub (Mar 2, 2021): Works. Even better, if I manually delete the `_pages` part, I always get redirected to `{repo}/wiki/_pages` automatically.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6946