Require $key in msg() functions
authorAmir Sarabadani <ladsgroup@gmail.com>
Mon, 12 Jun 2017 09:53:51 +0000 (14:23 +0430)
committerAmir Sarabadani <ladsgroup@gmail.com>
Wed, 14 Jun 2017 08:56:27 +0000 (13:26 +0430)
commitd062560f241ccd4f04aa2dbfe1d20b83d4cdd3ad
treed695fb03968560a253cbca01f3fcfea3873b47a0
parente93155cf60923f852eb315350be20a29681a9d08
Require $key in msg() functions

Note: calling msg() with no parameter was never supported,
doing this on a RequestContext for example would result in:
PHP Warning:  Missing argument 1 for wfMessage() ...followed
by a bunch of fallout.

So this patch only formally declares what was already a
requirement in reality.

Change-Id: I1864afb8bcc641698689828914949a06506d8f3a
includes/actions/Action.php
includes/context/ContextSource.php
includes/context/DerivativeContext.php
includes/context/IContextSource.php
includes/context/RequestContext.php
includes/resourceloader/ResourceLoaderContext.php
includes/specialpage/SpecialPage.php