Follow-up r85918:
authorHappy-melon <happy-melon@users.mediawiki.org>
Sat, 7 May 2011 14:01:49 +0000 (14:01 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sat, 7 May 2011 14:01:49 +0000 (14:01 +0000)
commit068f89d1088e1b15a5447794353118958843782a
tree468921e382b72f73327ee0e879fab483de6e45b1
parent84f048c68a4c5336975bc72a3fbb8ecbc910e5f4
Follow-up r85918:
* Clean up the ugly adding-then-removing-then-readding HTML <head> and <body> tags in DBConnectionError, deprecates MWException::htmlBodyOnly()
* Also deprecates MWException::htmlHeader(), removes code duplication since MWException::reportHTML() can safely call wfDie() and get an output format appropriate for the entry point
* Copy a couple of HTML headers (Cache-control, Pragma and Content-type) to the wfDie() implementation.
includes/Exception.php
includes/db/Database.php
index.php