Lines Matching refs:link
51 * @param string $link
54 function _split_text($section, $link) { argument
55 $ret=explode($link, trim($section), 2);
60 function _check_translate($type, $link, $params) { argument
65 list($ns, $para) = preg_split('/[\|]/',substr($link, 2, -2), 2);
66 $link=substr($link,0,2).$ns."|".$params.substr($link,-2,2);
70 list($ns, $para) = preg_split('/[\?]/',substr($link, 2, -2), 2);
71 $link=substr($link,0,2).$ns."?".$params.substr($link,-2,2);
78 $link="[[".$link."|".$params."]]";
83 return (array($type, $link));
149 … list($link_type, $link) = _get_firstlink($section[2]); // find link in section[2]: link
150 …list($text1, $text2) = _split_text($section[2], $link); // split text1, text2 by link: text1 li…
155 list($link_type, $link) = _check_translate($link_type, $link, $params);
158 $link = "";
184 $wiki = $text1.$link.$text2;