<div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">I wanted to have numbered sections in my wiki-page, so I tried the numbered sections recipe and noticed, it still uses the deprecated "/e" Markup. so I changed the source with the following diff's:</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">-------------------------</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><span style="font-family:monospace">--- Downloads/archive/pmwiki/numberedsections.php<br>+++ numberedsections.php<br>@@ -88,8 +88,8 @@<br> ##<br> SDV ($DDNumFmt, '1.1.1.1.1.1');<br> <br>-Markup('dd-num1','>include','/^(!{1,6})(?:\s*)(.*)$/e', "DDMkNumTitle(PSS('$1'),PSS('$2'))");<br>-Markup('dd-num2','directives','/\\(:(no)?numbered-sections(?:\s+(.*?))?:\\)/e', "DDRunNum('$1',PSS('$2'))");<br>+Markup('dd-num1','>include','/^(!{1,6})(?:\s*)(.*)$/', "DDMkNumTitle");<br>+Markup('dd-num2','directives','/\\(:(no)?numbered-sections(?:\s+(.*?))?:\\)/', "DDRunNum");<br> <br> ##<br> ## If numbered sections are enabled in the group or site header or footer, ensure they are not inherited<br>@@ -101,8 +101,9 @@<br> $SiteHeaderFmt = $SiteHeaderFmt.'(:nonumbered-sections:)';<br> $SiteFooterFmt = '(:nonumbered-sections:)'.$SiteFooterFmt;<br> <br>-<br>-function DDMkNumTitle ($prefix, $text) {<br>+function DDMkNumTitle ($m) {<br>+  $prefix=PSS($m[1]);<br>+  $text=PSS($m[2]);<br>   global $DDNumFmt, $DDNumHdrEnable, $DDFmtSet, $DDDebug;<br>   static $FmtNb, $OrNb, $TcNb, $sp, $numoffset, $CurLvl;<br> <br>@@ -158,8 +159,10 @@<br>     return chr(ord($num)-1);<br> }<br> <br>-function DDRunNum ($nonum, $argstr) {<br>+function DDRunNum ($m) {<br>   global $DDNumHdrEnable, $DDFmtSet, $DDNumFmt, $DDDebug;<br>+  $nonum = $m[1];<br>+  $argstr = PSS($m[2]);<br>  </span><br>   $args = ParseArgs($argstr);<br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">-------------------------</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">Maybe Petko could change this in the download-version?</div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">Greetings, <br></div><div class="gmail_default" style="font-family:times new roman,serif;font-size:large">Hans-Jürgen<br></div></div>