Lines Matching defs:url
610 * @param string $url URL of the feed
613 public function rss($url, $params)
922 $url = $this->interwiki[$shortcut];
925 $url = $this->interwiki[$shortcut];
929 $url = '';
932 //split into hash and url part
940 if (preg_match('#\{(URL|NAME|SCHEME|HOST|PORT|PATH|QUERY)\}#', $url)) {
942 $url = str_replace('{URL}', rawurlencode($reference), $url);
944 $url = str_replace(
946 ($url[0] === ':') ? $reference : preg_replace_callback(
951 $url
959 $url = strtr($url, [
966 } elseif ($url != '') {
967 // make sure when no url is defined, we keep it null
969 $url .= rawurlencode($reference);
972 if ($url && $url[0] === ':') {
974 $id = $url;
975 if (strpos($url, '?') !== false) {
976 [$id, $urlparam] = sexplode('?', $url, 2, '');
978 $url = wl(cleanID($id), $urlparam);
981 if ($hash) $url .= '#' . rawurlencode($hash);
983 return $url;