Thank you for picking up the gauntlet and fixing Calendar.

I have found one bug. Once an event is entered I can not get back to the event page. Since only the first few characters of the event show then it is important to be able to get the the event page to see all the details.

yes, that's annoying. I need to fix it. How do you think it should be fixed?Simsong 04:20, 29 October 2007 (UTC)

On hex2bits page several people and myself have posted some ideas for enhancements. I hope you look at these and consider implementing some of them (well my ideas anyway ;).

Thanks, Paul -- 19:03, 26 October 2007 (UTC)

If you can explain this bug a little better to me, I will fix it.

I'm going to be adding tool tips next.

I'll review the suggestions as well for improvements.

Thanks.Simsong 19:32, 26 October 2007 (UTC)


As Paul has said above the Calendar isn't working correctly. At the top of the page I get one of these errors for each event on the calendar month:

Warning: htmlspecialchars() expects parameter 1 to be string, object given in /var/www/wiki/extensions/Calendar/Calendar.php on line 533

Also it isn't parsing the events I can see, it is only parsing the first thing it sees. You can view an example in the screenshot i took. The event on October 18 should read "Walled Lake Tournament."
--Qsheets 20:38, 27 October 2007 (UTC)

Hm. The errors are weird; it's not happening on my system. I've reviewed line 533. It calls htmlspecialchars($linkText), but $linkText is the result of a str_replace(); it can't really be an object, as your error message says it is. What version of mediawiki are you using? What version of PHP are you using?

Also, What do you mean by it's parsing the first thing that it sees. Can you explain to me what the parsing is supposed to do? -- Simsong 02:21, 28 October 2007 (UTC)

By "parsing the first thing it sees," I meant that on any event it doesn't read the text from inside the == line as the event name, it just reads the first thing it sees. Refering back to the October 18 example, instead of saying "Walled Lake Tournament," it said, "#REDIRECT [[Walled Lak..." I chacked, and your Forensics Wiki has this same error with the event names. --Qsheets 08:45, 28 October 2007 (UTC) BTW The versions are MediaWiki: 1.11.0 and PHP: 5.1.6 (cgi-fcgi).
GREAT. If you can replicate the error on Forensicswiki, send me the URL, and I'll fix it. Simsong 14:26, 28 October 2007 (UTC)
HERE is your example... Sept. 11, 2007 --Qsheets 19:01, 28 October 2007 (UTC)
Okay. So the two bug reports are that it should handle redirects gracefully, and if the item has a =1= or a ==2== or ===3=== header, its should just grab the text. No problem. I'll try to get this done tonight. By the way, do you know of any documentation on the HTML and Article parsing functions in the MediaWiki source code? Simsong 22:53, 28 October 2007 (UTC)
Fixed in version 2.0.2, available for download now. Simsong 04:20, 29 October 2007 (UTC)
Simson, to get source code functions either look for them yourself, or go to #mediawiki in FreeNode (IRC) and ask around (Simetrical and/or brion will be able to help). They can also help with parsing and outputs. --Qsheets 12:18, 29 October 2007 (UTC)
Sorry, 2.0.2 doesn't help much... Simson, go to my team's calendar and you can see the problems that I'm experiencing. One of them still being the event link. --Qsheets 12:11, 30 October 2007 (UTC)
Version 2.0.3 is up. I've cleaned up the code a lot. Try now. Simsong 04:58, 11 November 2007 (UTC)
Version 2.0.4 is up with more bugfixes. 16:07, 17 June 2008 (UTC)

Hi, how i can change to german and/or russian language? What i must change in sources? -- Hannes Kiessling 10:18, 18 Juni 2008 (CET)

And i have a Bug, when i add a new post i get an error - he want's to show the complete wikipage in the day and not only the header of this event! In the top of my page i get this error:Warning: htmlspecialchars() expects parameter 1 to be string, object given in /srv/www/ on line 533 -- Hannes Kiessling 11:05, 18 Juni 2008 (CET)
That's annoying. I've seen this before and think that I should rewrite this section of the code. Which version of mediawiki are you using? Simsong 12:20, 18 June 2008 (UTC)
Hi, my wiki is 1.11.0 -- Hannes Kiessling 15:35, 18 Juni 2008 (CET)

New Feature?Edit

I have a proposal for a new calendar feature. It would be really great if it would be possible to add events over a specific period. The days in this space of time could have a fixed color or they have the same text in their event-boxes. Is this possible or do you have any time for this respectively? --dvL 16:23, 10 December 2008 (UTC)

I agree. That would be totally cool. Unfortunately it does not work with the current wikipedia architecture, or with the current calendar architecture. The entire calendar plug-in needs a complete rewrite to properly store calendar entries in the database and a new approach for rendering them. It's a 2-3 month project. I'm looking for a student who wants to do it. Simsong
The extension Calendar_(Kenyu73) has this feature, so there is no need for you or any student to rewrite your extension ;)
Thank you for your efforts, --dvL 16:03, 14 January 2009 (UTC)

Where to for new postings --Dtsig 18:34, 29 October 2007 (UTC)Edit

Where would you prefer to get postings, questions and suggestings

I will set up a bug track on this wiki. I'm dealing with some annoying issues just now. I don't understand why the plug-in is behaving significantly differently on different systems. I'm also kind of annoyed about the way that the plug-in passes around dates and how it names entries. All of this needs to be changed, but I want to change it in a way that's backwards compatible.Simsong 19:59, 29 October 2007 (UTC)

Adding Events gives a blank pageEdit

Just copying this over from the calendar page:

When I click on add events, I'm just taken to a page called "Calendar/CalendarAdjust.php". When I edit this, nothing shows up on the calendar. Is this how it is supposed to work? --Liface 07:21, 8 April 2008 (UTC)

Hi there
I have the same issue as Liface with adding events on this, It goes to the same blank wiki page "Calendar/CalendarAdjust.php" when I click on add event. If I hit the edit button and add it to the page it produces the same "event" for all dates. The events don't appear on the calendar --CapulaWiki

Hi. Have you tried looking in your webserver's error log? This doesn't happen for other people. 16:06, 17 June 2008 (UTC)

Hi - thanks for replying.
I've looked in the Apache error log, and there are no errors so I don't think that is the problem. I've emailed Simson Garfinkel and accoring to him the Calendar is not tested with MW 1.12.0 (the version I'm using) so that might well be the problem.
I'm also wondering if the calendar requires any other extensions to be installed, I can't find any listed.
If anyone has any ideas about that please get in touch.
Thanks --CapulaWiki


== BibTex from a file ==

Hello Simson, thank you for updating the Bibtex. It works fine. How can i add a comlete List of Tex?

Thx I use JabRef and this Prog. has a good export function. i have an individual Layout für WikiTex.

Calendar errorEdit

I have mediawiki 1.12 and the latest version of the calendar. it displays fine until i add an event. after i add an event and go back to the calendar, it puts the entire wiki website inside of that one day for that event. what is going on??


Hi Simsong,

I translated your Bibtex Version into german and changed the format, so it looks more like the amazon overview. Maybe you could upload it to your server and add it to the Bibtex site. Here is the link:

--dvL 09:40, 10 December 2008 (UTC)

THanks. I will review it. -simson