On 03/11/2018 04:56 PM, John Griessen wrote:
The wiki page has a convenient TinyURL.
Is it feasible to make TinyURLs for archived list threads such as:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/2...
Yes, and it's rather easy to do. You would have to do minimal modifications to Hyperkitty to get it. Here is an open issue about that https://gitlab.com/mailman/hyperkitty/issues/60
Gitlab is having an issue with the comments, but in short you would have to do the following:
Each object has a pk which is an integer by default. You would add a view with a url like "/archives/shortlink/<int>" and make the view fetch the message and redirect to the existing view.
You will probably also want to include the ability of getting these links by changing the templates to include this link. I would recommend either replacing the exiting permalink or adding a new shortlink option.
If you of course want something other than integers, you would have to implement a little more...
I'm not sure if it is an option to include that in hyperkitty by default, or if you would have to do the modifications yourself. The issue is rather old and I'm not sure what the outcome of the discussion was...