Various cleanups to MediaWiki::preOutputCommit
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 18 Jun 2019 10:46:40 +0000 (11:46 +0100)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 18 Jun 2019 10:47:40 +0000 (11:47 +0100)
commitf71c22df0adf8ce0410f52c9d82b5775b67cb5d9
tree9981bc4b8b6d8e6a2f3621d01ae4ff06185c4f9d
parenta50fb366834ced0ac78cbb836167d5589b9ac6a3
Various cleanups to MediaWiki::preOutputCommit

Do not send headers if they were already flushed. Split off some
chronology protection logic into a separate private method. Use
ILBFactory over LBFactory in a few places. Also, update various
code comments.

Bug: T225655
Change-Id: Iecb574e11d8ba09147ff7b84ad57d8845069ba99
includes/MediaWiki.php