$url), IconForLink('interwiki')); if (!$linktext) { $link->pushContent("$wiki:", HTML::span(array('class' => 'wikipage'), $page)); $link->setAttr('class', 'interwiki'); } else { $link->pushContent($linktext); $link->setAttr('class', 'named-interwiki'); } return $link; } // Link InterWiki links // These can be protected by a '!' like Wiki words. function wtt_interwikilinks($match, &$trfrm) { return $match[0] == "!" ? substr($match,1) : LinkInterWikiLink($match); } // For emacs users // Local Variables: // mode: php // tab-width: 8 // c-basic-offset: 4 // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: ?>