X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/90fd9422a14e69eb3f53b042c88b3b976d50f354..afad77a7e06072609956d19d6bdf7fdd24a5293c:/doc/todo/support_linking_to_cgit.mdwn diff --git a/doc/todo/support_linking_to_cgit.mdwn b/doc/todo/support_linking_to_cgit.mdwn index 08c0acb4d..ae7d23ce9 100644 --- a/doc/todo/support_linking_to_cgit.mdwn +++ b/doc/todo/support_linking_to_cgit.mdwn @@ -10,8 +10,36 @@ cgit wants URLs like: on the recentchanges page. Would it make sense to add an option to skip URL-encoding when doing -the substitution of `[[file]]` in `diffurl` and `historyurl`? +the substitution of `\[[file]]` in `diffurl` and `historyurl`? --[[intrigeri]] +> In `91b477c` I made a similar change to how the cvs backend encodes +> `diffurl`. Perhaps it applies to all VCS backends? --[[schmonz]] + +>> Thanks a lot! I've not looked at it yet, but will try to do so +>> soonish, as this bug is a real problem for Tails when welcoming potential +>> new contributors. --[[intrigeri]] + +>>> My `fix_diffurl_vs._cgit` branch now implements schmonz' change +>>> for the Git plugin. Please review and merge if you like +>>> it. --[[intrigeri]] + +>>>> Ping? --[[intrigeri]] + +>>>> Normally, my tendency towards pedantic preservation of existing APIs +>>>> would make me implement a new token \[[file_less_escaped]] or +>>>> something, analogous to `%s` vs. `%S` in [[shortcuts]]; but +>>>> gitweb and cgit are both OK with `/` not being escaped, whereas +>>>> only gitweb allows it to be escaped as `%2F`, so I think your +>>>> solution is fine. Also, it would need a much better name than +>>>> \[[file_less_escaped]], and I can't think of one. +>>>> +>>>> I don't have commit access to ikiwiki.info, but if I did, +>>>> [[I'd merge this|/users/smcv/ready]]. --[[smcv]] + +>>>>> [[merged|done]] --[[Joey]] + [[wishlist]] + +[[!tag patch]]