That won't work, but in the middle you can use a Soft redirect template like on mediawiki.org
http://www.mediawiki.org/wiki/Template:Soft_redirect Jamie Thingelstad jamie@thingelstad.com mobile: 612-810-3699 find me on AIM Twitter Facebook LinkedIn
On Nov 7, 2012, at 1:47 PM, Jan Steinman wrote:
I'm using MediaWiki 1.16.2. (Yea, I know. But it's running so well, and every time I've upgraded, it's cost me a couple days of mop-up.)
I have a number of pages in the format "Something, YYYY" or "YYYY something," such as "Budget, 2012" or "2012 harvest".
I have a number of #REDIRECT pages like "Current budget" that point to (for example) "Budget, 2012". Presently, I manually update them at year-end.
I find that I cannot put {{CURRENTYEAR}} in the #REDIRECT link, such as: #REDIRECT [[Budget, {{CURRENTYEAR}}]]
Why not? Such links work elsewhere!
When I do so, the redirect no longer works, and someone clicking on "Current budget" (for example) ends up on the redirect page, rather than the page being pointed to by the #REDIRECT.
Is this a bug I should report? Is there some work-around? Does it work properly in newer versions? (Could be what I need to upgrade... :-)
Any other hints to get it to do what I want?
Thanks!
:::: Ladybug, ladybug, Look to your stern! Your house is on fire, Your children will burn! So jump ye and sing, for The very first time The four lines above Have been put into rhyme. -- Walt Kelly :::: Jan Steinman, EcoReality Co-op ::::
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l