Difference between revisions of "Issue:Calendar - range"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Change Request |Extension = Calendar |Version = ? |Description = |Status = open }} == Problem == In ISO 8601 ranges can be given by start and end t...)
 
Line 24: Line 24:
 
;display
 
;display
 
I don't know how powerfull mediawiki is. Maybe one needs an extra table which stores the start and end time for each event page. Could be filled on page-save for all pages starting with a datetime.
 
I don't know how powerfull mediawiki is. Maybe one needs an extra table which stores the start and end time for each event page. Could be filled on page-save for all pages starting with a datetime.
 +
 +
I have an extra table
 +
*page_id
 +
*time_start
 +
*time_end
 +
 +
This extra table could also be used to increase performance in case the event template is not used, but article are collected for calendar based on that the title starts with a date. See [[Issue:Calendar - without event template]]
 +
[[User:Tobias Conradi|Tobias Conradi]] 00:50, 23 December 2007 (CET)
  
 
== Reply ==
 
== Reply ==

Revision as of 01:50, 23 December 2007

Description:
Extension / Version: Calendar   /   ?
Type / Status: Change Request   /   open

Problem

In ISO 8601 ranges can be given by start and end time seperated by /

Alternativly seperated by --

On my wiki I use -- because / looks to much like subpage. This also works for filenames while / not.

examples with shortened dates (ISO conform)
  • 2007-12-24--26 christmas time
  • 2007-12-31--2008-01-01 year end year start party
  • 2007-11-20--12-15 an example with crossing month border but not year border

one could also use time

  • 2008-01-14 10:15--11:45 computer science lecture in Giessen university
display

I don't know how powerfull mediawiki is. Maybe one needs an extra table which stores the start and end time for each event page. Could be filled on page-save for all pages starting with a datetime.

I have an extra table

  • page_id
  • time_start
  • time_end

This extra table could also be used to increase performance in case the event template is not used, but article are collected for calendar based on that the title starts with a date. See Issue:Calendar - without event template Tobias Conradi 00:50, 23 December 2007 (CET)

Reply