| #
768be5a3 |
| 16-Sep-2019 |
Phy <git@phy25.com> |
Add "default" keyword support for interwiki links
Thank you @selfthinker for the suggestion!
If nothing is found in default, it will still fall back to "". Test is added as well.
Meantime I fixed
Add "default" keyword support for interwiki links
Thank you @selfthinker for the suggestion!
If nothing is found in default, it will still fall back to "". Test is added as well.
Meantime I fixed a problem that Scrutinizer complained about.
show more ...
|
| #
abde5980 |
| 18-Jun-2019 |
Phy <git@phy25.com> |
Remove Google Lucky for non-existing interwiki links
For compatibility renderer will return string '' of $shortcut and $url instead of NULL when seeing a non-existing interwiki link. In the meantime
Remove Google Lucky for non-existing interwiki links
For compatibility renderer will return string '' of $shortcut and $url instead of NULL when seeing a non-existing interwiki link. In the meantime, media and link output in xhtml renderer is adjusted, to show title text instead when src/href is null. In interwiki case, the title will be the "reference" part of the interwiki link.
This makes it possible to also support no URL cases in `interwiki.conf`. Before it will output a URL as `rawurlencode($reference)`, which doesn't make too much sense since it's encoded. However, I am not sure the use case under the current behavior (no URL, but text as `$reference`).
Docs needs to be added to warn renderer plugin developers of this situation.
This fixes #2588.
show more ...
|
| #
de369923 |
| 28-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
visibility definition for the renderers
I made a lot of things public that probaly should be protected. But many syntax plugins do access renderer mechanisms directly, so better stay on the safe sid
visibility definition for the renderers
I made a lot of things public that probaly should be protected. But many syntax plugins do access renderer mechanisms directly, so better stay on the safe side here.
The base renderer is now abstract.
show more ...
|
| #
3b82d1ee |
| 02-Jun-2016 |
Andreas Gohr <andi@splitbrain.org> |
fixed interwiki test
|
| #
0cfb5a30 |
| 23-Jul-2015 |
Patrick Brown <ptbrown@whoopdedo.org> |
Remove non-functioning interwiki links
|
| #
17e17ae2 |
| 16-Jul-2015 |
Patrick Brown <ptbrown@whoopdedo.org> |
Encode unsafe characters in interwiki links. closes #1220
|
| #
ccee93d9 |
| 16-Jul-2015 |
Patrick Brown <ptbrown@whoopdedo.org> |
Unit test for interwiki URL encoding bug
|
| #
36340418 |
| 30-Apr-2014 |
Andreas Gohr <andi@splitbrain.org> |
fixed some test inheriting from the wrong parent
|
| #
118e0052 |
| 16-Feb-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
update unittest with interwiki.conf change as well
|
| #
6496c33f |
| 15-Feb-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
interwiki : prefixed configurls handled as wikilinks
|
| #
ddb55c70 |
| 15-Feb-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Use DOKU_BASE in resolveinterwiki unittest
|
| #
4485a891 |
| 15-Feb-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
Fix double slash in coral interwikilink
|
| #
2345e871 |
| 15-Feb-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
wikilink creating refactored to _resolveinterwiki().
Added DOKU_BASE for local target
|
| #
2d6df795 |
| 14-Feb-2014 |
Gerrit Uitslag <klapinklapin@gmail.com> |
added tests for Doku_Renderer::_resolveInterWiki
|