https://bugzilla.wikimedia.org/show_bug.cgi?id=22034
Summary: Use wfClientAcceptsGzip() in wfGzipHandler
Product: MediaWiki
Version: 1.16-svn
Platform: All
OS/Version: All
Status: NEW
Keywords: need-review, patch
Severity: enhancement
Priority: Normal
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=6929)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=6929)
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l