Template:L/nspace: Difference between revisions
Jump to navigation
Jump to search
(Created page with "[[{{{1}}}|{{PathToNSpace|{{{1}}}}}]]") |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#tag:phptag | | |||
$sNS="{{{1}}}"; | |||
$arFP = explode('\\',$sNS); | |||
$sFP = NULL; | |||
foreach($arFP as $sSeg) { | |||
if (!is_null($sFP)) { | |||
$sFP .= '/'; | |||
} | |||
$sFP .= $sSeg; | |||
} | |||
echo "[[$sFP|$sNS]]"; | |||
}} |
Latest revision as of 20:47, 4 June 2023
[[{{{1}}}|{{{1}}}]]