Difference between revisions of "Issue:Event template appears in list of all events"

From FollowTheScore
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
  |Version    = 1.0
 
  |Version    = 1.0
 
  |Description = Event template appears in list of all events
 
  |Description = Event template appears in list of all events
  |Status      = open
+
  |Status      = closed
 
}}
 
}}
  
Line 15: Line 15:
  
 
== Reply ==
 
== Reply ==
I made the following changes:
+
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 normsle article named "Event Template")
+
* moved "Event Template" to "Template:Event Template" (make sure to delete the normale article named "Event Template")
 
* changed the reference in "Template:Create Event"
 
* changed the reference in "Template:Create Event"
 
* added "notnamespace=Template" in "Template:Calendar month"
 
* 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.
 
You can make these changes in your wiki or download the latest version.
 +
[[User:Gero|Gero]] 08:46, 20 January 2008 (CET)
  
[[User:Gero|Gero]] 08:46, 20 January 2008 (CET)
+
:Cool, thanks. [[User:XApple|XApple]] 19:05, 24 January 2008 (CET)

Latest revision as of 09:43, 25 January 2008

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)