Template talk:AlpineLatest: Difference between revisions
mNo edit summary |
m (Indent replies; reply to Prabuanand.) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This needs to be updated to the latest version (currently 3.18), but I can't do so as it is protected. [[User:Arrogance|Arrogance]] ([[User talk:Arrogance|talk]]) 11:24, 7 June 2023 (UTC) | This needs to be updated to the latest version (currently 3.18), but I can't do so as it is protected. [[User:Arrogance|Arrogance]] ([[User talk:Arrogance|talk]]) 11:24, 7 June 2023 (UTC) | ||
:Needs to be bumped again as we're now at 3.18.2 [[User:Zcrayfish|zcrayfish]] ([[User talk:Zcrayfish|talk]]) 19:48, 26 July 2023 (UTC) | :<s>Needs to be bumped again as we're now at 3.18.2</s> [[User:Zcrayfish|zcrayfish]] ([[User talk:Zcrayfish|talk]]) 19:48, 26 July 2023 (UTC) | ||
== There is a need for fixing AlpineLatest Template == | |||
There is a need for fixing '''AlpineLatest''' Template. This template currently makes the truncation for 3.20.2 to appear as 3.2. The correct truncation should be 3.20 and not 3.2. | |||
When the following is used <nowiki> {{#expr:{{AlpineLatest}}}} </nowiki>, it evaluates to 3.2 and when used like <nowiki>{{AlpineLatest}}</nowiki> it evaluates to 3.20.2. | |||
This affects wiki documentation pages . For example, https://wiki.alpinelinux.org/wiki/Upgrading_Alpine#Upgrading_to_latest_release, appears as follows: | |||
To upgrade, in this example, from version 3.3 to 3.2, simply change: | |||
http://dl-3.alpinelinux.org/alpine/v3.3/main | |||
to | |||
http://dl-3.alpinelinux.org/alpine/v3.2/main | |||
Please fix this asap, as this issue affects [[Special:WhatLinksHere/Template:AlpineLatest|multiple pages]] | |||
[[User:Prabuanand|Prabuanand]] ([[User talk:Prabuanand|talk]]) 17:45, 5 September 2024 (UTC) | |||
:It's not an issue with the template, but it is my fault because I was the one who inserted <nowiki> {{#expr:{{AlpineLatest}}}} </nowiki> all over the place in a lame effort to automatically update pages upon version changes... I gotta think about how best to fix this... Might be best to make the template smarter though. –[[User:zcrayfish|zcrayfish]] <small>([[User talk:zcrayfish|talk]]•[[Special:Contributions/zcrayfish|contribs]]•[[Special:EmailUser/zcrayfish|send email]])</small> 16:06, 6 September 2024 (UTC) | |||
:My proposal is to change Template:AlpineLatest to what I currently have at [[Special:PermanentLink/27221|Template:Sandbox]], and then change all instances of <nowiki> {{#expr:{{AlpineLatest}}}} </nowiki> to <nowiki> {{AlpineLatest|v}} </nowiki> or <nowiki> {{AlpineLatest|short}} </nowiki> as appropriate. –[[User:zcrayfish|zcrayfish]] <small>([[User talk:zcrayfish|talk]]•[[Special:Contributions/zcrayfish|contribs]]•[[Special:EmailUser/zcrayfish|send email]])</small> 18:32, 6 September 2024 (UTC) | |||
::Has the work been completed? The output in the sandbox still shows the same for both {{AlpineLatest|v}} and {{AlpineLatest|short}}. Refer [[Media:Template AlpineLatest.png|screenshot]] of what i see. Am i missing something? | |||
::[[User:Prabuanand|Prabuanand]] ([[User talk:Prabuanand|talk]]) 08:54, 7 September 2024 (UTC) | |||
:::Not yet –[[User:zcrayfish|zcrayfish]] <small>([[User talk:zcrayfish|talk]]•[[Special:Contributions/zcrayfish|contribs]]•[[Special:EmailUser/zcrayfish|send email]])</small> 01:02, 8 September 2024 (UTC) |
Latest revision as of 01:02, 8 September 2024
This needs to be updated to the latest version (currently 3.18), but I can't do so as it is protected. Arrogance (talk) 11:24, 7 June 2023 (UTC)
There is a need for fixing AlpineLatest Template
There is a need for fixing AlpineLatest Template. This template currently makes the truncation for 3.20.2 to appear as 3.2. The correct truncation should be 3.20 and not 3.2.
When the following is used {{#expr:{{AlpineLatest}}}} , it evaluates to 3.2 and when used like {{AlpineLatest}} it evaluates to 3.20.2.
This affects wiki documentation pages . For example, https://wiki.alpinelinux.org/wiki/Upgrading_Alpine#Upgrading_to_latest_release, appears as follows:
To upgrade, in this example, from version 3.3 to 3.2, simply change: http://dl-3.alpinelinux.org/alpine/v3.3/main to http://dl-3.alpinelinux.org/alpine/v3.2/main
Please fix this asap, as this issue affects multiple pages
Prabuanand (talk) 17:45, 5 September 2024 (UTC)
- It's not an issue with the template, but it is my fault because I was the one who inserted {{#expr:{{AlpineLatest}}}} all over the place in a lame effort to automatically update pages upon version changes... I gotta think about how best to fix this... Might be best to make the template smarter though. –zcrayfish (talk•contribs•send email) 16:06, 6 September 2024 (UTC)
- My proposal is to change Template:AlpineLatest to what I currently have at Template:Sandbox, and then change all instances of {{#expr:{{AlpineLatest}}}} to {{AlpineLatest|v}} or {{AlpineLatest|short}} as appropriate. –zcrayfish (talk•contribs•send email) 18:32, 6 September 2024 (UTC)
- Has the work been completed? The output in the sandbox still shows the same for both 3.20.3 and 3.20.3. Refer screenshot of what i see. Am i missing something?
- Prabuanand (talk) 08:54, 7 September 2024 (UTC)
- Not yet –zcrayfish (talk•contribs•send email) 01:02, 8 September 2024 (UTC)