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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 328 - replace MSG(NW) before the other variables
replace MSG(NW) before the other variables
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: need-parsertest, parser
Depends on:
  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: ---


Description Timwi 2004-09-03 03:22:23 UTC
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

I don't think that the required rearrangement in
"replaceVariables" would have any undesired side effects.

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.