mediawiki-extensions / mw-calendar

Automatically exported from code.google.com/p/mw-calendar
0 stars 2 forks source link

PHP function split is deprecated #118

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Wiki Version: 1.15.1, PHP 5.3.1
Calendar Version: v3.8.4 (9/15/2009) and in dev trunk

Problem:

deprecated in C:\wamp\www\wiki\extensions\Calendar\CalendarArticles.php on 
line 280

Deprecated: Function split() is deprecated in 
C:\wamp\www\wiki\extensions\Calendar\CalendarArticles.php on line 282

Deprecated: Function split() is deprecated in 
C:\wamp\www\wiki\extensions\Calendar\CalendarArticles.php on line 313

Original issue reported on code.google.com by gregory....@gmail.com on 15 Dec 2009 at 7:21

GoogleCodeExporter commented 8 years ago
Thanks for the info... I'll probably just switch it to explode sometime soon.

Original comment by kenyu73 on 23 Dec 2009 at 3:05

GoogleCodeExporter commented 8 years ago
Any idea when this will be resolved?

Original comment by remanc...@gmail.com on 5 Jan 2010 at 6:06

GoogleCodeExporter commented 8 years ago
It shouldn't be causing any issues. Deprecated only means it it should not be 
used
from that version forward.

Original comment by kenyu73 on 5 Jan 2010 at 1:31

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
The only problem that it caused was printing the warning messages in the 
background 
of my wiki pages, mucking them up.  ( I suppose there's a way to turn that off 
... )

Original comment by gregory....@gmail.com on 6 Jan 2010 at 5:53

GoogleCodeExporter commented 8 years ago
If you just replace 'split' by 'explode' in Calender.php in every line that is 
given in the error reports, it seems to work. At least the error lines are gone 
after that.

But mind that I don't have a clue about PHP, so I assume no responsibility for 
any occurring errors or crashes of your wiki. :)

Original comment by lythak...@googlemail.com on 19 Jul 2015 at 3:35