Fix typo in Priority Hints static variable name
authorGilles Dubuc <gilles@wikimedia.org>
Mon, 4 Mar 2019 08:46:56 +0000 (09:46 +0100)
committerGilles Dubuc <gilles@wikimedia.org>
Mon, 4 Mar 2019 08:46:56 +0000 (09:46 +0100)
Bug: T216499
Change-Id: I444292afd1b8fcc81e7cf204f82ed512f53bcc85

includes/media/MediaTransformOutput.php

index 34f7e8c..87b4be7 100644 (file)
@@ -377,7 +377,7 @@ class ThumbnailImage extends MediaTransformOutput {
                if ( $wgPriorityHints
                        && !self::$firstNonIconImageRendered
                        && $this->width * $this->height > 100 * 100 ) {
-                       self::$firstBigImageRendered = true;
+                       self::$firstNonIconImageRendered = true;
 
                        $attribs['importance'] = 'high';
                }