BaseTemplate: Make getMsg() calling pattern more like wfMessage()
authorKunal Mehta <legoktm@member.fsf.org>
Fri, 14 Oct 2016 01:44:42 +0000 (18:44 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Fri, 14 Oct 2016 01:44:42 +0000 (18:44 -0700)
commitf50b47fdd43ead4b04cc1788fff973df81599575
treefb4ac094f439a3665a7bc4d236b75465f1a7fe15
parentf43fa6f4f0e2cb60b8543daad661b48a3e0653a9
BaseTemplate: Make getMsg() calling pattern more like wfMessage()

wfMessage() and IContextSource::msg() allow you to pass parameters to
the message in the initial function call, which is often more convenient
for developers. Support that in BaseTemplate::getMsg() too for
standardization.

Change-Id: I2488234f431be5bab00ca4366d864c84d7ff9e03
includes/skins/BaseTemplate.php