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 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 subscribed.

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