Lines Matching defs:reference
911 * @param string $reference fragment that refers the content
912 * @param null|bool $exists reference which returns if an internal page exists
915 public function _resolveInterWiki(&$shortcut, $reference, &$exists = null)
930 $hash = strrchr($reference, '#');
932 $reference = substr($reference, 0, -strlen($hash));
939 $url = str_replace('{URL}', rawurlencode($reference), $url);
943 ($url[0] === ':') ? $reference : preg_replace_callback(
946 $reference
950 $parsed = parse_url($reference);
966 $url .= rawurlencode($reference);