6,608
edits
(→The move from fgaddon url to fgaddon file: Removed 'path' from the list of retained parameters.) |
|||
Line 27: | Line 27: | ||
::: {{obr}}'''fgaddon file'''{{!}}''aircraft''{{!}}''path''{{!}}''file=''{{!}}''cmd=''{{!}}''opt=''{{!}}''protocol=''{{!}}''login=''{{!}}''type=''{{!}}''branch=''{{!}}''commit=''{{!}}''line=''{{!}}''view=''{{!}}''text=''{{!}}{{cbr}} | ::: {{obr}}'''fgaddon file'''{{!}}''aircraft''{{!}}''path''{{!}}''file=''{{!}}''cmd=''{{!}}''opt=''{{!}}''protocol=''{{!}}''login=''{{!}}''type=''{{!}}''branch=''{{!}}''commit=''{{!}}''line=''{{!}}''view=''{{!}}''text=''{{!}}{{cbr}} | ||
:: i.e. The {{param|aircraft}} and {{param|path}} parameters are preserved and are used to construct the {{tl|repo link}} {{param|path}} parameter. And the {{param|file}} parameter is also preserved, and being set will cause the {{tl|repo link}} {{param|text}} parameter to be constructed. I can then alias {{param|r}} = {{param|c}} = {{param|commit}}, {{param|b}} = {{param|branch}}, and {{param|l}} = {{param|line}}. This should mimic the current behaviour and not break any linking pages. I'll try something in {{tl|fgaddon file/sandbox}}. | :: i.e. The {{param|aircraft}} and {{param|path}} parameters are preserved and are used to construct the {{tl|repo link}} {{param|path}} parameter. And the {{param|file}} parameter is also preserved, and being set will cause the {{tl|repo link}} {{param|text}} parameter to be constructed. I can then alias {{param|r}} = {{param|c}} = {{param|commit}}, {{param|b}} = {{param|branch}}, and {{param|l}} = {{param|line}}. This should mimic the current behaviour and not break any linking pages. I'll try something in {{tl|fgaddon file/sandbox}}. | ||
: Originally I was thinking of creating a {{obr}}* file{{cbr}} set of templates using only the {{tl|repo link}} parameters {{param|protocol}}, {{param|type}}, {{param|user}}, {{param|proj}}, {{param|repo}}, {{param|branch}}, {{param|tag}}, {{param|commit | : Originally I was thinking of creating a {{obr}}* file{{cbr}} set of templates using only the {{tl|repo link}} parameters {{param|protocol}}, {{param|type}}, {{param|user}}, {{param|proj}}, {{param|repo}}, {{param|branch}}, {{param|tag}}, {{param|commit}}, {{param|line}}, {{param|view}}, {{param|text}}, {{param|pre}}, {{param|simplepath}}, and {{param|full}}. But this is a little redundant with the other family members, so I might drop that idea. | ||
: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 05:36, 8 March 2016 (EST) | : [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 05:36, 8 March 2016 (EST) |