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
- 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

Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
Reported upstream at https://github.com/go-gitea/gitea/issues/24037.