Difference between revisions of "Issue:Event template appears in list of all events"
From FollowTheScore
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Issue | {{Issue | ||
|Type = Bug | |Type = Bug | ||
− | |Extension = | + | |Extension = Calendar |
|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 = | + | |Status = closed |
}} | }} | ||
Line 15: | Line 15: | ||
== Reply == | == 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. | ||
+ | [[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)