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,7}\s*:\\)/i", # "Keep(NZTopo_Parse(\$m[1], \$m[2], \$m[3], \$m[4], \$m[5], \$m[6], \$m[7], \$m[8], \$m[9]))" ); =====<- - - - - Untested replacement code: =====<- - - - - Markup( '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,7}\s*:\\)/i", # "NZTopoMarkup"); function NZTopoMarkup($m) { return Keep(NZTopo_Parse(\$m[1], \$m[2], \$m[3], \$m[4], \$m[5], \$m[6], \$m[7], \$m[8], \$m[9])); } =====<- - - - - On Mon, Jun 19, 2017 at 8:39 AM, Simon <nzsk...@gmail.com> 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 > > tia > > Simon > > _______________________________________________ > pmwiki-devel mailing list > pmwiki-devel@pmichaud.com > http://www.pmichaud.com/mailman/listinfo/pmwiki-devel > -- Dominique
_______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel