Template talk:Fullurl
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Not working -- ~Njt (talk) 22:14, April 30, 2022 (UTC)[edit source | reply | new]
Not working despite being imported from current Wikipedia page ~Njt (talk) 22:14, April 30, 2022 (UTC)
- This has been traced down to the magic word parser function fullurl (lowercase) giving the protocol in MEpedia but not on Wikipedia:
{{fullurl:{{FULLPAGENAMEE}}}}
>> https://me-pedia.org/wiki/Template_talk:Fullurl ~Njt (talk) 17:43, May 8, 2022 (UTC)
Fix testing[edit source | reply | new]
Get end of string after last slash (/)
- {{String split|https://me-pedia.org/wiki/Test|:|-1}} >> //me-pedia.org/wiki/Test
- {{String split|https:https://me-pedia.org/wiki/Template:Left|//|-1}} >> me-pedia.org/wiki/Template:Left
- {{String split|https://me-pedia.org/wiki/ME/CFS|//|-1}} >> me-pedia.org/wiki/ME/CFS