[openstreetmap/openstreetmap-website] Replace Shortlink custom algorithm with a standard implementation (Issue #4205)
Andy Allan
notifications at github.com
Sat Sep 2 14:45:43 UTC 2023
We can't remove the code for shortlinks, since that will break every shortlink that has ever been generated before. So we are required to maintain that code, even if we generated short links with a different algorithm in future.
I'm not sure what advantage there would be in generating shortlinks with any other algorithm, since they are just URLs to this site. And would therefore duplicate the shortlinks that we already offer. So I can't see there being any advantage to e.g. letting users choose the algorithm.
In short, I agree with the above comments from other contributors that this idea doesn't bring us any gains in terms of code maintenance or otherwise.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4205#issuecomment-1703854318
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4205/1703854318 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230902/7620ee81/attachment-0001.htm>
More information about the rails-dev
mailing list