Extension talk:Semantic Calendar

Hello and thanks for an awesome semantic extensions! I hope the caching problem will be solved as disabling cache for this extension only slows down wiki tremendously.


 * Hi, thanks. I thought about it and came up with a hack to get around the caching problem, until it's truly solved; you can read about it on the main page. I hope that helps. Yaron Koren 23:07, 6 March 2008 (UTC)

date format
hi I use it with SMW and have on my article/date page:

Datum::March 26, 2008

and as calendar tag:

but it doesnt show up. As far as i understand the calendar extension has to interprete the date. So i tried english and various german (my wiki setting) format. I also tried with templates and manually (as above)

Any more detailed info on that would be nice!

Great extension, as i can see from the example sites. groovehunter 19:08, 21 March 2008 (UTC)


 * Hi, what versions of SMW, SC and MW are you using? And is "Datum" defined as a property of type Date (in whichever language it is)? Yaron Koren 23:08, 21 March 2008 (UTC)
 * Oh, and do you have caching disabled for the page the calendar sits on (see the documentation)? Yaron Koren 00:08, 22 March 2008 (UTC)


 * Thx Yaron for quick reply - got it runnning meanwhile. I'm not sure but i think it was because of SMW attribute declaration 'Date' has to be with capital letters. Also i found in the meantime how to enable SMW in other namespaces

$smwgNamespacesWithSemanticLinks = array(NS_K=>true, ...);


 * I have the namespace K for kontakte (contacts). And here the next question - SC seems not to work in extra namespaces; It would be great if it does, i want to have some contact log and use Klog::March 23 2008 on the kontakt page ie. My versions are MW 1.11.0 and 1.11.2, SMW is 1.0 RC2 and SC is 0.2.1, i'd upgrade (if that helps) because i like anyway to use RDF import and API stuff recently implemendted.  regards, groovehunter 13:52, 23 March 2008 (UTC)


 * Hi, I just tested dates on additional namespaces, and it works for me. If you have the "semantic factbox" at the bottom of pages, please make sure that this date property appears at the bottom of the page you're talking about (and if you don't have the factboxes, please enable them for this test). Yaron Koren 00:06, 24 March 2008 (UTC)


 * Moin, Yeah the factboy appears and also the date is rendered as german date, also the page Attribut:Datum shows that page as using this "Attribut" (this is the Property: in english right?). So this part is fine. What could i try next please Yaron? groovehunter 05:43, 24 March 2008 (UTC)


 * Hm... try going to the "Special:Ask" page and typing " Datum::+ " as the query, and see what gets printed out. Yaron Koren 12:31, 24 March 2008 (UTC)

there is a bug
when using pretty urls with action path the calendar extension does not work anyway, the CSS style is not included and there is no posibillity for changing the date

--77.182.31.19 23:48, 30 March 2008 (UTC)


 * Hi, you probably need to disable caching for the calendar page; see the section "The caching issue". Yaron Koren 01:48, 31 March 2008 (UTC)
 * But there is still the Problem that the namespace does not work. When using the calender in another then namespace 0 the calender jumps to the PAGENAME page when changing the month. 77.182.138.176 20:44, 8 April 2008 (UTC)
 * I've made some changes to the SC_ParserFunctions.php. I've included the Namespace into the title. In my special case I've made pretty urls and the ?title= is not displayed in the URL so it is obsolete for me. This is only a fast workaround, I hope somebody can use this for a pretty solution. This are my lines 166-184 of SC_ParserFunctions.php.

--77.182.138.176 21:42, 8 April 2008 (UTC)

I'made some further changes, thats my new file. This is only useable if the pagetitle is not given with ?title=.

(removed)

But now I have another problem. The has date property does not work. In my Calender there is nothing displayed. --77.182.31.35 22:05, 8 April 2008 (UTC)


 * Hi, thanks for the discovery of the namespace bug. But please don't copy entire files into the Talk page; if there's more than one change, you can follow the instructions in the "contributing" section. As for "Has date", there's nothing special about that string - you should use the name of some date property that you actually have on your wiki. Yaron Koren 04:38, 9 April 2008 (UTC)

Integrated with WikiTimeLine
Hi Yaron.

There is a interesting extension "WikiTimeLine". Maybe it can be integrated into Semantic Bundle one day.--Roc michael 11:41, 24 June 2008 (UTC)

Repeat events
Hi, What about if i want to repeat events to appear on all next years? I thought this could be done adding on date property just the day and month and let year blank, but as i can see semantic mediawiki doesn't accept just dd/mm on a property of date type.

