Lines Matching defs:url
610 * @param string $url URL of the feed
613 public function rss($url, $params)
919 $url = $this->interwiki[$shortcut];
922 $url = $this->interwiki[$shortcut];
926 $url = '';
929 //split into hash and url part
937 if (preg_match('#\{(URL|NAME|SCHEME|HOST|PORT|PATH|QUERY)\}#', $url)) {
939 $url = str_replace('{URL}', rawurlencode($reference), $url);
941 $url = str_replace(
943 ($url[0] === ':') ? $reference : preg_replace_callback(
948 $url
956 $url = strtr($url, [
963 } elseif ($url != '') {
964 // make sure when no url is defined, we keep it null
966 $url .= rawurlencode($reference);
969 if ($url && $url[0] === ':') {
971 $id = $url;
972 if (strpos($url, '?') !== false) {
973 [$id, $urlparam] = sexplode('?', $url, 2, '');
975 $url = wl(cleanID($id), $urlparam);
978 if ($hash) $url .= '#' . rawurlencode($hash);
980 return $url;