Template talk:Forum link: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
Line 9: Line 9:


: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 05:04, 31 May 2019 (EDT)
: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 05:04, 31 May 2019 (EDT)
:: Hi,
:: If you come up with a nice regex we can let [[User:BotFlightGear|the Bot]] run it over the entire wiki. Simply replacing all the old urls by the new ones is easy, but maybe this is the right time to use the forumref template instead ;-)
:: [[User:Gijs|Gijs]] ([[User talk:Gijs|talk]]) 12:22, 31 May 2019 (EDT)

Revision as of 16:23, 31 May 2019

Usable as replacement for cite web used for forum links?

I was about to look up all the links to the FlightGear forum replace those links with this template (due to the post Template:Forumref by legoboyvdlp, Thu May 30, 2019). I have quickly noted that a lot of the links are in a {{cite web}} template. Because that seem to be a common use case I am considering to add the parameters author= and date= and when they are used format them like {{cite web}} does. (in essence: Author (date). Title (Icon)).

I maybe should look into how the various ways the forum is linked first though.

Johan G (Talk | contribs) 14:10, 30 May 2019 (EDT)

Note that I have created forum URLs directly in the {{infobox aircraft}} template. I currently cannot use this template there as a pure URL is essential. That should qualify as a different way. Supporting this would probably require a parent template, say {{forumurl}}, that generates the URL, and then this template uses it to generate URL part of the link wiki markup. I'm sure there would be other cases on this wiki where the direct URL for the forum is used rather than a wiki link.
Bugman (talk) 05:04, 31 May 2019 (EDT)
Hi,
If you come up with a nice regex we can let the Bot run it over the entire wiki. Simply replacing all the old urls by the new ones is easy, but maybe this is the right time to use the forumref template instead ;-)
Gijs (talk) 12:22, 31 May 2019 (EDT)