Page MenuHomePhabricator

Message.php should accept a Config object
Open, Needs TriagePublic

Description

Message.php is using the global $wgForceUIMsgAsContentMsg in two places and needs a strategy for use of config object for this global.

Possible way: Cache the config object in setContext and use it. May give warnings for using without context in the two places

Event Timeline

Umherirrender raised the priority of this task from to Needs Triage.
Umherirrender updated the task description. (Show Details)
Umherirrender added a subscriber: Umherirrender.

Possible way: Cache the config object in setContext and use it. May give warnings for using without context in the two places

Sounds like a good plan to me.

Krinkle renamed this task from Message.php needs a config object to Message.php should accept a Config object.May 8 2019, 2:46 PM