Home
last modified time | relevance | path

Searched hist:"2 d05a06d7893e8c100d5357c6301ffae08b00522" (Results 1 – 2 of 2) sorted by relevance

/dokuwiki/lib/plugins/info/
H A Dsyntax.php2d05a06d7893e8c100d5357c6301ffae08b00522 Wed Jul 08 09:59:27 UTC 2026 Andreas Gohr <gohr@cosmocode.de> fix(info): read parser modes from the registry, not the deprecated global

The info plugin's ~~INFO:syntaxtypes~~ read the $PARSER_MODES global
directly. Since the mode taxonomy moved into ModeRegistry (c8dd1b9d2),
that global is only populated as a side effect of a parse, so on a warm
instruction cache with no parse in the request it is unset and the
syntax-types table renders empty. ~~INFO:syntaxmodes~~ used the
deprecated p_get_parsermodes(), logging a deprecation on every render.

Both now build a ModeRegistry and read the categories and modes from it
directly, independent of parse or cache state.

/dokuwiki/inc/Parsing/
H A DModeRegistry.php2d05a06d7893e8c100d5357c6301ffae08b00522 Wed Jul 08 09:59:27 UTC 2026 Andreas Gohr <gohr@cosmocode.de> fix(info): read parser modes from the registry, not the deprecated global

The info plugin's ~~INFO:syntaxtypes~~ read the $PARSER_MODES global
directly. Since the mode taxonomy moved into ModeRegistry (c8dd1b9d2),
that global is only populated as a side effect of a parse, so on a warm
instruction cache with no parse in the request it is unset and the
syntax-types table renders empty. ~~INFO:syntaxmodes~~ used the
deprecated p_get_parsermodes(), logging a deprecation on every render.

Both now build a ModeRegistry and read the categories and modes from it
directly, independent of parse or cache state.