Talk:Tupolev Tu-144D/info

From FlightGear wiki
Jump to navigation Jump to search

Download parameter usage and the {{repo link}} template for TAR files

Hi! For the last edit where the download parameter for the {{infobox aircraft}} template usage changed from:

 {{gitlab zip file|user=mdanil|repo=Tu-144|full=1|tag=0.5.0}}

to:

 [https://gitlab.com/mdanil/Tu-144/repository/archive.tar.bz2?ref=0.5.0 Release]

this does not work as you cannot have the text "Release" here - you must use a pure URL rather than a Mediawiki link.

From the change, I gather that you would like a link to the TAR file rather than the ZIP file. For that I would recommend simply extending the set of {{repo link}} templates. You could create the {{gitlab tar file}} template by copying the contents of {{gitlab zip file}} and changing "*.zip" to "*.tar.gz". This is very easy, as these are subtemplates of {{repo link}}, and the change would be of benefit for everyone! Then you could add it to the list at {{repo link/doc related}}. Cheers!

Bugman (talk) 04:24, 24 January 2017 (EST)

How do you do,
The last edit was because I saw the template not working. Maybe I should have waited some time.
While I strongly prefer TAR files and expect them to be more widely used with free software, I would not mind changing to ZIP if it is more appropriate.
Thanks,
Mdanil (talk) 08:24, 24 January 2017 (EST)