User:Simsong/Calendar-BugsAndFeatureRequests

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

=Bugs=
 * Semanticwiki error when I choose 'Add Event'... Not sure why. It works if I don't include the SemanticWiki Extension.
 * Fatal error: Call to undefined function wfprofilein in /home/livewel2/public_html/wiki/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php on line 343


 * Doesn't work properly under some MediaWiki 1.11 installations (but works under others)
 * Works count:
 * Dooesn't work count: XXXXX
 * 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=  --Barista 17:23, 4 February 2008 (UTC)
 * 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:
 * to
 * to


 * line 564 from:
 * to
 * to


 * I think there is a problem with the getTitle returning the object reference rather than the correct uri title.
 * Thanks. I changed the code as you recommended and now it works. --Barista 14:42, 12 February 2008 (UTC)
 * I'm glad it worked, I know accessing the variable out of the object is bad practice and it should get a real fix. --Bill, 25 February 2008


 * Easier Fix
 * line 543 from:
 * to
 * to

ie... change the $title varaible to contain the article title rather then the article object id

Calendar extension not working: MediaWiki: 1.11.2 PHP: 5.2.1 (cgi) MySQL: 4.1.22 wfCalendar Extension Calendar.php Fixed $his to be $this in line 430 Calendar.php Fixed $title = $article->getTitle->getText; from old line	 $title = $article->getTitle; Receiving: Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/lucrosol/public_html/ltccwiki/extensions/Calendar/Calendar.php on line 545 Greg@ltcc.com 2008-05-10
 * Installs fine, looks normal. "Add Event" link takes me to a page that cannot be displayed.
 * I experienced this running on MW 1.11.0 on IIS. I was able to fix by removing the references to the $wikiRoot variable in the CalendarAdjust.php file.  It appears $wikiRoot was not getting set correctly.  So for example, instead of require_once( $wikiRoot . '/includes/Defines.php' ); use require_once( '../../includes/Defines.php' );  In addition, as noted by someone else, I also had to change the order to load LocalSettings.php BEFORE ProfileStub.php.
 * Working well in 1.11.1 after the $his typo is fixed but may cause problems if using extensions using profiling functions because LocalSettings.php is included before includes/ProfilerStub.php ; loading them in the right order solves the problem. Using ISO-8601 dates formating in calendar pages titles would be appreciated. --Menelos 2008-03-12 CEST
 * Trying to share a Calendar between multiple pages. I'd like multiple differant pages to have differant views of the same source calendar.
 * i.e. One page has the noadd set on the other page it's off. Igor3d 2008-05-20
 * Running XAMPP for Windows Version 1.6.6a / Mediawiki 1.12
 * Working after making adjustments as described above. Problem: Very poor performance - Generating pages takes long. Solution?

=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
 * Support for international languages
 * cancel event