Template talk:Repo link: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(→‎needs to be updated for different protocols: Could you elaborate a little on that)
mNo edit summary
Line 8: Line 8:
: Sorry that I do not understand you, but do you mean the URL in the template or URLs spread out in articles literally?
: Sorry that I do not understand you, but do you mean the URL in the template or URLs spread out in articles literally?
: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 18:34, 4 April 2015 (EDT)
: —[[User:Johan G|Johan G]] ([[User_talk:Johan_G|Talk]] | [[Special:Contributions/Johan_G|contribs]]) 18:34, 4 April 2015 (EDT)
:: the latter - currently, we cannot use either of those templates to update the "building FG" docs accordingly, many of which contain now wrong links to the repositories - especially those using the git protocol - so it would be better to either have 3 templates, or one parameterized template returning the requested repository URL, including the proper format - so that we can use <nowiki>{{SimGear repo|proto=git}}</nowiki> or something like that. Otherwise, we will have to update dozens of references manually whenever there's a similar change (thanks for your recent changes though!). Just imagine, repositories would have to change again some time soon - we would have to manually update all URLs again. So let's better use a template for such things, analogous to how the "Next Newsletter" template serves as a "pointer" and can be easily changed, without having to update any locations using it. --[[User:Hooray|Hooray]] ([[User talk:Hooray|talk]]) 18:48, 4 April 2015 (EDT)

Navigation menu