Difference between revisions of "Issue:Asking a calendar kit"

From FollowTheScore
Jump to: navigation, search
(Reply)
Line 4: Line 4:
 
  |Version    = ?
 
  |Version    = ?
 
  |Description = Could you give me a more useful calendar with using DPL like [http://www.mediawiki.org/wiki/User_talk:Simsong/Calendar#Could_it_get_some_changes the description].
 
  |Description = Could you give me a more useful calendar with using DPL like [http://www.mediawiki.org/wiki/User_talk:Simsong/Calendar#Could_it_get_some_changes the description].
  |Status      = open
+
  |Status      = answered
 
}}
 
}}
  
Line 27: Line 27:
 
::Then, I would like the GUI calendar having '''a namespace specified by the argument any users want''' not the '''calendar''' namespace and it would be a parser function extension.
 
::Then, I would like the GUI calendar having '''a namespace specified by the argument any users want''' not the '''calendar''' namespace and it would be a parser function extension.
 
::Finally, I don't care of the calendar either use "yyyy-mm-dd" or "yyyy/mm/dd/" format, but if it's switchable by a argument, it would be more better. Right? --[[User:Roc michael|Roc michael]] 03:03, 2 December 2007 (CET)
 
::Finally, I don't care of the calendar either use "yyyy-mm-dd" or "yyyy/mm/dd/" format, but if it's switchable by a argument, it would be more better. Right? --[[User:Roc michael|Roc michael]] 03:03, 2 December 2007 (CET)
 +
 +
== Reply 2 ==
 +
* I changed the calendar so that it now shows the title of each event directly at the day. The first part of the title (containing the date) is suppressed. The title acts as a link to the definition of the event.
 +
* The width of the calendar can be controlled. Of course one could introduce a style sheet (using mediawiki:Common.css)
 +
* The event list is now optional.
 +
* There is an additional "purpose" field which acts as a filter. So you can have multiple calendars in parallel.
 +
* There is link to create a new event at every day. This can be deactivated by a 'noadd' parameter.
 +
* The namespace in which the event descriptions live can be configured.
 +
You see, I took some ideas from the extension you mentioned. I feel that the DPL calendar compares quite well with that solution - but DPL offers additional possibilities like several chapters in the event definition ...
 +
 +
Adding a little code one could show a picture for each day like an 'Adventskalender' in Germany (where you open a paper window which displays a new picture every day during the last 4 weeks before christmas), see http://images.google.de/images?hl=de&rlz=1T4SUNA_deDE242DE243&resnum=0&q=adventskalender&oe=UTF-8&um=1&ie=UTF-8&sa=N&tab=wi
 +
 +
If you think so too, you could leave a reference to DPL on the mediawiki.org page which describes the "Simsong" calendar...
 +
:[[User:Gero|Gero]] 20:18, 5 December 2007 (CET)

Revision as of 20:18, 5 December 2007

Description: Could you give me a more useful calendar with using DPL like the description.
Extension / Version: DPL   /   ?
Type / Status: Change Request   /   answered

Problem

Could you give me a more useful calendar with using DPL like the description. The date format of the extension is not good for DPL now. We can use it with Preloader Extension if it can create new pages with a specific namespace.--Roc michael 16:55, 1 December 2007 (CET)



Reply

I understand that

  • you want to have a date syntax like YYYY/MM/DD
  • you want to save pages automatically to a (configurable) namespace liek "Calendar:".

Both is very easy to do. Just replace the "-" in the date patterns by a "/" (e.g. in Template:Calendar month) and add "titleprefix=Calendar:" in the creation dialogue (you must use the version of inputbox which comes together with DPL).

o.k.? Gero 22:28, 1 December 2007 (CET)

Hi Gero. I know you are very busy. Thanks for your answer.
First, I think people would more like a easier (or GUI) way to use a calendar then the current way you mentioned. That's the reason why you make the page Template:Catlist for most people. Isn't it?
Becouse you have enhanced some extensions to fit DPL using and I think a good calendar kit is very important(or useful) for most people, I just guess that you may interest in enhancing the Calendar and some DPL users would be very happy to get the benefit.
Then, I would like the GUI calendar having a namespace specified by the argument any users want not the calendar namespace and it would be a parser function extension.
Finally, I don't care of the calendar either use "yyyy-mm-dd" or "yyyy/mm/dd/" format, but if it's switchable by a argument, it would be more better. Right? --Roc michael 03:03, 2 December 2007 (CET)

Reply 2

  • I changed the calendar so that it now shows the title of each event directly at the day. The first part of the title (containing the date) is suppressed. The title acts as a link to the definition of the event.
  • The width of the calendar can be controlled. Of course one could introduce a style sheet (using mediawiki:Common.css)
  • The event list is now optional.
  • There is an additional "purpose" field which acts as a filter. So you can have multiple calendars in parallel.
  • There is link to create a new event at every day. This can be deactivated by a 'noadd' parameter.
  • The namespace in which the event descriptions live can be configured.

You see, I took some ideas from the extension you mentioned. I feel that the DPL calendar compares quite well with that solution - but DPL offers additional possibilities like several chapters in the event definition ...

Adding a little code one could show a picture for each day like an 'Adventskalender' in Germany (where you open a paper window which displays a new picture every day during the last 4 weeks before christmas), see http://images.google.de/images?hl=de&rlz=1T4SUNA_deDE242DE243&resnum=0&q=adventskalender&oe=UTF-8&um=1&ie=UTF-8&sa=N&tab=wi

If you think so too, you could leave a reference to DPL on the mediawiki.org page which describes the "Simsong" calendar...

Gero 20:18, 5 December 2007 (CET)