I created a new wiki instance where anyone can see this problem.  Here are the 
links to a page using the templates as well as the template links that 
reproduce this problem.  

Page showing the prob: 
http://ec2-50-112-75-137.us-west-2.compute.amazonaws.com/wiki/index.php/A

Template pages:
http://ec2-50-112-75-137.us-west-2.compute.amazonaws.com/wiki/index.php/Template:CreateRefObject@article
http://ec2-50-112-75-137.us-west-2.compute.amazonaws.com/wiki/index.php/Template:ShowRefObj
http://ec2-50-112-75-137.us-west-2.compute.amazonaws.com/wiki/index.php/Template:FormatRef

I'll try to leave this server up for a while.

Thanks,
Al




________________________________
 From: Platonides <[email protected]>
To: [email protected] 
Sent: Sunday, December 30, 2012 4:11 PM
Subject: Re: [MediaWiki-l] #switch not working
 
On 30/12/12 22:47, Al Johnson wrote:
> Just a guess, but this switch statement is in a template that is 2-levels 
> deep.  IOW, a page calls template 1 which calls template 2.  Would this cause 
> a problem?  I've tried numerous examples and it works when it's the 1st 
> template called, but not the second.
> 
> Al

You should provide a minimal example of what it's not working: your
pages, what you expected and what you are getting.

#switch should function equally well no matter at what template level
you are calling it (as far as you have ParserFunctions extension
installed, of course!)


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to