FlightGear wiki:Village pump: Difference between revisions

Jump to navigation Jump to search
→‎Beware of shortened Git commit IDs: Mention the fact that Foo_commit templates now truncate the commit ID in link text if the latter is automatically generated from the commit ID
m (→‎Beware of shortened Git commit IDs: Precision and signature)
(→‎Beware of shortened Git commit IDs: Mention the fact that Foo_commit templates now truncate the commit ID in link text if the latter is automatically generated from the commit ID)
Line 197: Line 197:
{{Note|Commit ID 807062 in FGData is not ambiguous at the time of this writing.}}
{{Note|Commit ID 807062 in FGData is not ambiguous at the time of this writing.}}
[[User:Rominet|Rominet]] ([[User talk:Rominet|talk]]) 15:45, 3 December 2025 (UTC)
[[User:Rominet|Rominet]] ([[User talk:Rominet|talk]]) 15:45, 3 December 2025 (UTC)
: I have modified {{tl|Simgear_commit}}, {{tl|Flightgear_commit}}, {{tl|Fgdata_commit}}, etc. (12 templates!) to show a commit ID truncated to 7 characters in the automatically generated link text, so there is no excuse for not using long commit IDs anymore when using these templates (see the result [[Howto:Building_FlightGear_without_HiDPI_support#Commits|here]] for instance). Thanks to [[User:Gijs|Gijs]] for installing [https://en.wikipedia.org/wiki/Module:Ustring Module:Ustring] which made this possible!
: Note that manually provided ''text'' arguments are not truncated.
: [[User:Rominet|Rominet]] ([[User talk:Rominet|talk]]) 10:10, 25 December 2025 (UTC)
512

edits

Navigation menu