[Mediawiki-l] Creating #REDIRECT in a template

Sam.Sexton at thomsonreuters.com Sam.Sexton at thomsonreuters.com
Mon Jun 28 07:46:45 UTC 2010

What happens if you have users Stan Smith and Samantha Strange ? ;-)

Platonides wrote:

>nakohdo wrote:
>> Hi,
>> I am trying to create a template which redirects a page with the
initials of
>> a user as its title to the corresponding user page like so:
>> Page [[FR]] contains the template {{Initials of|Frank}}.
>> The template should look like this, but this doesn't work because of
>> pound sign.
>>  #REDIRECT [[User:{{{1}}}]]
>>  <nowiki>#</nowiki>REDIRECT [[User:{{{1}}}]] doesn't work either.
>> I suppose this is too fancy for the wiki engine's parser?
>> Frank 
>Try transcluding the user page:

What happens if you have users Stan Smith and Sam Sexton? ;-)

MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org

This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

More information about the MediaWiki-l mailing list