Last modified: 2011-03-13 18:05:41 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 T5246, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3246 - wfMsgForContent does not resolve {{SERVER}} recursively
wfMsgForContent does not resolve {{SERVER}} recursively
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.5.x
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 3249
Blocks:
  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: ---


Attachments

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.


Navigation
Links