| /dokuwiki/inc/Parsing/Helpers/ |
| H A D | Link.php | 20 * as the default. The order is load-bearing — e.g. a URL with an 24 * @param string $url raw link target 30 public static function classify(string $url, $label): array argument 32 if (link_isinterwiki($url)) { 33 $iw = sexplode('>', $url, 2, ''); 34 return ['interwikilink', [$url, $label, strtolower($iw[0]), $iw[1]]]; 36 if (preg_match('/^\\\\\\\\[^\\\\]+?\\\\/u', $url)) { 37 return ['windowssharelink', [$url, $label]]; 39 if (preg_match('#^([a-z0-9\-\.+]+?)://#i', $url)) { 40 return ['externallink', [$url, $label]]; [all …]
|
| /dokuwiki/inc/Parsing/ParserMode/ |
| H A D | Externallink.php | 38 … - A trailing entity-reference-like sequence (e.g. `©`, `&hl;`) is consumed by the URL regex 65 …// Angle brackets with white space are basically a simple way to write a URL without triggering au… 105 $url = substr($match, 1, -1); 106 $handler->addCall('externallink', [$url, $url], $pos); 110 * Emit a bare-URL autolink, optionally preceded by the GFM-extension trim step. 112 * In Markdown-preferred mode, peelGfmTail() removes characters the URL regex over-consumed 117 $url = $match; 121 $trailing = $this->peelGfmTail($url); 124 $title = $this->addProtocolPrefix($url); 126 $handler->addCall('externallink', [$url, $title], $pos); [all …]
|
| H A D | GfmMedia.php | 9 * GFM inline image  with optional title . 14 * accepted via the same URL-parameter vocabulary as DW media 16 * in Helpers\Media::parseParameters() — the last `?` in the URL delimits 25 * single-pass lexer cannot resolve forward references to [foo]: url 33 * - Mixed syntax:  inside [[dw|link]] or {{dw|media}} inside 47 // Outer shape: ``. Alt class forbids brackets and 48 // newlines; URL slot is permissive (`[^)\n]+`) — handle() does 49 // URL / title splitting post-entry, mirroring how GfmLink and DW 60 $url = substr($inside, 0, strcspn($inside, " \t\n")); 62 $p = MediaHelper::parseParameters($url);
|
| H A D | GfmLink.php | 12 * GFM inline link [text](url) with optional title [text](url "title"). 29 * lexer cannot resolve forward references to [foo]: url definitions. 38 * - Mixed text + image in the label ([prefix  suffix](url)) 44 // URL slot character set: any non-paren / non-newline char, OR a 46 // URL early (spec examples 504/506/508). Backslash-unescape is 54 // backslash-escape trick the URL slot already uses. A bare `\n` is 63 // additional captures would renumber unpredictably. The label/url 76 // Outer shape: `[text-or-image](url)`. Text class forbids 78 // image alternative explicitly matches one inline image. URL 79 // slot is permissive — handle() does URL / title splitting [all …]
|
| /dokuwiki/_test/tests/lib/exe/ |
| H A D | css_css_loadfile.test.php | 19 …$this->csstest('#test { background: url("test/test.png"); }', '#test { background: url("http://www… 20 …$this->csstest('#test { background: url(\'test/test.png\'); }', '#test { background: url(\'http://… 24 $this->csstest('#test { background: url("/test/test.png"); }'); 25 $this->csstest('#test { background: url(\'/test/test.png\'); }'); 29 $this->csstest('#test { background: url("http://www.test.com/test/test.png"); }'); 30 $this->csstest('#test { background: url("https://www.test.com/test/test.png"); }'); 31 $this->csstest('#test { background: url(\'http://www.test.com/test/test.png\'); }'); 32 $this->csstest('#test { background: url(\'https://www.test.com/test/test.png\'); }'); 38 …$this->csstest('@import url(test/test.png);', '@import url(http://www.example.com/test/test.png);'… 39 …$this->csstest('@import url("test/test.png");', '@import url("http://www.example.com/test/test.png… [all …]
|
| H A D | css_css_compress.test.php | 37 background-image: url(http://foo.bar/baz.jpg); // this is a comment 39 … $this->assertEquals('#foo{background-image:url(http://foo.bar/baz.jpg);}', css_compress($text)); 44 …background-image: url(http://foo.bar/baz.jpg); background-image: url(http://foo.bar/baz.jpg); // t… 46 …$this->assertEquals('#foo{background-image:url(http://foo.bar/baz.jpg);background-image:url(http:/… 51 …background-image: url(http://foo.bar/baz.jpg); // background-image: url(http://foo.bar/baz.jpg); t… 53 … $this->assertEquals('#foo{background-image:url(http://foo.bar/baz.jpg);}', css_compress($text)); 58 …background-image: url(//foo.bar/baz.jpg); // background-image: url(http://foo.bar/baz.jpg); this i… 60 $this->assertEquals('#foo{background-image:url(//foo.bar/baz.jpg);}', css_compress($text)); 65 …background-image: url(//foo.bar/baz.jpg); // background-image: url(http://foo.bar/baz.jpg); this i… 67 …ls('#foo a[href ^="https://"],#foo a[href ^=\'https://\']{background-image:url(//foo.bar/baz.jpg);… [all …]
|
| /dokuwiki/vendor/simplepie/simplepie/src/ |
| H A D | Copyright.php | 20 * Copyright URL 25 public $url; variable in SimplePie\\Copyright 42 ?string $url = null, argument 45 $this->url = $url; 61 * Get the copyright URL 63 * @return string|null URL to copyright information 67 if ($this->url !== null) { 68 return $this->url;
|
| H A D | File.php | 24 * @var string The final URL after following all redirects 27 public $url; variable in SimplePie\\File 73 …* @var string The permanent URL or the resource (first URL after the prefix of (only) permanent re… 77 …/** @var bool Whether the permanent URL is still writeable (prefix of permanent redirects has not … 81 * @param string $url 89 …public function __construct(string $url, int $timeout = 10, int $redirects = 5, ?array $headers = … argument 92 $parsed = \SimplePie\Misc::parse_url($url); 95 …$url = \SimplePie\Misc::compress_parse_url($parsed['scheme'], $authority, $parsed['path'], $parsed… 98 $this->url = $url; 100 $this->permanent_url = $url; [all …]
|
| /dokuwiki/conf/ |
| H A D | interwiki.conf | 1 # Each URL may contain one of these placeholders 2 # {URL} is replaced by the URL encoded representation of the wikiname 6 # is an external URL, or encoding as a wikiname if it is an 13 # of the link when parsed as a URL 14 # If no placeholder is defined the urlencoded name is appended to the URL 30 amazon https://www.amazon.com/dp/{URL}?tag=splitbrain-20 31 amazon.de https://www.amazon.de/dp/{URL}?tag=splitbrain-21 32 amazon.uk https://www.amazon.co.uk/dp/{URL} 38 go https://www.google.com/search?q={URL}&btnI=lucky
|
| H A D | license.php | 12 'url' => 'https://creativecommons.org/publicdomain/zero/1.0/deed.'.$LC, 16 'url' => 'https://creativecommons.org/licenses/publicdomain/deed.'.$LC, 20 'url' => 'https://creativecommons.org/licenses/by/4.0/deed.'.$LC, 24 'url' => 'https://creativecommons.org/licenses/by-sa/4.0/deed.'.$LC, 28 'url' => 'https://www.gnu.org/licenses/fdl-1.3.html', 32 'url' => 'https://creativecommons.org/licenses/by-nc/4.0/deed.'.$LC, 36 'url' => 'https://creativecommons.org/licenses/by-nc-sa/4.0/deed.'.$LC,
|
| /dokuwiki/_test/ |
| H A D | composer.lock | 14 "url": "https://github.com/scotteh/php-dom-wrapper.git", 19 …"url": "https://api.github.com/repos/scotteh/php-dom-wrapper/zipball/0cb1e9498b6736f4370a2bc71f433… 44 "notification-url": "https://packagist.org/downloads/", 74 "url": "https://github.com/symfony/css-selector.git", 79 …"url": "https://api.github.com/repos/symfony/css-selector/zipball/b75663ed96cf4756e28e3105476f220f… 95 "notification-url": "https://packagist.org/downloads/", 120 "url": "https://symfony.com/sponsor", 124 "url": "https://github.com/fabpot", 128 "url": "https://github.com/nicolas-grekas", 132 "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", [all …]
|
| /dokuwiki/lib/plugins/config/_test/ |
| H A D | DocumentationTest.php | 35 $url = $m[1]; 37 yield [$key, $url]; 44 * @param string $url Documentation URL 46 public function testDocs($key, $url) argument 49 $check = $http->get($url); 51 $msg = "Setting '$key' should have documentation at $url.";
|
| /dokuwiki/vendor/splitbrain/slika/ |
| H A D | composer.lock | 15 "url": "https://github.com/doctrine/instantiator.git", 20 …"url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a… 43 "notification-url": "https://packagist.org/downloads/", 66 "url": "https://www.doctrine-project.org/sponsorship.html", 70 "url": "https://www.patreon.com/phpdoctrine", 74 "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", 85 "url": "https://github.com/myclabs/DeepCopy.git", 90 …"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e… 116 "notification-url": "https://packagist.org/downloads/", 134 "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", [all …]
|
| /dokuwiki/inc/HTTP/ |
| H A D | DokuHTTPClient.php | 35 // allow enabling debugging via URL parameter (if debugging allowed) 57 * @param string $url 62 public function sendRequest($url, $data = '', $method = 'GET') argument 65 'url' => $url, 71 $url = $httpdata['url']; 77 return parent::sendRequest($url, $data, $method);
|
| /dokuwiki/inc/Sitemap/ |
| H A D | Item.php | 12 public $url; variable in dokuwiki\\Sitemap\\Item 20 * @param string $url The url of the item 27 public function __construct($url, $lastmod, $changefreq = null, $priority = null) argument 29 $this->url = $url; 60 $result = ' <url>' . NL 61 . ' <loc>' . hsc($this->url) . '</loc>' . NL 67 $result .= ' </url>' . NL;
|
| /dokuwiki/vendor/splitbrain/php-jsstrip/ |
| H A D | composer.lock | 15 "url": "https://github.com/doctrine/instantiator.git", 20 …"url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a… 43 "notification-url": "https://packagist.org/downloads/", 66 "url": "https://www.doctrine-project.org/sponsorship.html", 70 "url": "https://www.patreon.com/phpdoctrine", 74 "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", 85 "url": "https://github.com/myclabs/DeepCopy.git", 90 …"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd… 115 "notification-url": "https://packagist.org/downloads/", 133 "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", [all …]
|
| /dokuwiki/ |
| H A D | composer.lock | 14 "url": "https://github.com/aziraphale/email-address-validator.git", 19 …"url": "https://api.github.com/repos/aziraphale/email-address-validator/zipball/fa25bc22c1c0b64916… 32 "notification-url": "https://packagist.org/downloads/", 59 "url": "https://github.com/GeSHi/geshi-1.0.git", 64 …"url": "https://api.github.com/repos/GeSHi/geshi-1.0/zipball/17ff9b22ac6695efa6ab6fbcf0607263f0804… 79 "notification-url": "https://packagist.org/downloads/", 106 "url": "https://github.com/dokudeps/php-ixr.git", 111 …"url": "https://api.github.com/repos/dokudeps/php-ixr/zipball/2b4dfcd97d39969f6a1468badec854778abe… 156 "url": "https://github.com/flack/UniversalFeedCreator.git", 161 …"url": "https://api.github.com/repos/flack/UniversalFeedCreator/zipball/c55f908e867aa6dade0905b8ae… [all …]
|
| /dokuwiki/vendor/composer/ |
| H A D | installed.json | 9 "url": "https://github.com/aziraphale/email-address-validator.git", string 14 …"url": "https://api.github.com/repos/aziraphale/email-address-validator/zipball/fa25bc22c1c0b64916… string 29 "notification-url": "https://packagist.org/downloads/", 53 "url": "https://github.com/GeSHi/geshi-1.0.git", string 58 …"url": "https://api.github.com/repos/GeSHi/geshi-1.0/zipball/17ff9b22ac6695efa6ab6fbcf0607263f0804… string 75 "notification-url": "https://packagist.org/downloads/", 103 "url": "https://github.com/dokudeps/php-ixr.git", string 108 …"url": "https://api.github.com/repos/dokudeps/php-ixr/zipball/2b4dfcd97d39969f6a1468badec854778abe… string 156 "url": "https://github.com/flack/UniversalFeedCreator.git", string 161 …"url": "https://api.github.com/repos/flack/UniversalFeedCreator/zipball/c55f908e867aa6dade0905b8ae… string [all …]
|
| /dokuwiki/lib/plugins/acl/ |
| H A D | style.css | 78 background: transparent url(pix/group.png) 0px 1px no-repeat; 82 background: transparent url(pix/group.png) right 1px no-repeat; 87 background: transparent url(pix/user.png) 0px 1px no-repeat; 91 background: transparent url(pix/user.png) right 1px no-repeat; 96 background: transparent url(pix/page.png) 0px 1px no-repeat; 100 background: transparent url(pix/page.png) right 1px no-repeat; 105 background: transparent url(pix/ns.png) 0px 1px no-repeat; 109 background: transparent url(pix/ns.png) right 1px no-repeat;
|
| /dokuwiki/_test/tests/inc/ |
| H A D | httpclient_mock.php | 35 * @param string $url 40 public function sendRequest($url, $data = '', $method = 'GET') { argument 41 $this->lasturl = $url; 45 $return = parent::sendRequest($url, $data, $method); 62 'URL' => $this->lasturl,
|
| /dokuwiki/inc/Feed/ |
| H A D | FeedParser.php | 28 * @param string $url 30 public function feed_url($url) argument 32 $this->set_feed_url($url);
|
| /dokuwiki/vendor/simplepie/simplepie/src/HTTP/ |
| H A D | Psr18Client.php | 70 * @param string $url 75 public function request(string $method, string $url, array $headers = []): Response argument 85 if (preg_match('/^http(s)?:\/\//i', $url)) { 86 return $this->requestUrl($method, $url, $headers); 89 return $this->requestLocalFile($url); 95 private function requestUrl(string $method, string $url, array $headers): Response argument 97 $permanentUrl = $url; 98 $requestedUrl = $url;
|
| /dokuwiki/_test/tests/Parsing/ParserMode/ |
| H A D | MediaTest.php | 218 $url = $Renderer->externalmedia($file,null,null,null,null,'cache','details',true); 219 //print_r("url: " . $url); 221 $this->assertEquals($video, substr($url,0,66)); 223 $this->assertEquals($source, substr($url,67,64)); 230 $this->assertEquals($a_first_part, substr($url, $substr_start, $substr_len)); 232 $substr_start = strpos($url, '&media', $substr_start + $substr_len); 235 $this->assertEquals($a_second_part, substr($url, $substr_start, $substr_len)); 238 $substr_start = strlen($url) - strlen($rest); 239 $this->assertEquals($rest, substr($url, $substr_start)); 260 $url = $Renderer->externalmedia($file, null, null, null, null, 'cache', 'details', true); [all …]
|
| /dokuwiki/vendor/splitbrain/lesserphp/src/Functions/ |
| H A D | Misc.php | 57 … * Given an url, decide whether to output a regular link or the base64-encoded contents of the file 60 * @return string formatted url(), either as a link or base64-encoded 65 $url = ($value[0] === 'list') ? $value[2][1][2][0] : $value[2][0]; 67 $fullpath = $this->lessc->findImport($url); 83 … $url = sprintf('data:%s;base64,%s', $mime, base64_encode(file_get_contents($fullpath))); 87 return 'url("' . $url . '")';
|
| /dokuwiki/_test/tests/inc/parser/ |
| H A D | renderer_resolveinterwiki.test.php | 15 $Renderer->interwiki['onlytext'] = ':onlytext{NAME}'; //with {URL} double urlencoded 27 //relative url 37 $url = $Renderer->_resolveInterWiki($test[0], $test[1]); 39 $this->assertEquals($test[2], $url); 50 $url = $Renderer->_resolveInterWiki($shortcut, $reference); 52 $this->assertEquals('', $url); 63 $url = $Renderer->_resolveInterWiki($shortcut, $reference); 65 $this->assertEquals('https://en.wikipedia.org/wiki/foo', $url);
|