mediawiki-extensions / mw-calendar

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

Install Question / Special Characters cause an exception error #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
 am running Mowes' server, and have created pages calendar:Bizname and 
calendar:Bizname/Public (in my calendar namespace) to hold an empty 
<calendar/>, but get the same error:

Catchable fatal error: Argument 1 passed to Article::__construct() must be 
an instance of Title, null given, called in 
Z:\www\mediawiki\extensions\Calendar\CalendarArticles.php on line 334 and 
defined in Z:\www\mediawiki\includes\Article.php on line 47</bquote>

I have downloaded what appears to be the latest, and it seems the calendar 
name is null - any ideas?

-- Thanks much. --Hypergrove 20:06, 22 February 2009 (UTC)

Original issue reported on code.google.com by kenyu73 on 22 Feb 2009 at 10:01

GoogleCodeExporter commented 8 years ago
The calendar name should default to 'Public'. Try using name='Public' in the 
calendar tag. --Kenyu73 21:18, 22 February 2009 (UTC)

Original comment by kenyu73 on 22 Feb 2009 at 10:01

GoogleCodeExporter commented 8 years ago

Original comment by kenyu73 on 22 Feb 2009 at 10:04

GoogleCodeExporter commented 8 years ago
It seems that if the pagename contains an ampersand, the bug appears. If not, 
then 
no exception. Thanks.

Original comment by jmccl...@theolympicbuzz.info on 23 Feb 2009 at 10:56

GoogleCodeExporter commented 8 years ago
That makes sense... its on my todo list to encode/decode html characters. 
Thanks for
the feedback

Original comment by kenyu73 on 23 Feb 2009 at 11:06

GoogleCodeExporter commented 8 years ago
v3.7.0.5

Original comment by kenyu73 on 24 Feb 2009 at 12:39