I wonder if something similar is possible for a link to the free FontAwesome icons. That one is used in the settings description of some components, and if those only contained %{FA_free_link}, then updating the links in core would fix them in all components that use that link. Also, translators wouldn’t have to translate the description again.
I think ideally we would link to https://meta.discourse.org/styleguide/atoms/icons, and it would have a nice search interface to access all available icons. I did have a WIP for that a few months ago… will have to dust it off and see if I can get it mergeable
Lots of descriptions of settings of theme components and plugins will need an update again now. So, while for most components it’s mainly about updating the description of the svg_icons setting to mention version 7 instead of 6, it might be helpful to think about having a more permanent solution based on parameters so translators don’t have to translate everything again on each version update.
Adding an example here that contains both: The link and the version number
How do admins know which FontAwesome icons they can use? I mean, currently, it’s safe to assume using the most current version. But when V8 is published, there will be a time where you need to know that icons added in FA8 won’t work, and in cases where the name was changed, you also need to use the FA7 name of the icon. Or is that no longer a problem?
About a year ago, it was cvx who suggested that we keep a version number in the links:
I was hoping adding placeholders for the version number and a link to the FA website that can be used in component setting descriptions might be easier than a site setting & theme setting & object setting icon dropdown
(And then there are still the components that aren’t migrated to use object settings but use something like
Enter comma-delimited configuration for tags, in the format “tag-slug,icon,iconColor”. Icon color is optional.