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)