[Mediawiki-l] How to include a REDIRECT within a parser function?

Platonides Platonides at gmail.com
Thu Mar 26 21:25:13 UTC 2009


Evelyn Yoder wrote:
> Hello -
> 
> In this situation, I have two wiki sites that use the same database. The
> parser function triggers, based on the wiki SITENAME:
> 
> I want to include a REDIRECT inside a parser function. Anyone have any
> suggestions?
> 
> {{ #ifeq: {{SITENAME}}
> |My Support Wiki
> |#REDIRECT[[File a Support Case]]
> |<!--information related to other site(s)-->
> }}
> 
> Thanks,
> Evelyn
> Technical Communications
> www.longjumpsupport.com

I don't think you can do that. Perhaps you can make a parser funcion
redirect-if-sitename




More information about the MediaWiki-l mailing list