Re: [pmwiki-devel] preg_replace /e depreciated in php 5.5

2013-09-07 Thread Petko Yotov
John Rankin writes: Would it be feasible to do a straight port of PmWiki to Python, leaving the current php version as a legacy implementation? I'm afraid it would take more time and effort to do this correctly than to change to preg_replace_callback() and I couldn't do it, but I am very

Re: [pmwiki-devel] preg_replace /e depreciated in php 5.5

2013-09-06 Thread michael paulukonis
There are thousands of person-hours involved in the coding of PmWiki core, not to mention the extensions. Rewriting PmWiki in another language means all of that coding testing and debugging has to be replicated. In order to get around one bug. Python may be a good learning language, but if you

Re: [pmwiki-devel] preg_replace /e depreciated in php 5.5

2013-09-06 Thread StefCT
I think it's still easier to find hosted webspace with PHP than with Python (or has that changed recently?). For those who prefer Python, Python-based Wiki engines do exist, most notably MoinMoin (am I allowed to mention this here ;-)?). -- StefCT On 09/06/2013 02:52 PM, michael paulukonis

Re: [pmwiki-devel] preg_replace /e depreciated in php 5.5

2013-09-05 Thread John Rankin
Rich writes: Using latest release (pmwiki-2.2.54) and even with the ignore statement I continue to get this error with PHP 5.5.1. Any progress or suggestions? ... Also, the feature is deprecated in PHP 5.5, but not removed, and probably will not be removed any time soon. What should we

Re: [pmwiki-devel] preg_replace /e depreciated in php 5.5

2013-06-08 Thread Petko Yotov
Done. Thanks! Petko Patrick R. Michaud writes: More directly, for the next release of PmWiki, change line 28 from error_reporting(E_ALL ^ E_NOTICE); to something like error_reporting(E_ALL ~E_NOTICE ~E_DEPRECATED); This will turn off the deprecation warnings without site admins

Re: [pmwiki-devel] preg_replace /e depreciated in php 5.5

2013-06-07 Thread Petko Yotov
Kevin Clevenger writes: Is there any timeline or ETA for updating PmWiki to accommodate the recent depreciation of preg_replace /e in php 5.5? Seeing a ton of these since upgrading to php 5.5: Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in

Re: [pmwiki-devel] preg_replace /e depreciated in php 5.5

2013-06-07 Thread Patrick R. Michaud
On Fri, Jun 07, 2013 at 11:59:27PM +0200, Petko Yotov wrote: So, for the moment there is no ETA, but we should probably document what can be done to hide the warnings. More directly, for the next release of PmWiki, change line 28 from error_reporting(E_ALL ^ E_NOTICE); to something like

Re: [pmwiki-devel] preg_replace /e depreciated in php 5.5

2013-06-06 Thread Simon
The standard http://php.net/manual/en/migration55.deprecated.phpaction seem to be to use preg_replace_callback http://php.net/manual/en/function.preg-replace-callback.php instead. Simon On 5 June 2013 05:59, Petko Yotov 5...@5ko.fr wrote: This is bad, bad news. The PmWiki Markup engine