The purpose of this modification is to ensure that every normal request
authorMr. E23 <e23@users.mediawiki.org>
Thu, 11 Dec 2003 20:16:34 +0000 (20:16 +0000)
committerMr. E23 <e23@users.mediawiki.org>
Thu, 11 Dec 2003 20:16:34 +0000 (20:16 +0000)
commitbdf73da2d2cd64cb90afb567b80aae7014c19871
tree4d81f85a0c7c4bca51352985af2842ba66d03e21
parentebed7292660ed2caeb4cadaf6c0031a91914f522
The purpose of this modification is to ensure that every normal request
execution starts and ends in wiki.phtml, giving the code a somewhat
more predictable flow.

OutputPage.php:
* Added disable() method to Output class.
* Replaced exit() call in checkLastModified() with "return true" (thereby
  altering its contract quite severly).
* reportTime() now only returns elapsed time, code with side effects
  moved to logProfilingData() in GlobalFunctions.php.

GlobalFunctions.php:
* Added function logProfilingData() which does most of what
  OutputPage->reportTime() used to do.

Article.php:
* Replaced exit() in checkLastModified() with "return true" (thereby altering
  its contract quite severly).
* replaced implicit exit in calls to checkLastModified() and tryFileCache()
  with returns.

LogPage.php:
* replaced implicit exit() with return in call to checkLastModified()

SpecialRecentchanges.php:
* replaced implicit exit() with return in call to checkLastModified()

wiki.phtml:
* Single call to logProfilingData() at the end of the request.
includes/Article.php
includes/GlobalFunctions.php
includes/LogPage.php
includes/OutputPage.php
includes/SpecialRecentchanges.php
wiki.phtml