aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/fileuploader.js
diff options
context:
space:
mode:
authorPhy <git@phy25.com>2019-06-17 20:23:24 -0400
committerPhy <git@phy25.com>2019-10-20 15:49:21 -0400
commitabde598049eec6f3cef64248e410e3f96bf797eb (patch)
tree4d0246ed8c6d4ca6c5c7407cb0619caedaa8b1b8 /lib/scripts/fileuploader.js
parent2b5dd8f4d74e2c8c88f8fd64695d9bc21367e6fa (diff)
downloaddokuwiki-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/fileuploader.js')
0 files changed, 0 insertions, 0 deletions