bbac1489 | 09-Mar-2020 |
Phy <git@phy25.com> |
generate curid class by jQuery
internallink's output <a> tag gets a new attribute, data-wiki-id, so that jQuery doesn't need to parse the various link format to get the ID.
Any plugin javascript th
generate curid class by jQuery
internallink's output <a> tag gets a new attribute, data-wiki-id, so that jQuery doesn't need to parse the various link format to get the ID.
Any plugin javascript that loads after DokuWiki's script should be able to discover curid class as usual, as long as they use the default js.php facility.
fixes #1511, fixes #2968.
show more ...
|
0d088939 | 14-Jan-2020 |
Michael Große <mic.grosse@googlemail.com> |
Restore backwards compatibility for Doku_Parser
Apparently, #2358 introduced a breaking change to the constructor and usage of Doku_Parser, which broke some plugins, e.g. the move plugin in michitux
Restore backwards compatibility for Doku_Parser
Apparently, #2358 introduced a breaking change to the constructor and usage of Doku_Parser, which broke some plugins, e.g. the move plugin in michitux/dokuwiki-plugin-move#176
This patch should restore the legacy behavior of this deprecated class.
show more ...
|
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 ...
|