Closed GoogleCodeExporter closed 8 years ago
The whole calendar premis is based on line 1 being the event title. I can't
change
that logic or it would mess up the "move" option that users sometimes use to
change
events to other "days". Granted, I can technically "code" anything but I'm not
really sure I want to complicate the logic that tries to determine whether the
user
wants to "move" an event as opposed to REDIRECTs to non-calendar pages and then
using that page name as the event instead of line 1...
It's a good point about the page sections though. I'm surprised no one else had
expressed that issue. I think the only option here is yet another preference
to "disable" sectionevents. My current "usesectionevents" is misleading as that
prefence should more read "forcesectionevents"
I'm open to discussion as there may be something I can do... but need to really
sit
back and think about it
Original comment by kenyu73
on 11 May 2009 at 9:19
Thanks for your response and explaination.
I am happy for the calendar premis to remain and Line 1 be the event title.
(So,
please ignore my suggestion to use the title as the Event title.)
However, with a Redirect, the current version still isn't working correctly as
the "Event Title" in the calendar is still showing "Line 1, then the TOC".
Ah! After reading your response, as I have typed this, the "penny has just
dropped"
that the Calendar is treating a Level 2 section of a wiki content page as a
"Section
Based Event" as outlined at http://www.mediawiki.org/wiki/Extension:Calendar_
(Kenyu73)/Readme#Section_Based_Events
Hence, the first line is showing as an event, then the "Level 2 Sections" are
showing as a section based event.
I tried changing my destination page to change my Level 2 heading to Level 3,
but
that failed to. It took the first two "==" of the "=== blah ===" and then
created a
Section based event of "= blah =" (don't know if this is a bug...)
So, I agree that another preference.
My suggestion is (the long winded) "usesectioneventsonredirect".
By default, I suggest to have this DISABLED. The reasoning is that if you
redirect
to a wiki page, then it is probably a "normal" wiki page which might have lots
of
other information about an event.
This prference would be ENABLED intentionally if the destination wiki page is
a "Calendar Event Page" which has events in the format specified in your
Readme.
Anyway, that is my contribution to the discussion so far. Thanks for a great
Wiki
Extension.
PaulR
Original comment by proberts...@gtempaccount.com
on 12 May 2009 at 12:43
adding 'disablesectionevents'
This stops the calendar from using sections as individual events.
Original comment by kenyu73
on 11 Aug 2009 at 3:08
v3.8.2
Original comment by kenyu73
on 11 Aug 2009 at 3:53
Original issue reported on code.google.com by
proberts...@gtempaccount.com
on 11 May 2009 at 3:55