diff options
author | Phy <git@phy25.com> | 2019-06-17 20:23:24 -0400 |
---|---|---|
committer | Phy <git@phy25.com> | 2019-10-20 15:49:21 -0400 |
commit | abde598049eec6f3cef64248e410e3f96bf797eb (patch) | |
tree | 4d0246ed8c6d4ca6c5c7407cb0619caedaa8b1b8 /lib/scripts/fileuploaderextended.js | |
parent | 2b5dd8f4d74e2c8c88f8fd64695d9bc21367e6fa (diff) | |
download | dokuwiki-abde598049eec6f3cef64248e410e3f96bf797eb.tar.gz dokuwiki-abde598049eec6f3cef64248e410e3f96bf797eb.zip |
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.
Diffstat (limited to 'lib/scripts/fileuploaderextended.js')
0 files changed, 0 insertions, 0 deletions