Issue:Event template appears in list of all events

From FollowTheScore
Jump to: navigation, search
Description: Event template appears in list of all events
Extension / Version: Calendar   /   1.0
Type / Status: Bug   /   closed

Problem

When I place the following code on a page:

{{:Current events|
|eventList=all
}}

Amongst the list containing all the events, also appears the event template itself... this is very ugly, can it be avoided ? XApple 01:26, 20 January 2008 (CET)

Reply

I made the following changes (which prevents templates from being taken as event definitions in general):

  • moved "Event Template" to "Template:Event Template" (make sure to delete the normale article named "Event Template")
  • changed the reference in "Template:Create Event"
  • added "notnamespace=Template" in "Template:Calendar month"
  • chnaged the Chinese version accordingly

You can make these changes in your wiki or download the latest version. Gero 08:46, 20 January 2008 (CET)

Cool, thanks. XApple 19:05, 24 January 2008 (CET)