Re: [pmwiki-devel] Updating recipes for PHP 7.2

2017-06-21 Thread Petko Yotov
On 2017-06-19 14:33, Petko Yotov wrote: On 2017-06-19 10:02, Dominique Faure wrote: On Mon, Jun 19, 2017 at 8:39 AM, Simon wrote: I have a recipe I'd like to update for PHP 7.2. I checked Custom Markup, which states that markup_e is deprecated. Are there instructions for replacing markup_e av

Re: [pmwiki-devel] Updating recipes for PHP 7.2

2017-06-19 Thread Petko Yotov
On 2017-06-19 10:02, Dominique Faure wrote: On Mon, Jun 19, 2017 at 8:39 AM, Simon wrote: I have a recipe I'd like to update for PHP 7.2. I checked Custom Markup, which states that markup_e is deprecated. Are there instructions for replacing markup_e available Untested replacement code:

Re: [pmwiki-devel] Updating recipes for PHP 7.2

2017-06-19 Thread Dominique Faure
Hi, As far as I understood the reference page: Original code: =<- - - - - Markup_e( 'NZTopo', # an internal PmWiki function that defines the custom markup for the wiki (see http://www.pmwiki.org/wiki/PmWiki/CustomMarkup) 'directives', "/\\(:nztopo (" . $qlocale . ")\s*(?:" . $qmods . "){0