From 21a12a96d05c23a4b44d9c2c72b053cd9f1ee85b Mon Sep 17 00:00:00 2001 From: Stephane Bisson Date: Thu, 7 Dec 2017 08:26:02 -0500 Subject: [PATCH] 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 --- includes/specialpage/ChangesListSpecialPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); -- 2.20.1