gitea: Fix wiki page display


gitea: Fix wiki page display

From the PR:

Right now, the version of gitea shipped in ports fails to display wiki
pages. Any wiki page opened results in the following error:

template: repo/wiki/view:48:14: executing "repo/wiki/view" at <(not
$.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned
$.ExposeAnonSSH))>: can't give argument to non-function not

This is due to extra parentheses in templates/repo/wiki/view.tmpl and
has already been fixed upstream in [1], [2].

I've pulled the single line template fix from upstream and added the
patch to our port. As a workaround, users can also fix the problem by
placing the corrected template in


[1] https://github.com/go-gitea/gitea/issues/10552
[2] https://github.com/zeripath/gitea/commit/1830d0ed5f4a67e3360ecbb55933b5540b6affce

PR: 246020
Submitted by: Sascha Biberhofer
Approved by: maintainer