512
edits
(→Default text in Template:Repo link: Explain last change in Template:Repo link) |
(→Beware of shortened Git commit IDs: new section) |
||
| Line 184: | Line 184: | ||
: [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 22:06, 13 November 2025 (UTC) | : [[User:Bugman|Bugman]] ([[User talk:Bugman|talk]]) 22:06, 13 November 2025 (UTC) | ||
== Beware of shortened Git commit IDs == | |||
While fixing broken links due to the {{tl|foo commit}} templates not specifying <code>proj=flightgear</code> (this was implicit with <code>site=sf</code> but isn't with <code>site=gl</code>), I found that URLs at GitLab don't accept the same shortened Git commit IDs as those at SourceForge: | |||
https://sourceforge.net/p/flightgear/fgdata/ci/807062 - OK | |||
https://gitlab.com/flightgear/fgdata/-/commit/807062 - NOK | |||
https://gitlab.com/flightgear/fgdata/-/commit/807062d - OK | |||
https://gitlab.com/flightgear/fgdata/-/commit/807062d0b6f858885547f27325e829c2bf42a12b - OK | |||
As a consequence, there are probably a lot of broken links in the wiki due to shortened commit IDs. Better always use the long ones... | |||
{{Note|Commit ID 807062 in FGData is not ambiguous.}} | |||
edits