Last modified: 2006-02-09 06:19:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2328, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 328 - replace MSG(NW) before the other variables
replace MSG(NW) before the other variables
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: need-parsertest, parser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-03 03:22 UTC by Timwi
Modified: 2006-02-09 06:19 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Timwi 2004-09-03 03:22:23 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
Comment 1 Timwi 2004-09-03 21:55:11 UTC
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?
Comment 2 Wil Mahan 2004-09-30 20:44:47 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links