User:Simsong/Calendar-BugsAndFeatureRequests

Note:: This is the bug and feature request list for Hex2bit's calendar, which I have taken over.

=Bugs=
 * Doesn't work properly under some MediaWiki 1.11 installations (but works under others)
 * Works count:
 * Don't works count: XXXX
 * Line 430 of Calendar.php has a typo of the $this variable as $his
 * Partly works on a Win 2k3 server running Apache 2.2.* and MW 1.11.*. When I named the directory "cal" I got the error "The requested URL /wiki/extensions/Calendar/CalendarAdjust.php was not found on this server." It doesn't seem to like other directory names. Aside from that, it works for me. --Barista 15:55, 4 February 2008 (UTC)
 * Also, when I create an event, it appears on the calendar as a link, but the link goes to the Main Page, not the one for the calendar entry. It looks like the software is feeding an empty url. When I hover over the link, the browser's status bar reads  http://www.example.com/wiki/index.php?title= 

Getting the same thing, error log says it's not getting the title on line 529 of Calendar.php $title is giving an object reference rather than a string of the title. Probably a horrible fix as I am not a programmer and not very familiar with php, but after lots of playing around and dumping the object with var_dump I made it work with the following:

line 558 from: $ret[count($ret)] = $this->articleLink($title,$head[1]); to $ret[count($ret)] = $this->articleLink($title->mUrlform,$head[1]);

line 564 from $ret[0] = $this->articleLink($title,$lines[0]); to $ret[0] = $this->articleLink($title->mUrlfrom,$lines[0]);

I think there is a problem with the getTitle returning the object reference rather than the correct uri title.

--Barista 17:23, 4 February 2008 (UTC)
 * Installs fine, looks normal. "Add Event" link takes me to a page that cannot be displayed.

=Feature Requests=
 * Put calendar entries in their own namespace
 * Put all calendar entries for a single date in a single entry
 * Merge in calendar entries from an SQL database