History log of /dokuwiki/inc/parser/xhtml.php (Results 26 – 50 of 367)
Revision Date Author Comments
# 8c6be208 05-Apr-2021 Andreas Gohr <andi@splitbrain.org>

replace deprecated function calls

Replaces the use of resolve_pageid() and resolve_mediaid() with the
proper class invocations


# dfe72b68 16-Feb-2021 Andreas Gohr <andi@splitbrain.org>

Merge branch 'master' into phpunit8

* master:
dwpage: output meta data as JSON
dwpage: rename gmeta into getmeta
translation update
Make it easier to remove h1 around logo
fix: better max-

Merge branch 'master' into phpunit8

* master:
dwpage: output meta data as JSON
dwpage: rename gmeta into getmeta
translation update
Make it easier to remove h1 around logo
fix: better max-width for images in tables
dwpage.php: add an option to get metadata
rename namespace Media to File
use SVG icons for media file links
readded $jump mechanism, removed unused functions
fix use of $rev parameter
fix entity definition
reenable the option to display a relative namespace for media files
simplified the media_searchlist tests
make use of the new media file classes
SVG based file icons
first go a refactoring the media manager
lazy load images

show more ...


# ec1cd64c 16-Feb-2021 Andreas Gohr <andi@splitbrain.org>

Merge branch 'lazyload'

* lazyload:
lazy load images


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

Fix various errors in PHPUnit tests on PHP 8


# c9dd70d1 27-Jan-2021 Damien Regad <dregad@mantisbt.org>

Fix Undefined array key in xhtml.php


# 4732b197 05-Jan-2021 Andreas Gohr <andi@splitbrain.org>

lazy load images

This adds the loading="lazy" attribute to embedded images and the
thumbnails in the media manager. This instructs modern broswers to load
images on demand when they come into view.

lazy load images

This adds the loading="lazy" attribute to embedded images and the
thumbnails in the media manager. This instructs modern broswers to load
images on demand when they come into view. It can reduce used bandwith
and improve perceived speed.

show more ...


# b09504a9 19-Nov-2020 Andreas Gohr <andi@splitbrain.org>

SVG based smileys

This patch replaces our old gif based smileys by SVG based ones from the
Twemoji project. This allows for scaling the emojis with the text
they're used in.


# 2aee481f 01-May-2020 Andreas Gohr <andi@splitbrain.org>

Merge pull request #3003 from splitbrain/curid-by-js

generate curid class by jQuery


# 237d41a2 22-Mar-2020 Henry Pan <git@phy25.com>

Merge pull request #2994 from bleistivt/patch-3

Prevent double encoding audio/video titles


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


# 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


# a8dcb874 29-Feb-2020 bleistivt <bleistivt@users.noreply.github.com>

Prevent double encoding audio/video titles


# aac83cd4 01-Dec-2019 Phy <git@phy25.com>

PHP8 fix part 4: Trying to access array offset on value of type bool/null


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


# c0c77cd2 10-Oct-2019 Andreas Gohr <gohr@cosmocode.de>

Merge branch 'master' into psr2

changes from commit b15f23f6735eabb6dc7e4a996e4ae164139ab7f5 may have
been lost, because the code changed to much.

changes from commit df81ca99eeaf4753d6f09cbddbb529

Merge branch 'master' into psr2

changes from commit b15f23f6735eabb6dc7e4a996e4ae164139ab7f5 may have
been lost, because the code changed to much.

changes from commit df81ca99eeaf4753d6f09cbddbb529afe7ef71c7 need to be
verified. we might need to do some more adjustments.

* master: (49 commits)
translation update
translation update
translation update
translation update
translation update
translation update
translation update
Update config.class.php
translation update
translation update
Update lang.php
Add ugc hint to nofollow
add UGC hint
translation update
translation update
use a script to fetch the correct phpunit
Revert "output travis php version for easier debugging"
setup databases for unit tests in travis
output travis php version for easier debugging
translation update
...

show more ...


# 5ddd0bbb 12-Sep-2019 StarArmy <stararmy@gmail.com>

Add ugc hint to nofollow


# 8cbc5ee8 10-Jun-2019 Andreas Gohr <andi@splitbrain.org>

replaced deprecated utf8 functions

For now this uses full qualified namespaces, sensible imports may come
later.


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

split changelog classes into their own namespace

The remaining functions in inc/changelog.php should be moved into a
utility class.


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


# 64159a61 27-Apr-2018 Andreas Gohr <andi@splitbrain.org>

line lengths shortened

This makes sure all files use line lenghts shorter than 120 characters.

This is a quick fix. It might not always be the nicest change.


# b4f2363a 27-Apr-2018 Andreas Gohr <andi@splitbrain.org>

remove DOKU_INC checks

There is no need for this check, since these files should not have any
main code that is executed on direct call.

Fixes PSR1.Files.SideEffects.FoundWithSymbols


# 0387686c 15-Apr-2018 Andreas Gohr <andi@splitbrain.org>

Merge pull request #2307 from splitbrain/geshi_features

Geshi Option parsing


# 8a005008 15-Apr-2018 Andreas Gohr <andi@splitbrain.org>

Merge pull request #2312 from splitbrain/seceditfallback

fallback for new section editing. fixes #2311


12345678910>>...15