3 Adds additional links behind any page that also exists on foreign
4 Wikis. The links could also be icons, but this wasn't implemented
9 $ewiki_plugins["link_final"][] = "ewiki_neighbor_links";
11 function ewiki_neighbor_links(&$str, &$type, &$href, &$title) {
14 if (!isset($ewiki_metadb)) {
21 #-- check for alternate universes
22 if ($alt = $ewiki_metadb[strtolower($href)]) {
26 foreach ($alt[1] as $iw) {
27 $url = ewiki_interwiki("$iw:$real");
28 $inj[] = "<a href=\"$url\">$iw:</a>";
31 $str .= " (" . implode(", ", $inj). ")";