Talk:Calendar
| width="10%" | {| border="1" width="100%" cellspacing="0" cellpading="2" | ===June=== |- | bgcolor="#FFFFFF" | 1 |- | bgcolor="#FFFFFF" | 2 |- | bgcolor="#FFFFFF" | 3 |- | bgcolor="#FFFFFF" | 4 |- | bgcolor="#FFFFFF" | 5 |- | bgcolor="#FFFFFF" | 6 |- | bgcolor="#FFFFFF" | 7 |- | bgcolor="#FFFFFF" | 8 |- | bgcolor="#FFFFFF" | 9 |- | bgcolor="#FFFFFF" | 10 |- | bgcolor="#FFFFFF" | 11 |- | bgcolor="#FFFFFF" | 12 |- | bgcolor="#FFFFFF" | 13 |- | bgcolor="#FFFFFF" | 14 |- | bgcolor="#FFFFFF" | 15 |- | bgcolor="#FFFFFF" | 16 |- | bgcolor="#FFFFFF" | 17 |- | bgcolor="#FFFFFF" | 18 |- | bgcolor="#FFFFFF" | 19 |- | bgcolor="#FFFFFF" | 20 |- | bgcolor="#FFFFFF" | 21 |- | bgcolor="#FFFFFF" | 22 |- | bgcolor="#FFFFFF" | 23 |- | bgcolor="#FFFFFF" | 24 |- | bgcolor="#FFFFFF" | 25 |- | bgcolor="#FFFFFF" | 26 |- | bgcolor="#FFFFFF" | 27 |- | bgcolor="#FFFFFF" | 28 |- | bgcolor="#FFFFFF" | 29 |- | bgcolor="#FFFFFF" | 30 |- | bgcolor="#FFFFFF" | 31 |}
Contents
PhpWiki-style calendar
For those who were particularly enamoured with PhpWiki's CalendarPlugin, I've cooked up a modest Perl script using cal
that generates similar tables (in MW table wikicode), with links to subpages matching the CalendarPlugin format (this makes PhpWiki->MediaWiki migration a little less painful). You have to use it manually once per month, of course, but it is fairly painless and quick. Interested parties inquire at Documentation:wikical.pl. - KeithTyler 17:49, 29 Dec 2004 (UTC)
hEvent
hCalendar is a MicroFormat for events. It would be great to have mediawiki easily allowing to create and output events you can then aggregate in your calendar tool. --PaoloMassa 19:01, 18 July 2005 (UTC)
event calendar
hello, i am quite new to the whole wiki concept... i was investigating on the possibilities to establish a social event calendar, something like [1] but as a open source solution (who wants to use a yahoo owned company website). anyway, the calendar functions in mediawiki seem to be nonexistent, which is understandable considering it was develope as a specialized application for the wikipedia... unfortunately i am not a programmer so i cannot really contribute to the implementation of a group event calendar in media wiki. if anybody has some tips for me where to look for a software that would server for this purpose, please leave me a message at [2] thanks, till
- Till, I've ever found a solution on this? -- JanCK 15:29, 28 July 2006 (UTC)
quick and dirty calendar
--vince 15:32, 21 October 2006 (CEST)
For a quicky, i was parsing 'cal', the linux calendar utility to wiki tables. I did feel like fun, and who knows, useful one day.
Just paste the line
echo -e "{| border=1 celpadding=2 valign=top halign=left \n$(ncal 5 2006 | sed -re 's/.*([A-Z][a-z][a-z].*) ([0-9]{4}).*/+\1 \2/ ; s/^/|-\n|/g ; s/(\<.?.?\> )/\1||/g ; s/ /||/g') \n|}"
in a shell and watch the calendar appear which you can paste back in the wiki to use. You can change year and month behind the 'ncal' command (cal 7 2007 would be july 2007). You can use cal istead of ncal. For more table info have a look on http://meta.wikimedia.org/wiki/Help:Table
with cal
Su | Mo | Tu | We | Th | Fr | Sa |
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 | |||
with ncal
Mo | 5 | 12 | 19 | 26 | |
Tu | 6 | 13 | 20 | 27 | |
We | 7 | 14 | 21 | 28 | |
Th | 1 | 8 | 15 | 22 | 29 |
Fr | 2 | 9 | 16 | 23 | 30 |
Sa | 3 | 10 | 17 | 24 | |
Su | 4 | 11 | 18 | 25 |