Zettat123 2010fbe060
Fix raw wiki links (#31825)
Fix #31395

This regression is introduced by #30273. To find out how GitHub handles
this case, I did [some
tests](https://github.com/go-gitea/gitea/issues/31395#issuecomment-2278929115).

I use redirect in this PR instead of checking if the corresponding `.md`
file exists when rendering the link because GitHub also uses redirect.
With this PR, there is no need to resolve the raw wiki link when
rendering a wiki page. If a wiki link points to a raw file, access will
be redirected to the raw link.
2024-08-16 20:40:51 +08:00
..
2024-06-29 22:50:03 +00:00
2024-02-25 13:32:13 +00:00
2024-06-17 21:22:39 +02:00
2024-04-03 02:16:46 +00:00
2024-08-09 02:40:45 +00:00
2024-08-16 20:40:51 +08:00
2023-02-11 08:39:50 +08:00
2023-12-25 20:13:18 +08:00
2024-04-22 23:55:43 +00:00
2024-02-25 13:32:13 +00:00
2022-12-30 23:31:00 +08:00
2023-11-03 15:21:05 +00:00
2024-06-11 18:47:45 +00:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-01-12 21:50:38 +00:00