Revert serie of "EditPage: Use context instead of globals"
authorAntoine Musso <hashar@free.fr>
Tue, 30 Aug 2016 12:46:38 +0000 (14:46 +0200)
committerAntoine Musso <hashar@free.fr>
Tue, 30 Aug 2016 12:48:51 +0000 (14:48 +0200)
commit5ce43a98613303fac6bad6e6c7663c478f726cd2
tree556ea88fb54682d65effdacbbb2eabd54482b4f1
parent46c7453ddb593a124a307a7a3944c3fcf0983d29
parent6283d6d1ee00788244cb422d6b30421404346fb6
Revert serie of "EditPage: Use context instead of globals"

Reverts:

89cade EditPage: Use context instead of globals (4/4)
27fd110 EditPage: Use context instead of globals (3/4)
afa6307 EditPage: Use context instead of globals (2/4)
f2f8101 EditPage: Use context instead of globals (1/4)

LiquidThreads is still using globals when invoking EditPage. That can be
reproduced by attempting to reply to a message which eventually causes
EditPage::importFormData() to errors out with:

ErrorPageError from includes/EditPage.php:
The content format json is not supported by the content model wikitexte.

Bug: T143889
Change-Id: I593450971e4a4a31c88df49334859508d1fd006c
includes/EditPage.php