Martineznovo has uploaded a new change for review.
https://gerrit.wikimedia.org/r/246407
Change subject: $wgUseGzip had no effect
......................................................................
$wgUseGzip had no effect
Since MediaWiki 1.24 a constructor is defined in HTMLFileCache,
so the constructor of the parent class, FileCacheBase, is no more
called, and $wgUseGzip is no more used. This fix explicitely calls
the parent constructor.
Backported since it's a simple fix
Bug: T103237
Change-Id: I80c1871881049b9618c23aa76e6665867ecec2aa
(cherry picked from commit ad0d70fd52f93eadce4cf085fc01cc13765a89df)
---
M includes/cache/HTMLFileCache.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/07/246407/1
diff --git a/includes/cache/HTMLFileCache.php b/includes/cache/HTMLFileCache.php
index 58ca2dc..d61da44 100644
--- a/includes/cache/HTMLFileCache.php
+++ b/includes/cache/HTMLFileCache.php
@@ -48,6 +48,7 @@
* @throws MWException
*/
public function __construct( $title, $action ) {
+ parent::__construct();
$allowedTypes = self::cacheablePageActions();
if ( !in_array( $action, $allowedTypes ) ) {
throw new MWException( 'Invalid file cache type given.'
);
--
To view, visit https://gerrit.wikimedia.org/r/246407
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I80c1871881049b9618c23aa76e6665867ecec2aa
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: REL1_24
Gerrit-Owner: Martineznovo <[email protected]>
Gerrit-Reviewer: Seb35 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits