Difference between revisions of "Category talk:Check version/0.90.0"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (XZise moved page Category talk:Check version/0.90 to Category talk:Check version/0.90.0 without leaving a redirect: actual version number)
 
Line 1: Line 1:
 
Shouldn't this be 0.90.0? --[[User:Brendan|Brendan]] ([[User talk:Brendan|talk]]) 21:55, 11 March 2015 (CDT)
 
Shouldn't this be 0.90.0? --[[User:Brendan|Brendan]] ([[User talk:Brendan|talk]]) 21:55, 11 March 2015 (CDT)
 +
:Done. Problem was that you could've used <nowiki>{{Check version|0.90}}</nowiki> and it didn't add it to 0.90.0 but to 0.90. Now {{Tl|Check version}} converts all aliases of the same version number (e.g. 0.23.10 and 0.23.5 for example) into the same before using it as the category name (0.23.5 in that example).
 +
:In theory you could now do maths with the version numbers. For example getting the version after 0.23.5 you can do <code style="white-space: nowrap;"><nowiki>{{Check version/ver|{{#expr: {{Check version/Rev|0.23.5}} + 1}}}}</nowiki></code> and get {{Check version/ver|{{#expr: {{Check version/Rev|0.23.5}} + 1}}}}. — [[User:XZise|xZise]] <small>&#91;[[User talk:XZise|talk]]&#93;</small> 07:37, 12 March 2015 (CDT)

Latest revision as of 12:37, 12 March 2015

Shouldn't this be 0.90.0? --Brendan (talk) 21:55, 11 March 2015 (CDT)

Done. Problem was that you could've used {{Check version|0.90}} and it didn't add it to 0.90.0 but to 0.90. Now {{Check version}} converts all aliases of the same version number (e.g. 0.23.10 and 0.23.5 for example) into the same before using it as the category name (0.23.5 in that example).
In theory you could now do maths with the version numbers. For example getting the version after 0.23.5 you can do {{Check version/ver|{{#expr: {{Check version/Rev|0.23.5}} + 1}}}} and get 0.24. — xZise [talk] 07:37, 12 March 2015 (CDT)