Last modified: 2010-01-14 16:40:32 UTC
Created attachment 6929 [details] Use wfClientAcceptsGzip() in wfGzipHandler wfGzipHandler should use wfClientAcceptsGzip() instead of reimplement it itself. Attached patch does it, 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.
Applied in r60864. Thanks.
Reverted in r60871. Causes PHP Notice: Undefined index: HTTP_ACCEPT_ENCODING in GlobalFunctions.php on line 1175
Created attachment 6943 [details] Second version of the patch
Applied on r61054.