<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="http://www.openwetware.org/skins/common/feed.css?164"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.openwetware.org/index.php?title=OpenWetWare:Software/Extensions/Calendar&amp;feed=atom&amp;action=history</id>
		<title>OpenWetWare:Software/Extensions/Calendar - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.openwetware.org/index.php?title=OpenWetWare:Software/Extensions/Calendar&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.openwetware.org/index.php?title=OpenWetWare:Software/Extensions/Calendar&amp;action=history"/>
		<updated>2013-05-20T15:57:46Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.13.2</generator>

	<entry>
		<id>http://www.openwetware.org/index.php?title=OpenWetWare:Software/Extensions/Calendar&amp;diff=168066&amp;oldid=prev</id>
		<title>Bill Flanagan: New page: =Software/Extensions/Calendar=  Copied from: http://www.mediawiki.org/wiki/Extension:Calendar_%28Cdamian%29   {{Extension |name        = Calendar (Cdamian) |status      = beta |type1      ...</title>
		<link rel="alternate" type="text/html" href="http://www.openwetware.org/index.php?title=OpenWetWare:Software/Extensions/Calendar&amp;diff=168066&amp;oldid=prev"/>
				<updated>2007-11-17T21:50:30Z</updated>
		
		<summary type="html">&lt;p&gt;New page: =Software/Extensions/Calendar=  Copied from: http://www.mediawiki.org/wiki/Extension:Calendar_%28Cdamian%29   {{Extension |name        = Calendar (Cdamian) |status      = beta |type1      ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Software/Extensions/Calendar=&lt;br /&gt;
