Fixing “can’t give argument to non-function not $.DisableHTTP” in Gitea Wiki pages

I ran into an issue where trying to view a wiki page in Gitea threw an 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 $.DisableHTTP This issue was fixed in Gitea 1.11.4, so you’re probably running 1.11.3 or before. The latest version of… Read More Fixing “can’t give argument to non-function not $.DisableHTTP” in Gitea Wiki pages