<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in LocaleXhtmlTest.php</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>2e43b79909f3bc04928779d886f68c1242b5d436 - Render locale and plugin-bundled text as DokuWiki syntax</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/Parsing/LocaleXhtmlTest.php#2e43b79909f3bc04928779d886f68c1242b5d436</link>
        <description>Render locale and plugin-bundled text as DokuWiki syntaxStatic &quot;intro&quot; text shipped with DokuWiki, templates and plugins &#8212;inc/lang/*/*.txt, template locale files, each plugin&apos;s lang/&lt;lc&gt;/*.txt &#8212;is authored in DokuWiki syntax. It is a core/plugin asset, not usercontent. When an admin configures the wiki for Markdown the DW link andmonospace modes are not loaded, so these files render as literal text:[[wiki:syntax]] and &apos;&apos;Save&apos;&apos; pairs survive into the HTML.Pin those entry points to the &apos;dw&apos; flavour via the override added in theprevious commit:- p_locale_xhtml() and tpl_locale_xhtml() pass &apos;dw&apos;.- PluginTrait::locale_xhtml() passes &apos;dw&apos;.- PluginTrait::render_text() / PluginInterface::render_text() gain a  $syntax parameter defaulting to &apos;dw&apos;. The default is &apos;dw&apos;, not null,  because the method predates GFM and its callers pass DW-syntax strings;  plugins rendering user content opt back into the configured syntax with  render_text($text, &apos;xhtml&apos;, null).Locale output is now deterministic across a syntax switch, so its cachesget over-invalidated but never under-invalidated &#8212; acceptable, as thelocale render path is rare and cheap.

            List of files:
            /dokuwiki/_test/tests/Parsing/LocaleXhtmlTest.php</description>
        <pubDate>Thu, 04 Jun 2026 12:29:32 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;gohr@cosmocode.de&gt;</dc:creator>
    </item>
</channel>
</rss>
