From: Stephane Bisson Date: Thu, 7 Dec 2017 13:26:02 +0000 (-0500) Subject: WLFilters: Correctly check if RCFilters should be enabled on WL X-Git-Tag: 1.31.0-rc.0~1259^2 X-Git-Url: http://git.cyclocoop.org/%22.%24redirect_annul.%22?a=commitdiff_plain;h=21a12a96d05c23a4b44d9c2c72b053cd9f1ee85b;p=lhc%2Fweb%2Fwiklou.git WLFilters: Correctly check if RCFilters should be enabled on WL Side-effect of Ib933de3a3f9e876924386e80f315506f60f8af54 ChangesListSpecialPage#isStructuredFilterUiEnabled needs to call static::checkStructuredFilterUiEnabled() to reach the implementation from SpecialWatchlist. Bug: T182318 Change-Id: I1e90d7e29f9e7fc5acece6466ed818210058dd2c --- diff --git a/includes/specialpage/ChangesListSpecialPage.php b/includes/specialpage/ChangesListSpecialPage.php index 6cb56d4fc6..b6d1028778 100644 --- a/includes/specialpage/ChangesListSpecialPage.php +++ b/includes/specialpage/ChangesListSpecialPage.php @@ -1778,7 +1778,7 @@ abstract class ChangesListSpecialPage extends SpecialPage { return true; } - return self::checkStructuredFilterUiEnabled( + return static::checkStructuredFilterUiEnabled( $this->getConfig(), $this->getUser() );