Following links to inexistent Wiki pages redirect to the list of pages #2

Open
opened 2023-04-10 21:40:14 +02:00 by khorben · 1 comment
Owner

Description

When following links to inexistent wiki pages, Gitea automatically redirects to the list of pages (e.g., https://try.gitea.io/khorben/test-for-wiki/wiki/?action=_pages). It would make more sense to link to a web page allowing the creation of the corresponding wiki page directly instead (e.g., https://try.gitea.io/khorben/test-for-wiki/wiki?title=Test&action=_new). An indication whether a page with that same name already exists could help comfort the user in the process of creating the page. Alternatively, the "Title" field could be changed to read-only when provided in the URL directly.

Screenshots

image

- Gitea version (or commit ref): 1.16.9 - Git version: 2.39.1 - Operating system: NetBSD 9.3_STABLE (GENERIC) pkgsrc-2022Q4 (from source, system service) - Database: - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes: https://try.gitea.io/khorben/test-for-wiki/wiki/?action=_pages - [ ] No - Log gist: (nothing relevant here) ## Description When following links to inexistent wiki pages, Gitea automatically redirects to the list of pages (e.g., <https://try.gitea.io/khorben/test-for-wiki/wiki/?action=_pages>). It would make more sense to link to a web page allowing the creation of the corresponding wiki page directly instead (e.g., <https://try.gitea.io/khorben/test-for-wiki/wiki?title=Test&action=_new>). An indication whether a page with that same name already exists could help comfort the user in the process of creating the page. Alternatively, the "Title" field could be changed to read-only when provided in the URL directly. ## Screenshots ![image](/attachments/85358f67-cdfc-464e-a601-29ebe8774725)
188 KiB
khorben self-assigned this 2023-04-10 21:40:14 +02:00
Author
Owner
Reported upstream at https://github.com/go-gitea/gitea/issues/24037.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DeforaNetworks/gitea#2
No description provided.