Template talk:If interwiki link

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Tests[edit]

Result link localurl fullurl
0 u:a /wiki/U:a //meta.wikimedia.org/wiki/U:a
1 v:a https://en.wikiversity.org/wiki/a https://en.wikiversity.org/wiki/a
1 w:a https://en.wikipedia.org/wiki/a https://en.wikipedia.org/wiki/a
1 m:a (oops) https://meta.wikimedia.org/wiki/a https://meta.wikimedia.org/wiki/a
0 Template:a /wiki/Template:A //meta.wikimedia.org/wiki/Template:A
0 foo /wiki/Foo //meta.wikimedia.org/wiki/Foo
0 foo401 /wiki/Foo401 //meta.wikimedia.org/wiki/Foo401
1 en:Chicken https://en.wikipedia.org/wiki/Chicken https://en.wikipedia.org/wiki/Chicken
1 en:chickens who run with the wolves

New implementation[edit]

Since the previous version stopped working, I reimplemented relying on localurl. Note that my new Template:Exists depends on {{If interwiki link}}. --Ororon 15:48, 24 January 2007 (UTC)