Follow-up 31be7d0: send tags list if experimental mode is disabled
authorRoan Kattouw <roan.kattouw@gmail.com>
Tue, 1 Aug 2017 21:32:51 +0000 (14:32 -0700)
committerCatrope <roan@wikimedia.org>
Tue, 1 Aug 2017 22:52:18 +0000 (22:52 +0000)
Change-Id: Ia9f44ed47d79f02c5d14ce756133e64c7ae926f9

includes/specials/SpecialRecentchanges.php

index 1f8e3c5..157c3ed 100644 (file)
@@ -189,12 +189,10 @@ class SpecialRecentChanges extends ChangesListSpecialPage {
                                'wgStructuredChangeFiltersEnableLiveUpdate',
                                $this->getConfig()->get( 'StructuredChangeFiltersEnableLiveUpdate' )
                        );
-                       if ( $experimentalStructuredChangeFilters ) {
-                               $out->addJsConfigVars(
-                                       'wgRCFiltersChangeTags',
-                                       $this->buildChangeTagList()
-                               );
-                       }
+                       $out->addJsConfigVars(
+                               'wgRCFiltersChangeTags',
+                               $this->buildChangeTagList()
+                       );
                }
        }