Last modified: 2011-03-13 18:05:41 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 3246 - wfMsgForContent does not resolve {{SERVER}} recursively
wfMsgForContent does not resolve {{SERVER}} recursively
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on: 3249
  Show dependency treegraph
Reported: 2005-08-23 22:29 UTC by T. Gries
Modified: 2011-03-13 18:05 UTC (History)
0 users

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


Description T. Gries 2005-08-23 22:29:37 UTC
I need to use 

   $a = wfMsgForContent( 'serverserver' );

with Language.php having

  serverserver => '{{MediaWiki:sysopdefinedserver}}'
  sysopdefinedserver => '{{SERVER}}'

In the program, $a becomes only {{SERVER}}. 
I expected, that it is resolved down to the current serveraddress such as
http://localhost or http://www.domain.tld . I have tried unsuccessfully to use
double {{{{ }}}} constructs.

For me it looks like a bug.

Background, why this is needed:
the purpose of the construction is to allow Sysops to define a fixed server
address via page MediaWiki:Sysopdefinedserver, for example for use in the e-mail
notification body, if this is needed.

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