Refactored entry points to have uniform shutdown handling
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 20 May 2015 23:32:20 +0000 (16:32 -0700)
committerBryanDavis <bdavis@wikimedia.org>
Fri, 29 May 2015 20:40:46 +0000 (20:40 +0000)
commit016fd0b7762df17529cecc4a190a8734f99adc2a
tree8f8a6adbc7fedd27ecb5295cfa57784052549e5f
parent539182840d9677128d3d32cc2de7dab8a75cae03
Refactored entry points to have uniform shutdown handling

* Added doPreOutputCommit() and doPostOutputShutdown(),
  which most entry points just using the later
* Also fixed problem where text profiling did not show up
* Avoid calling triggerJobs() in the file streaming
  entry points

Bug: T100127
Bug: T100085
Change-Id: Ibc7e768fd483389a01847f08cdeba4058c853d3f
api.php
img_auth.php
includes/MediaWiki.php
includes/profiler/Profiler.php
includes/profiler/ProfilerStub.php
load.php
thumb.php