Page MenuHomePhabricator

Allow constructing a Message directly from a MessageSpecifier
Closed, ResolvedPublic

Description

There's no reason code that has a MessageSpecifier should have to do

$message = new Message( $specifier->getKey(), $specifier->getParams() );

when it's easy to allow for

$message = new Message( $specifier );

Event Timeline

Anomie created this task.Mar 9 2015, 4:29 PM
Anomie claimed this task.
Anomie raised the priority of this task from to Needs Triage.
Anomie updated the task description. (Show Details)
Anomie added a project: MediaWiki-Core-Team.
Anomie moved this task to Needs Review/Feedback on the MediaWiki-Core-Team board.
Anomie added a subscriber: Anomie.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 9 2015, 4:29 PM

Change 195293 had a related patch set uploaded (by Anomie):
Allow constructing a Message from a MessageSpecifier

https://gerrit.wikimedia.org/r/195293

Change 195293 merged by jenkins-bot:
Allow constructing a Message from a MessageSpecifier

https://gerrit.wikimedia.org/r/195293

Anomie closed this task as Resolved.Jul 22 2015, 7:56 PM