History log of /dokuwiki/inc/parser/renderer.php (Results 1 – 25 of 96)
Revision Date Author Comments
# fb021356 27-Nov-2024 Andreas Gohr <andi@splitbrain.org>

drop tilde from title. fixes #4347

When a link with the page relative shortcut is used and no title is
given, the given ID is used to create a title. In this case, the tilde
should be removed from t

drop tilde from title. fixes #4347

When a link with the page relative shortcut is used and no title is
given, the given ID is used to create a title. In this case, the tilde
should be removed from the title.

[[~SomeThing]] -> SomeThing

show more ...


# 749bc7f1 02-Sep-2023 Andreas Gohr <andi@splitbrain.org>

minor cleanup in the renderers


# 95078f23 02-Sep-2023 Andreas Gohr <andi@splitbrain.org>

apply code sniffer rules to inc/parser as well


# 51ee2399 30-Aug-2023 Gerrit Uitslag <klapinklapin@gmail.com>

update some plugin classes in phpdocs, reformatting


# faf3f01b 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to inc/parser


# ac1d8211 19-Mar-2023 Andreas Gohr <andi@splitbrain.org>

fix some php 8.2 deprecation warnings


# 78b498a7 10-Mar-2023 Andreas Gohr <andi@splitbrain.org>

clean up parserutils (reformatting mostly)


# ac2b3d9e 19-Oct-2022 Andreas Gohr <andi@splitbrain.org>

Merge pull request #3798 from splitbrain/nofootshoot

Remove the htmlok and phpok embedding options


# ec34bb30 19-Oct-2022 Andreas Gohr <andi@splitbrain.org>

Update core code to make use of sexplode()

This makes use of our own explode mechanism everywhere were we expect a
fixed number of results.


# bbe6b3a7 12-Oct-2022 Andreas Gohr <andi@splitbrain.org>

Remove the htmlok and phpok embedding options

Both options have grave security implications and novice users seem to
ignore advice about them. In the last decades I never came across a wiki
that had

Remove the htmlok and phpok embedding options

Both options have grave security implications and novice users seem to
ignore advice about them. In the last decades I never came across a wiki
that had legitimate use of these options.

If someone needs the functionality, it can easily be added back using a
plugin. But I prefer to give users one less option to shoot themselves
in the foot.

Removal of the translations for the config strings can follow after this
has been merged.

show more ...


# d8ab8746 26-Dec-2021 Andreas Gohr <andi@splitbrain.org>

Revert "Merge pull request #3039 from takuy/video-attributes"

This reverts commit 408d79f78505248f9ccb44bd2561cedc250ce5a1, reversing
changes made to b7c67f83bd81eff3186e4ebd2d9e86cd2c32468d.


# 408d79f7 20-Dec-2021 Andreas Gohr <andi@splitbrain.org>

Merge pull request #3039 from takuy/video-attributes

Add handling for video embed attributes


# 056bf31f 06-Feb-2021 Damien Regad <dregad@mantisbt.org>

Fix various errors in PHPUnit tests on PHP 8


# 07a296cb 07-Apr-2020 Andreas Gohr <andi@splitbrain.org>

restore access to utility function in renderer

All other utility functions are public, too. And we had this one public
in the metadata renderer already. We maybe will want to deprecate the
old under

restore access to utility function in renderer

All other utility functions are public, too. And we had this one public
in the metadata renderer already. We maybe will want to deprecate the
old underscore name some time

show more ...


# 256ac28f 05-Apr-2020 Sam <1631095+takuy@users.noreply.github.com>

typo fix

bug fixes & added fixes for existing tests


# 2a4a042d 05-Apr-2020 Sam <1631095+takuy@users.noreply.github.com>

Add handling for video embed attributes


# 728db978 04-Mar-2020 Andreas Gohr <andi@splitbrain.org>

Merge pull request #2802 from splitbrain/interwiki-remove-golucky

Remove Google Lucky for non-existing interwiki links


# 2401f18d 30-Oct-2019 Syntaxseed <825423+syntaxseed@users.noreply.github.com>

Fix curly brace syntax. PHP 7.3 deprecations in inc/ directory.


# 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 ...


# 3623073f 17-Oct-2019 Andreas Gohr <gohr@cosmocode.de>

Merge branch 'pr/2652'

* pr/2652:
reset Doku_Renderer properties


# e1d9dcc8 15-Jun-2018 Andreas Gohr <andi@splitbrain.org>

First go at moving the plugin classes into their own namespace


# abaaba9a 03-Jan-2019 Satoshi Sahara <sahara.satoshi@gmail.com>

reset Doku_Renderer properties


# e1cdd96c 07-May-2018 Andreas Gohr <andi@splitbrain.org>

some more visibility declarations


# 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 ...


1234