[Mediawiki-l] Error in templates with #switch

Gary Kirk gary.kirk at gmail.com
Wed Mar 14 22:44:52 UTC 2007


I often forget to copy extensions and calls into new installations and
break my wikis for a while :P

On 14/03/07, Armin Kniesel <armin.kniesel at googlemail.com> wrote:
> Yes, thank you, that was the reason.
>
> Armin
>
> 2007/3/14, Gary Kirk <gary.kirk at gmail.com>:
> >
> > It's obvious, but you have the ParserFunctions installed and a call to
> > them in LocalSettings.php yes?
> >
> > On 14/03/07, Armin Kniesel <armin.kniesel at googlemail.com> wrote:
> > > Hello,
> > >
> > > i use MediaWiki: 1.9.3,  PHP: 5.2.1 (cgi) and MySQL:
> > > 4.0.24_Debian-10sarge1-log.
> > >
> > > I created a template called test with following code:
> > >
> > > <includeonly>
> > > {{#switch: {{{1}}}
> > > |01
> > > |12=31
> > > |02
> > > |2={{{2}}}
> > > |04
> > > |11=30
> > > }}</includeonly>
> > >
> > > and when i use this template with {{test|1|2}} i get following result:
> > >
> > > {{#switch: 1 |01 |12=31 |02 |2=2 |04 |11=30 }}
> > >
> > > That means it does not recognize the #switch-variable. Is this not
> > possible
> > > in MW 1.9.3?
> > >
> > > Armin
> > > _______________________________________________
> > > MediaWiki-l mailing list
> > > MediaWiki-l at lists.wikimedia.org
> > > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> > >
> >
> >
> > --
> > Gary Kirk
> >
> > _______________________________________________
> > MediaWiki-l mailing list
> > MediaWiki-l at lists.wikimedia.org
> > http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


-- 
Gary Kirk



More information about the MediaWiki-l mailing list