On Fri, Mar 27, 2009 at 6:13 AM, Evelyn Yoder eyoder@gmail.com 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
If you template the redirect code, you could probably make a template something like (but i'm making no assurances that it will work):
#Redirect [[{{#switch: {{SITENAME}} |#default = {{{custom|}} |sitename1 = redirectONE | sitename2 = redirectTWO}}]]