Difference between revisions of "Talk:Calendar"
Line 2: | Line 2: | ||
All the links (dates) are external links: http://img260.imageshack.us/img260/2333/sanstitrets6.png | All the links (dates) are external links: http://img260.imageshack.us/img260/2333/sanstitrets6.png | ||
And I still have the problem of the language... I don't have access to the configuration server. [[User:YeTi|YeTi]] 20:39, 3 May 2007 (NZST) | And I still have the problem of the language... I don't have access to the configuration server. [[User:YeTi|YeTi]] 20:39, 3 May 2007 (NZST) | ||
+ | :I'm experiencing this same issue. Anybody find a resolution? [[User:Jaofos|Jaofos]] 05:06, 30 May 2007 (NZST) | ||
---- | ---- |
Revision as of 17:06, 29 May 2007
I've just installed the new version of the calendar and I have a problem... All the links (dates) are external links: http://img260.imageshack.us/img260/2333/sanstitrets6.png And I still have the problem of the language... I don't have access to the configuration server. YeTi 20:39, 3 May 2007 (NZST)
- I'm experiencing this same issue. Anybody find a resolution? Jaofos 05:06, 30 May 2007 (NZST)
Hi, a few questions:
- How can I put the calendar in another language, for example french (january = janvier, etc...)?
- I changed it slightly to work with locales, so download again from MW:Extension:Simple Calendar, and then set the PHP locale in LocalSettings.php with the following (the locale's must be configured on the server properly),
- <php>setlocale(LC_ALL,'fr_FR','fr','FR','french','fra','france','French','fr_FR.ISO8859-1');</php>
- if that doesn't work, use locale -a from your server's shell to see what local's are available.
- In which file do I have to put the CSS code, knowing that I use the Monobook skin? --YeTi 19:58, 1 May 2007 (NZST)
- You can add it to your MediaWiki:Monobook.css file, see our MediaWiki:Wikiskin.css for example. --Nad 21:08, 1 May 2007 (NZST)
One addition for the future could be to add another variable which specifies the month (like in unix bash), <bash> $ cal [-jy] [[month] year] $ cal 1 2006
January 2006 S M Tu W Th F S 1 2 3 4 5 6 7 8 9 10 11 12 13 14
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 </bash> This would allow monthly calendars to be embedded into articles. --Sven 12:36, 25 April 2007 (NZST)
- You mean like this?
{{#calendar:|2006|1}}
Todo: have a link to export to ical format.
- Todo: having a link to the changes on that day would be very cool and not too difficult.
- Current Special:Recentchanges doesn't support rendering a date-range :-(
- So, this needs to wait for Changes (see [[Talk:Special:Recentchanges]])
Maybe the calendar could be called Calendar 2006, as it will need to rollover by year.
- Sven 15:49, 10 Mar 2006 (NZDT)
- Yeah I couldn't be bothered dealing with the year at the time, but I should of because all the indiviual day articles are based on that name. But it doesn't matter, I'll fix it soon and it can just default to 2006 if no year supplied. Nad 20:37, 10 Mar 2006 (NZDT)
A better approach would be to create a time planner table using a php script identical to the way calendar.php works and embed that into any day so linkouts to any articles can be made such as: 01 June 2006/10am or for a particular user Sven/01 June 2006/10am. The linkouts are not terribly important here though...--Sven 11:23, 1 Jun 2006 (NZST)
Had to move this from main content since the day articles get put in the News. --Nad 18:04, 2 Jun 2006 (NZST)
Time | Time |
---|---|
6:00am | 3:00pm |
7:00am | 4:00pm |
8:00am | 5:00pm |
9:00am | 6:00pm |
10:00am | 7:00pm |
11:00am | 8:00pm |
12:00pm | 9:00pm |
1:00pm | 10:00pm |
2:00pm | 11:00pm |