2013-07-24 15:35:09 +02:00
|
|
|
|
As described on [Tails issue #5879](https://labs.riseup.net/code/issues/5879),
|
|
|
|
|
cgit wants URLs like:
|
|
|
|
|
|
|
|
|
|
https://git-tails.immerda.ch/tails/commit/wiki/src/todo/fix_localized_iceweasel_search_engine.mdwn?id=c682a361418bef7bce040ea2905691d54be192ab
|
|
|
|
|
|
|
|
|
|
... while ikiwiki generates links like:
|
|
|
|
|
|
|
|
|
|
https://git-tails.immerda.ch/tails/commit/wiki/src/todo%2Ffix_localized_iceweasel_search_engine.mdwn?id=c682a361418bef7bce040ea2905691d54be192ab
|
|
|
|
|
|
|
|
|
|
on the recentchanges page.
|
|
|
|
|
|
|
|
|
|
Would it make sense to add an option to skip URL-encoding when doing
|
2013-07-24 20:53:47 +02:00
|
|
|
|
the substitution of `\[[file]]` in `diffurl` and `historyurl`?
|
2013-07-24 15:35:09 +02:00
|
|
|
|
|
2013-07-24 15:37:27 +02:00
|
|
|
|
--[[intrigeri]]
|
2013-07-24 15:35:09 +02:00
|
|
|
|
|
2013-07-24 20:53:47 +02:00
|
|
|
|
> In `91b477c` I made a similar change to how the cvs backend encodes
|
|
|
|
|
> `diffurl`. Perhaps it applies to all VCS backends? --[[schmonz]]
|
|
|
|
|
|
2013-12-31 01:53:36 +01:00
|
|
|
|
>> 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
|
2013-12-31 02:02:59 +01:00
|
|
|
|
>> new contributors. --[[intrigeri]]
|
2013-12-31 01:53:36 +01:00
|
|
|
|
|
2013-12-31 02:49:57 +01:00
|
|
|
|
>>> My `fix_diffurl_vs._cgit` branch now implements schmonz' change
|
|
|
|
|
>>> for the Git plugin. Please review and merge if you like
|
|
|
|
|
>>> it. --[[intrigeri]]
|
|
|
|
|
|
2014-02-09 12:04:51 +01:00
|
|
|
|
>>>> Ping? --[[intrigeri]]
|
|
|
|
|
|
2014-02-22 16:10:13 +01:00
|
|
|
|
>>>> 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
|
2014-02-22 16:11:25 +01:00
|
|
|
|
>>>> solution is fine. Also, it would need a much better name than
|
|
|
|
|
>>>> \[[file_less_escaped]], and I can't think of one.
|
2014-02-22 16:10:13 +01:00
|
|
|
|
>>>>
|
|
|
|
|
>>>> I don't have commit access to ikiwiki.info, but if I did,
|
2014-02-23 01:48:54 +01:00
|
|
|
|
>>>> [[I'd merge this|/users/smcv/yesplease]]. --[[smcv]]
|
2014-02-22 16:10:13 +01:00
|
|
|
|
|
2014-02-23 19:15:49 +01:00
|
|
|
|
>>>>> [[merged|done]] --[[Joey]]
|
|
|
|
|
|
2013-07-24 15:35:09 +02:00
|
|
|
|
[[wishlist]]
|
2013-12-31 02:49:57 +01:00
|
|
|
|
|
|
|
|
|
[[!tag patch]]
|