> From: Chad <innocentkil...@gmail.com>
> 
> On Wed, Nov 7, 2012 at 5:17 PM, Platonides <platoni...@gmail.com> wrote:
>> On 07/11/12 21:00, Chad wrote:
>>> On Wed, Nov 7, 2012 at 2:47 PM, Jan Steinman <j...@bytesmiths.com> wrote:
>>>> I find that I cannot put {{CURRENTYEAR}} in the #REDIRECT link, such as:
>>>>        #REDIRECT [[Budget, {{CURRENTYEAR}}]]
>>>> 
>>>> Why not? Such links work elsewhere!
>>> 
>>> This does not work with redirects. They're not parsed in the same way pages
>>> normally are (it just looks for #REDIRECT + a link).
>>> 
>>> -Chad
>> 
>> We could expand parser functions if there are {{ }} there.
>> Seems worth to open a bug.
> 
> It's been WONTFIX'd since '05. I guess we can reopen it :)
> 
> https://bugzilla.wikimedia.org/show_bug.cgi?id=1575

Thanks! It seems to be a very useful way of having static page names invoke 
dynamic content.

I'm going to try the template work-around that Jamie Thingelstad posted.

----------------
:::: I don’t know if the defenders of the pasteurized milk monopoly will ever 
give up their crusade, but I sort of hope they don’t. Milk tastes so much 
better to me when it’s bootlegged than when it’s legal. -- Gene Logsdon
:::: Jan Steinman, EcoReality Co-op ::::
:::: (Send email to qu...@bytesmiths.com to get a random quote, or 
quo...@bytesmiths.com to get 50 random quotes. Put a word in the Subject line 
to filter for that word.)


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to