WLFilters: Correctly check if RCFilters should be enabled on WL
authorStephane Bisson <sbisson@wikimedia.org>
Thu, 7 Dec 2017 13:26:02 +0000 (08:26 -0500)
committerStephane Bisson <sbisson@wikimedia.org>
Thu, 7 Dec 2017 13:26:02 +0000 (08:26 -0500)
Side-effect of Ib933de3a3f9e876924386e80f315506f60f8af54

ChangesListSpecialPage#isStructuredFilterUiEnabled needs
to call static::checkStructuredFilterUiEnabled() to reach
the implementation from SpecialWatchlist.

Bug: T182318
Change-Id: I1e90d7e29f9e7fc5acece6466ed818210058dd2c

includes/specialpage/ChangesListSpecialPage.php

index 6cb56d4..b6d1028 100644 (file)
@@ -1778,7 +1778,7 @@ abstract class ChangesListSpecialPage extends SpecialPage {
                        return true;
                }
 
-               return self::checkStructuredFilterUiEnabled(
+               return static::checkStructuredFilterUiEnabled(
                        $this->getConfig(),
                        $this->getUser()
                );