<?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 AbstractListsRewriter.php</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>e7dae73bcd947f44c901faaac9dd45de67633a3b - fix: apply rector and code sniffer fixes</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Parsing/Handler/AbstractListsRewriter.php#e7dae73bcd947f44c901faaac9dd45de67633a3b</link>
        <description>fix: apply rector and code sniffer fixes

            List of files:
            /dokuwiki/inc/Parsing/Handler/AbstractListsRewriter.php</description>
        <pubDate>Tue, 12 May 2026 14:24:43 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>f7c6e4acc95e3c5c24a819b2149a2bf3a7668f11 - add listo_open_start sibling method for GFM start numbers</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Parsing/Handler/AbstractListsRewriter.php#f7c6e4acc95e3c5c24a819b2149a2bf3a7668f11</link>
        <description>add listo_open_start sibling method for GFM start numbersReverts the listo_open signature widening from 5a2118acc and insteadadds a sibling method `listo_open_start($start = 1)` on the rendererhierarchy. The base default delegates to listo_open() so renderersthat don&apos;t override it still produce a valid (but unnumbered) list;xhtml&apos;s override emits &lt;ol start=&quot;N&quot;&gt;.The handler now emits &apos;listo_open_start&apos; only for ordered lists witha non-default first number; plain ordered lists keep emitting theunchanged &apos;listo_open&apos; instruction. This preserves the historicallisto_open / listu_open signatures (zero-arg base, $classes-onlyxhtml form from 2016) so the 17 plugin renderers found viacodesearch keep working without modification, while stillimplementing GFM&apos;s &quot;5. foo&quot; -&gt; &lt;ol start=&quot;5&quot;&gt; rule.

            List of files:
            /dokuwiki/inc/Parsing/Handler/AbstractListsRewriter.php</description>
        <pubDate>Thu, 30 Apr 2026 08:11:04 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;gohr@cosmocode.de&gt;</dc:creator>
    </item>
<item>
        <title>bf6e4f0d2bea6ff572294f3280faef71d44e0917 - extract AbstractListsRewriter from Lists</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/inc/Parsing/Handler/AbstractListsRewriter.php#bf6e4f0d2bea6ff572294f3280faef71d44e0917</link>
        <description>extract AbstractListsRewriter from ListsThe list-block CallWriter rewriter mixed two concerns: a shared statemachine that turns flat list_open / list_item / list_close calls intothe nested listu_open / listo_open / listitem / listcontent shapethe renderers expect, and a syntax-specific marker parser that mapsthe captured indent + marker text to depth/type.Hoist the state machine onto a new abstract base classAbstractListsRewriter; Lists keeps only its DokuWiki marker parser(`*` unordered, `-` ordered, 2-space-per-level indent). The upcomingGfmLists will share the same base class with its own GFM markerparser.The interpretSyntax contract changes shape:  protected function interpretSyntax($match, &amp;$type): intto  abstract protected function interpretSyntax(string $match): array;  // returns [&apos;depth&apos; =&gt; int, &apos;type&apos; =&gt; &apos;u&apos;|&apos;o&apos;, &apos;start&apos;? =&gt; int]The optional `start` key carries the first ordered item&apos;s number forsyntaxes that support it (GFM); DokuWiki omits it and gets thedefault of 1. Plugins subclassing Lists that override interpretSyntaxneed to update &#8212; known affected: creole, markdowku, mediasyntax (percodesearch.dokuwiki.org). The migration is mechanical: replace theby-ref $type assignment and int return with an associative-arrayreturn.The protected listStart / listOpen / listEnd dispatch methods on theold Lists are gone (renamed handleListOpen / handleListItem /handleListClose on the base class), but no plugin in the ecosystemoverrides those, only interpretSyntax.

            List of files:
            /dokuwiki/inc/Parsing/Handler/AbstractListsRewriter.php</description>
        <pubDate>Tue, 28 Apr 2026 06:21:05 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
</channel>
</rss>
