[pmwiki-users] Fix PHP compatibility bugs in HG

Michael Eager eager at eagercon.com
Wed Apr 22 15:40:44 PDT 2020

On 4/22/20 12:11 PM, Petko Yotov wrote:
> On 22/04/2020 20:12, Michael Eager wrote:
>> Attached is a fix for errors in HG when run under PHP-7.2.11.
> I placed a link on the recipe page to your message at the list archive.
> I cannot suggest that you or someone else take over the maintenance, 
> because the author has not released the recipe under a license allowing 
> modification and redistribution.
>> I am not quite sure of the change of the Markup('hgbreadcrumb'...
>> from >var to <block.  This appears to work, though.
> There is no "var" entry in the core, so ">var" would not work since 
> PmWiki 2.2.0-beta46 (2007-05-19). I see that the last version of the 
> recipe is from 2007-03-07 which is earlier.
> There is a markup rule "{$var}" early in the processing, maybe the 
> author meant to use ">{$var}". Or maybe there is another recipe that 
> defines a "var" entry.

I just noticed that there's a comment on the Hg-Talk page to change >var 
to >${var}.

Michael Eager

More information about the pmwiki-users mailing list