Fix Maintenance::output when called very early
authorMarius Hoch <hoo@online.de>
Thu, 4 Jan 2018 23:19:55 +0000 (00:19 +0100)
committerMarius Hoch <hoo@online.de>
Thu, 4 Jan 2018 23:19:55 +0000 (00:19 +0100)
commit803a29127ce02734ab2dd83fff2cf716c98eedad
treefcd9a4b9d2e1336590b14dbc9098da0ca8b67312
parentd3d8c3fa855e6231e34772bfe6cd7284813ddc92
Fix Maintenance::output when called very early

If a maintenance script is called with --help (or without
required args), this is currently failing, as MediaWikiServices
is only loaded after Maintenance::setup is initially called.
Follows 336454104d1249439e3ff97746de69c5e7b4a5f9.

Change-Id: Ied283d362675b6b98bd3144132a240b432998991
maintenance/Maintenance.php