Remove @todo in SpecialPage for making it into ContextSource
authoraude <aude.wiki@gmail.com>
Thu, 24 Jul 2014 13:48:37 +0000 (15:48 +0200)
committerLegoktm <legoktm.wikipedia@gmail.com>
Sat, 9 Aug 2014 01:12:26 +0000 (01:12 +0000)
commit287e641483e62c0e3070d3f35601f5c62f41eaf7
treeb90f0d6fa494bb340d35039429d1c8ea937a0bb6
parentf479ccf7314b4c831c679815d84c01210bd31607
Remove @todo in SpecialPage for making it into ContextSource

It is better to have $context as a member variable,
which can be accessed, $special->getContext(), as needed
with a composition approach instead of inheritance.

Having SpecialPage directly inherit makes testing code
a bit more challenging and messy.

Change-Id: I5e5587cbbc9abfb2fa4ab1e7603cd2ddcad1b96d
includes/specialpage/SpecialPage.php