(bug 22034) Use wfClientAcceptsGzip() in wfGzipHandler. Patch by Platonides.
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sat, 9 Jan 2010 18:10:11 +0000 (18:10 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sat, 9 Jan 2010 18:10:11 +0000 (18:10 +0000)
commit29e47fa3664c120939e2f5c772816f260dfcc2fe
tree7b8d1ea864fff1a79d97e8551be17493ef807a9d
parent586be1e1eb45a76d5992dc2a9b707e91d92bf4f5
(bug 22034) Use wfClientAcceptsGzip() in wfGzipHandler. Patch by Platonides.

wfGzipHandler should use wfClientAcceptsGzip() instead of reimplementing it. Patch does this and removes the $wgUseGzip check on wfClientAcceptsGzip() since HTMLFileCache (the only wfClientAcceptsGzip() user) already checked that before calling it. This way $wgUseGzip stays applying only for file cache, and $wgDisableOutputCompression for output handler.
RELEASE-NOTES
includes/GlobalFunctions.php
includes/OutputHandler.php