Possible to show recurrences as links + use template in event
Opened this issue · 3 comments
GoogleCodeExporter commented
Hi. I have two questions for you.
1. I'm wondering if you can link recurrences to wiki articles?
It's possible to create a new calendar event and use #REDIRECT[[page]] to
forward the new event to a new non-calendar page. But is it possible to do
this with a recurrence event? If so, how?
2. I wish to use a template in the event title. The event is a recurrence
as well. Take a look at this line in my calendar's recurrence-page:
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=10;DAY=5;SUMMARY=Samantha
{{age|1981|1|15}} years old
What I'm trying to do here, is a show the event like this: "Samantha 28
years old". The age-template calculates a person's age from his or her date
of birth.
When I type this (including the age-template) into the calendar as a
recurrence event, it shows the complete code. Like this:
Samantha {{age|1981|1|15}} years old
How can I show the event like this instead:
Samantha 28 years old
And how can I link this event (when the event is a recurrence) to a wiki
article as well?
Original issue reported on code.google.com by mariusol...@gmail.com
on 22 Oct 2009 at 12:05
GoogleCodeExporter commented
I don't send any ical data through any wiki parsing. Right now I'm not actively
adding new code right now, but I'll review this once I do.
This is the code used to convert wiki commands to HTML.. might work for links,
but I
dont think it coverts templates.
global $wgParser;
$this->slideBody = $wgParser->recursiveTagParse($slideBody); //wiki markup
converted
to html
Thanks
Eric
Original comment by kenyu73
on 16 Nov 2009 at 10:14
- Changed state: Review
- Added labels: Type-Enhancement
- Removed labels: Type-Question
GoogleCodeExporter commented
[deleted comment]
GoogleCodeExporter commented
I would also find the recurrence redirects extremely helpful. The other thing
recurrence events needs is the
ability to make events reoccur in days,months and weeks as well as years.
At my college, where I run the wiki we have one person on duty for
administrative purposes. A few of them
take turns being "on duty" every 8 days. I would like to have an event that
reoccurs every 8 days with
whoever is on duty's name being the event and when you click it, it redirects
to their user page. There is no
way of doing this right now correct? (other than messing with code I don't
understand)
Thanks,
Lloyd
Original comment by lloyd_fo...@Hotmail.com
on 21 Jan 2010 at 2:33