Lines Matching +full:- +full:b
12 $Renderer->interwiki = getInterwiki();
13 $Renderer->interwiki['scheme'] = '{SCHEME}://example.com';
14 $Renderer->interwiki['withslash'] = '/test';
15 $Renderer->interwiki['onlytext'] = ':onlytext{NAME}'; //with {URL} double urlencoded
16 $Renderer->interwiki['withquery'] = ':anyns:{NAME}?do=edit';
18 $Renderer->interwiki['coral'] = 'http://{HOST}.{PORT}.nyud.net:8090{PATH}?{QUERY}';
22 …', 'foo [\\]^`{|}~@+#%?/#txt', 'https://en.wikipedia.org/wiki/foo %5B%5C%5D%5E%60%7B%7C%7D~@+%23%2…
23 …@+#%?/#txt', 'https://www.amazon.com/dp/foo%20%5B%5C%5D%5E%60%7B%7C%7D~%40%2B%23%25%3F%2F?tag=spli…
24 …'foo [\\]^`{|}~@+#%?/#txt', 'https://www.dokuwiki.org/foo%20%5B%5C%5D%5E%60%7B%7C%7D~%40%2B%23%25%…
25 …e.com:83/path/naar/?query=foo%20%40%2B%25%3F%2F', 'http://example.com.83.nyud.net:8090/path/naar/?…
28 …array('withslash', 'foo [\\]^`{|}~@+#%?/#txt', '/testfoo%20%5B%5C%5D%5E%60%7B%7C%7D~%40%2B%23%25%3…
29 … array('skype', 'foo [\\]^`{|}~@+#%?/#txt', 'skype:foo %5B%5C%5D%5E%60%7B%7C%7D~@+%23%25?/#txt'),
37 $url = $Renderer->_resolveInterWiki($test[0], $test[1]);
39 $this->assertEquals($test[2], $url);
45 $Renderer->interwiki = getInterwiki();
46 unset($Renderer->interwiki['default']);
50 $url = $Renderer->_resolveInterWiki($shortcut, $reference);
52 $this->assertEquals('', $url);
53 $this->assertEquals('', $shortcut);
58 $Renderer->interwiki = getInterwiki();
59 $Renderer->interwiki['default'] = 'https://en.wikipedia.org/wiki/{NAME}';
63 $url = $Renderer->_resolveInterWiki($shortcut, $reference);
65 $this->assertEquals('https://en.wikipedia.org/wiki/foo', $url);
66 $this->assertEquals('default', $shortcut);