Last modified: 2006-02-09 06:19:50 UTC
BUG MIGRATED FROM SOURCEFORGE http://sourceforge.net/tracker/index.php?func=detail&aid=863114&group_id=34373&atid=411192 Originally submitted by E. L. (elwp) 2003-12-19 20:34 In OutputPage::replaceVariables the MSG(NW) variables are replaced only after the other variables. But it would be useful to allow user defined messages that refer to these other variables. This is not a theoretical problem. On the German Main Page we'd like to let the "selected articles" block be editable by all users, and thus we moved it to the MediaWiki namespace, but it contains {{CURRENTDAY}} and {{CURRENTMONTHNAME}}. I don't think that the required rearrangement in "replaceVariables" would have any undesired side effects. de:Benutzer:El
I'm not sure I understand this bug. * What exactly is the problem? * What are you expecting this modification to accomplish? * What are the "other variables" you are referring to?
At the time this bug was filed, it seems it was not possible to include a magic variable like {{CURRENTDAY}} inside a template. MediaWiki has long sine been changed to recursively expand variables and other templates inside templates (which no longer require a msg: prefix or reside in the MediaWiki namespace). So I'm marking this as fixed.