<div dir="ltr"><div><div><div><div><div><div><div><div>Hello everybody,<br><br></div>Few times ago, my hosting have been upgraded to php 5.5. So I have upgraded PmWiki to the last version, and now I have two problems :<br>
<br></div>1. <br><br>When I use {(substr)} markup in a wiki page with the page variable {*$Name}, it doesn't work. I have this substitute : <br><br>lambda_19<br><br></div>2. I have problem with conditional makup (:if name :).<br>
<br></div>For example, suppose the pagename is TEST : <br><br></div>(:if1 name T*:) # all the page wich begins by T<br></div>Great<br> (:if2 name TE*:) # only the page wich begins by TE.<br></div>Really great !<br></div> (:if2:)<br>
<div>(:if1:)<br><div><br><div><div><div><div><div>Only the text Great can be viewed. The second condition is false. However, formally, it's true !<br><br></div><div>I really dont' know why. I suppose it comes from the preg_replace function ?<br>
<br></div><div>Someone have an idea of the origin of the bug.<br></div></div></div></div></div></div></div></div>