On 4/16/08, Daniel Barrett <danb(a)vistaprint.com> wrote:
What's the right way to redirect to an article in the "project"
namespace without hard-coding the wiki name? Neither {{ns:project}} nor
{{SITENAME}} works:
#REDIRECT [[{{SITENAME}}:My page]]
#REDIRECT [[{{ns:project}}:My page]]
Instead of accomplishing a redirect, they merely render the text:
1. REDIRECT MyWikiName:My page
as if the "#" were a numbered list symbol.
Thanks,
DanB
Project: is aliased to the project namespace, so you can just say:
#redirect [[Project:My page]]
--
Arr, ye emus,
http://emufarmers.com