Template:SVN: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
(Created page with "<includeonly><!-- →{{{2}}} stutzen -->{{#vardefine:stamm|{{#sub:{{{2|3}}}|0|1}}}}<!-- →In Projektnummer übersetzen-->{{#vardefine:projekt|{{#switch:{{#var:stam...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:


→Ausgabe
→Ausgabe
-->[https://development.railml.org/search?project_id={{#var:projekt}}&scope=commits&search=%40{{{1}}} <nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki>] ''([[Dev:versioning#Note on legacy SVN commits|Note on legacy SVN commits]])''</includeonly><noinclude>
-->{{site|1=https://development.railml.org/search?project_id={{#var:projekt}}&scope=commits&search=%40{{{1}}}|2=<nowiki>[</nowiki>{{{1}}}<nowiki>]</nowiki>|mode=silent}} ''({{wiki2|Dev:versioning#Note on legacy SVN commits|Note on legacy SVN commits}})''</includeonly><noinclude>
==Usage==
==Usage==
This template is supposed make the legacy SVN commits findable. Whereever possible, link to the current gitlab commit numbers via [[Template:Commit]], as [[Template:SVN]] is only a workaround pointing to a search result.
This template is supposed make the legacy SVN commits findable. Whereever possible, link to the current gitlab commit numbers via [[Template:Commit]], as [[Template:SVN]] is only a workaround pointing to a search result.
Line 22: Line 22:


[[category:markupTemplate]]
[[category:markupTemplate]]
{{interwiki}}
{{interwiki|2=all}}
</noinclude>
</noinclude>

Latest revision as of 11:16, 7 March 2025

Usage

This template is supposed make the legacy SVN commits findable. Whereever possible, link to the current gitlab commit numbers via Template:Commit, as Template:SVN is only a workaround pointing to a search result.

Parameters

1: The legacy SVN commit number 2: The railML® version (default: 2)

Examples

{{SVN|335}}

delivers:

[335] (Note on legacy SVN commits)