Page MenuHomePhabricator

{{SERVERNAME}} support needed
Closed, DuplicatePublic

Description

{{SERVERNAME}} support needed to distinguish the notices by exact project×lang combination.


Version: unspecified
Severity: enhancement

Details

Reference
bz18131

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:35 PM
bzimport set Reference to bz18131.

This seem to be a problem in rebuildTemplates.php Messages retrieved from the MediaWiki space work just fine unless they have any locality information that needs to be recorded. Since were running on hume and our configs do not state explicitly (nor should they) where any project lives; an entry of "localhost" is recorded for the {{SERVERNAME}} . We set/unset wgSitename & wgLang already to circumvent this.

I can see two ways around this. Short circuit any {{SEVERNAME}} call to do a lookup against a config/dns pair (bad hacky idea) or as Danny_B pointed use an api call for expand templates.

Resolving in favor of Bug 18977 as it reports on the same general issue and has more eyes on the bug.

  • This bug has been marked as a duplicate of bug 18977 ***