Events not showing
I just installed the semantic calendar since, but somehow I can't get it working. The configuration is as follows:
 * MediaWiki 	1.12.0
 * PHP 	5.2.3-1ubuntu6.3 (apache2handler)
 * MySQL 	5.0.45-Debian_1ubuntu3.1-log
 * Semantic Calendar (Version 0.2.5)
 * Semantic MediaWiki (Version 1.2)

The Wiki itself is running in German and I tried many variations of dateformats and Attribut (german for Property) - declaration.

To define "Start date" as date, "Attribut:Start_date" contains: This is an attribute of type Date For testing I created a page with the following content: Start date::July 11, 2008. The factbox translates this to a german date and displays: "Start date 	11. Juli 2008" On the page displaying the calendar I added: - It displays the calendar in the correct format (Cachung is disabled for all pages) but does not show the events.

I checked the Wiki of the above post "there is a bug" (http://www.wecowi.net/view/Portal:Kalender?month=2&year=2007) and relised that events are not shown either. It is also using Version 1.2 of semantic Wiki.

I have no clue where to start. Does Semantic Calendar work with Semantic MediaWiki (Version 1.2)? How can I debug the semantic calendar?


 * Hi, please upgrade to the latest version, 0.2.6. Yaron Koren 19:49, 11 July 2008 (UTC)

Printing Semantic calendar looses formatting
Really great tool!!! However, I'm missing one feature for hardcopy meetings: Is there a way to preserve the formatting when I print the calendar?


 * Hi, thanks, and that's neat to hear that it's being used for planning purposes. I admit I haven't heard of a case where a browser didn't just print what was on the screen. What browser and operating system are you using? Or does the same thing happen across all browsers? Yaron Koren 18:31, 13 July 2008 (UTC)


 * We are running Ubuntu and Firefox. I also tried the http://www.r3levees.org implementation to check if it's just our wiki setup, but their's also lost the formatting when printing to pdf.


 * I found a solution that works for us. In /includes/SC_ParserFunctions.php > function scRenderSemanticCalendar I added ", print" to the media for the added Link. Sounds logical and works, but I'm only a hobby programmer - Meaning to say: No guarantees ;)


 * Ah, printing to PDF - that makes sense now. Thanks for the fix, it seems right... I'll add it to the next version. Yaron Koren 07:53, 14 July 2008 (UTC)

Adding Events
How do you add an event?!?!


 * There are various ways to do it; an "event" is nothing more than a page that has an instance of a semantic property of type "Date". Check out Semantic Forms for one way. Yaron Koren 16:05, 25 July 2008 (UTC)


 * That seems like it would work well, except that I don't really understand a whole lot on that page (not very technically sound...) Is there an easier way?


 * Yeah, create a page that has an instance of a semantic property of type "Date". Yaron Koren 17:03, 25 July 2008 (UTC)


 * So for example [Date:July 17, 2008] ?


 * That's not quite right; maybe you should play around, and get more comfortable, with Semantic MediaWiki before you start using Semantic Calendar. Yaron Koren 18:01, 25 July 2008 (UTC)


 * Thanks, you've been extremely helpful.


 * I feel your pain! Every extension I try to install, there's always ONE piece missing.  And then I spend the next week trying to find the info in forums.  Why can't someone just give a SIMPLE answer???

Problem on using multidomain server
Hello, I found a problem on installing semantic calendar, it goes to search a page that don't really exists, is not in archive and not in svn...

http://nembe.hacklabs.org/wiki/index.php/Activitats

Here you have a link to test the error, you'll not able to add the text between nowiki and /nowiki. Blackhold


 * Hi - you need to install Semantic MediaWiki for Semantic Calendar to work. Yaron Koren 19:49, 7 September 2008 (UTC)

Calender CSS breaks when date is changed
Hi, I run MediaWiki 1.13.0rc1 and I installed the latest stable Semantic MediaWiki and this calendering extension. I disabled cache for any page with the string "Calender" in it, and this worked for my test page called "Calender" but anytime I change the date on that page the CSS breaks. Observe: https://hampedia.org/wiki/Calender


 * Hi, it looks like caching is not actually disabled. Could it be because "Calendar" is misspelled? Yaron Koren 12:43, 14 October 2008 (UTC)

Tag OBSOLETE in SVN and remove from trunk after 1.16 branching?
Should this extension be tagged OBSOLETE in SVN and be removed from trunk after it has been branched a last time for 1.16? siebrand 00:37, 13 June 2009 (UTC)


 * That's a reasonable idea... maybe it should just be removed from SVN, though? Yaron Koren 23:02, 14 June 2009 (UTC)