&lt;br /&gt;
Copied from: http://www.mediawiki.org/wiki/Extension:Calendar_%28Cdamian%29&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Extension&lt;br /&gt;
|name        = Calendar (Cdamian)&lt;br /&gt;
|status      = beta&lt;br /&gt;
|type1       = tag &amp;lt;!-- how implemented? used the parser tag hook --&amp;gt;&lt;br /&gt;
|username    = Cdamian&lt;br /&gt;
|author      = Cdamian&lt;br /&gt;
|version     = 1.13&lt;br /&gt;
|mediawiki   = 1.6.0 - 1.11.0&lt;br /&gt;
|description = Use tags to create a calendar&lt;br /&gt;
|download = http://krass.com/software/&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A few people have asked me for the calendar I use on krass.com &lt;br /&gt;
&lt;br /&gt;
I couldn't release it earlier, because the CalendarClass I used didn't have a GPL friendly license (in fact, it didn't have any license and I wasn't able to contact the author). Now I have written my own primitive class and can release the whole thing under GPL.&lt;br /&gt;
&lt;br /&gt;
It's just tested on http://krass.com/ and not tested in any other environment. &lt;br /&gt;
'''Please use http://krass.com/wiki/Sandbox/Calendar for testing. Not the main one!'''&lt;br /&gt;
&lt;br /&gt;
You can find the code here: http://krass.com/software/&lt;br /&gt;
&lt;br /&gt;
== Users ==&lt;br /&gt;
* [http://krass.com/ krass.com] a techno music wiki&lt;br /&gt;
* [http://tviv.org/ The TV IV], the online compendium of television knowledge that anyone can edit.&lt;br /&gt;
* [http://www.wikilou.com WikiLou.com] A wiki for the St. Louis, Missouri community&lt;br /&gt;
* [http://wikevent.org wikEvent] A wiki for collecting any and all public events, and publishing them using semantic markup, RDF, and any other standard that comes along.&lt;br /&gt;
* [http://www.wikicu.com/ WikiCU], a wiki about Columbia University&lt;br /&gt;
&lt;br /&gt;
== Readme File ==&lt;br /&gt;
check here: http://krass.com/software/wikicalendar.README&lt;br /&gt;
&lt;br /&gt;
Here is the setting for skipempty.  It is confusing in the readme file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;calendar&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
name=Calendar&amp;lt;br&amp;gt;&lt;br /&gt;
view=week&amp;lt;br&amp;gt;&lt;br /&gt;
skipempty=1&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/calendar&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Changes ==&lt;br /&gt;
* 1.13&lt;br /&gt;
** fix for mediawiki 1.7&lt;br /&gt;
* 1.12&lt;br /&gt;
** fix for '[[]]' display when merging and main calendar entry is empty&lt;br /&gt;
** fix for including more than one calendar&lt;br /&gt;
** simple ical format, which I use on krass.com&lt;br /&gt;
* 1.11 &lt;br /&gt;
** two bugs fixed&lt;br /&gt;
* 1.10 &lt;br /&gt;
** fixed weekformat=list&lt;br /&gt;
** xml style parameters&lt;br /&gt;
* 1.9&lt;br /&gt;
** weekformat is in php classes now&lt;br /&gt;
* 10.3.2006 version 1.8 (The Amador Release)&lt;br /&gt;
** &amp;quot;weekformat&amp;quot; option for different layouts&lt;br /&gt;
** &amp;quot;showempty&amp;quot; to supplress &amp;quot;add entry&amp;quot; msgs&lt;br /&gt;
** localized calendar from user preferences&lt;br /&gt;
** fix merge function to pass calendar name&lt;br /&gt;
* 1.3.2006 version 1.7&lt;br /&gt;
** released 1.7&lt;br /&gt;
** another fix for the cache (thanks to Austin Che)&lt;br /&gt;
** &amp;quot;skipempty&amp;quot; option&lt;br /&gt;
** &amp;quot;rdays&amp;quot; reverse order of days&lt;br /&gt;
* 17.11.2005 version 1.6&lt;br /&gt;
** released 1.6&lt;br /&gt;
** replaced &amp;amp;lt;h3&amp;amp;gt; in week display, to remove TOC in mediawiki 1.5&lt;br /&gt;
** first go at merging calendars&lt;br /&gt;
** add extension credits&lt;br /&gt;
* 12.10.2005 version 1.5&lt;br /&gt;
** fixed month display again&lt;br /&gt;
** included some tests for CalendarClass using PHPUnit2&lt;br /&gt;
** fix weeks not starting on monday&lt;br /&gt;
** fix padding after month ending in end of the week&lt;br /&gt;
** new DaysInMonth() and DayOfWeek() not using the php calendar extensions anymore&lt;br /&gt;
* 4.10.2005 &lt;br /&gt;
** new clearCache() function by [[meta:User:DanielSimon|DanielSimon]]&lt;br /&gt;
* 29.9.2005&lt;br /&gt;
** new option &amp;quot;weekstart&amp;quot; parameter is 1-7 for Monday-Sunday, default is 1 (Monday)&lt;br /&gt;
** small fixes&lt;br /&gt;
* 16.9.2005&lt;br /&gt;
** new option &amp;quot;formattitle&amp;quot; for the titles in the week/day views&lt;br /&gt;
** format &amp;amp; formattitle both accept php date() parameters now, prefixed with '%'. like this: &amp;quot;%d.%m.%Y&amp;quot;.&lt;br /&gt;
* 15.9.2005&lt;br /&gt;
** enable double quoted options&lt;br /&gt;
** &amp;quot;date&amp;quot; option, this takes a php strtotime string&lt;br /&gt;
** disable cache for 1.5 (untested)&lt;br /&gt;
* 6.9.2005 new view=&amp;quot;days&amp;quot; with parameter days=&amp;quot;#&amp;quot; to display a sequence of days; I also changed the view=&amp;quot;today&amp;quot; option again&lt;br /&gt;
* 6.9.2005 new view=&amp;quot;today&amp;quot; option, by Dexter Samida&lt;br /&gt;
* 29.8.2005 fixed the &amp;quot;format&amp;quot; option&lt;br /&gt;
* 25.8.2005 new &amp;quot;day&amp;quot;,&amp;quot;month&amp;quot;,&amp;quot;year&amp;quot; options&lt;br /&gt;
&lt;br /&gt;
== Requests ==&lt;br /&gt;
{{TalkFromMeta}}&lt;br /&gt;
* It doesn't work for wiki-1.8.2 and cyrillic (ru,uk). Simply doesn't print anything.&lt;br /&gt;
Make sure you are not asking to show &amp;quot;weeks&amp;quot; and &amp;quot;skipempty&amp;quot;.  Select displaying a year first, and then work on the settings.&lt;br /&gt;
* Does anyone have a problem with &amp;lt;nowiki&amp;gt;&amp;lt;/dt&amp;gt; &amp;lt;/dd&amp;gt;&amp;lt;/nowiki&amp;gt; being displayed before and after the calendar today function? &lt;br /&gt;
** Yes. The problem appears to be the closure of the &amp;lt;nowiki&amp;gt;&amp;lt;dt&amp;gt; and &amp;lt;dd&amp;gt;&amp;lt;/nowiki&amp;gt;. These are not required (see http://www.w3.org/TR/html401/struct/lists.html#h-10.3). Editing out the tag closures in WikiCalendarFormatList.php resolves the problem. Just found this extension, very useful. --[[User:Paulwarwicker|Paulwarwicker]] 23:10, 16 November 2006 (UTC)&lt;br /&gt;
* Does anyone know how to add a calendar to the left navigation?  I think this involves editing Monobook.php (my default skin), but I don't know how to get the calendar tag to render on load of the skin.&lt;br /&gt;
* It would be great to have a way to add the entire calendar to my watchlist so I could be emailed when users add date pages.  As it is, I can only use Related changes to see this manually.&lt;br /&gt;
* I have customers that would like to be able to overlay other calendars into there calendars, someting to the effect of names=MyCalendar+Holidays+GroupEvents+HomeEvents&lt;br /&gt;
** There is something like that in the current version, but only for week/days view. I don't know how it should work in the month view. And even in the week view, edits will go to the first calendar listed. --[[User:Cdamian|Cdamian]] 14:53, 1 March 2006 (UTC)&lt;br /&gt;
***If there is something like that in the current version, how can I use it? What I would like to do is have a &amp;quot;master&amp;quot; calendar which has the items for all the other calendars. For example when I go to 10_26_2006 it will show the data from 10_26_2006/calendar2 and 10_26_2006/calendar3 (which is how I have it setup.) [[User:71.231.182.82|71.231.182.82]] 07:10, 26 October 2006 (UTC)&lt;br /&gt;
&lt;br /&gt;
* I'd love to see a list of upcoming events for the next week/month/year, without the blank pages.&lt;br /&gt;
** this is in the 1.7 version --[[User:Cdamian|Cdamian]] 14:53, 1 March 2006 (UTC)&lt;br /&gt;
* it would be nice to have a way to flick forward/back like buttons on a wiki page in/decrementing a counter which is used to call the calendar the usual style (like:date= +$counter week). In this way a week by week overview can flick through a range of the year (good for planning ahead:-) 28 June 2006&lt;br /&gt;
* It would be nice to have multi-language support for day- and monthnames. The preferred language could be detected by the &amp;lt;tt&amp;gt;$_SERVER['HTTP_ACCEPT_LANGUAGE']&amp;lt;/tt&amp;gt; variable. Generating day- and monthnames should work by using the &amp;lt;tt&amp;gt;[http://de3.php.net/manual/de/function.setlocale.php setlocale()]&amp;lt;/tt&amp;gt; function. --[[User:DanielSimon|DanielSimon]] 11:50, 29 October 2005 (UTC)&lt;br /&gt;
** I don't want to use the HTTP_ACCEPT_LANGUAGE, but the user preferences instead. There is some code in mediawiki to format dates, but I don't think I can use that. --[[User:Cdamian|Cdamian]] 16:36, 3 November 2005 (UTC)&lt;br /&gt;
*** Why don't you use the &amp;lt;code&amp;gt;[http://de3.php.net/manual/de/function.strftime.php strftime()]&amp;lt;/code&amp;gt;-Function instead of the &amp;lt;code&amp;gt;[http://de3.php.net/manual/de/function.date.php date()]&amp;lt;/code&amp;gt;-function. This function should allow &amp;lt;code&amp;gt;setlocale()&amp;lt;/code&amp;gt; to choose localized day-/monthnames... --[[User:213.168.102.97|213.168.102.97]] 09:14, 8 March 2006 (UTC)&lt;br /&gt;
** there are tranlations now in the 1.8 release --[[User:Cdamian|Cdamian]] 11:33, 10 March 2006 (UTC)&lt;br /&gt;
* This extension would be even more usefull when it offered the possibility of adding a title to dayevents like 6.4.2006_party. In that way the script could output a list of titles instead of only dates [http://wikimaas.org]]. Maybe it could also be done by taking each date-page and substracting the headings from it. (Under each heading would be an event.) The script could then output these headings ordered by date. This would make a list of events instead of a list of dates, which is much more informative. The list could be put into the sidebar, for example.&lt;br /&gt;
* Hi - is 1.8 or 1.10 production?  1.10 has a missing ) on line 94 &amp;lt;code&amp;gt;(isset($params[$i])&amp;lt;/code&amp;gt; should be &amp;lt;code&amp;gt;(isset($params[$i]))&amp;lt;/code&amp;gt; - I'm about to upgrade to 1.6.3 and wanted to upgrade wikicalendar in the process.&lt;br /&gt;
** sorry about 1.10, that was my mistake. I have uploaded 1.11 now, which fixes that bug and another one --[[User:Cdamian|Cdamian]] 09:34, 18 April 2006 (UTC)&lt;br /&gt;
{{EndTalkFromMeta}}&lt;br /&gt;
&lt;br /&gt;
== Bugfix ==&lt;br /&gt;
{{TalkFromMeta}}&lt;br /&gt;
In Calendar.php, the disabling of the 1.5 cache doesn't work...I think it's because it's not doing a return &amp;quot;&amp;quot;; at the very end.  Don't know how you want to accept contributions for the code...I also hacked in a sloppy monthly calendar with each event listed in the cell for the day.&lt;br /&gt;
: strange thing about the cache. best thing for contributions is to send them to me ( christof@damian.net ), I'll answer much faster than too. --[[User:Cdamian|Cdamian]] 16:34, 3 November 2005 (UTC)&lt;br /&gt;
&lt;br /&gt;
: there is a new fix for the cache in version 1.7 now, please have another go --[[User:Cdamian|Cdamian]] 14:52, 1 March 2006 (UTC)&lt;br /&gt;
&lt;br /&gt;
: I am still having problems with caching in version 1.11  Nobody had edited any calendar entries for  over a month, I went to check the calendar and it still was showing the date I last looked at (about 7/4) for my month, week, and year calendars.  Even when I held shift and hit the reload button in firefox I kept getting the old one.  I edited the calendar php files to add some debug messages and sure enough it showed the proper date.  I did just upgrade to firefox 1.5.0.4 from a 1.0 version...not sure if this has something to do with it. --[[User:Ej|Ej]] Wed Aug 16 11:00:00 EDT 2006&lt;br /&gt;
&lt;br /&gt;
: Very strangely, I'm seeing 29 october twice, causeing my calendar to go totally nuts. Anything sensible I can do about that? This also happens after an upgrade to 1.13. Apart from that, I totally love your calendar plugin :-) --[[User:RubenV|RubenV]] 19:21, 3 November 2006 (UTC)&lt;br /&gt;
{{EndTalkFromMeta}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Extensions]]&lt;/div&gt;</summary>
		<author><name>Bill Flanagan</name></author>	</entry>

	</feed>
