EditPage: Don't use $wgOut
authorKunal Mehta <legoktm@member.fsf.org>
Tue, 5 Sep 2017 05:52:46 +0000 (22:52 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Tue, 5 Sep 2017 06:31:53 +0000 (23:31 -0700)
commitaaea7898582842d24adaf1838c6e3c2dfd59c245
tree45e8eb81d14bda65d56777c0961a70bd48a67a77
parent3afdb703b6e5f6f6a6b01327b0b06d4436a4c200
EditPage: Don't use $wgOut

Use $this->context->getOutput() instead everywhere, except in one static
function, that will be dealt with later.

For the most part OutputPage is a singleton, so this should affect very
little.

Bug: T144366
Change-Id: I59699a47e55f281284c5e96676cfe7bc0c499e28
includes/EditPage.php