Cleanup wgStructuredChangeFiltersEnableLiveUpdate
Bug: T175766
Change-Id: I03db105bef6c3730221c2d00ce56afb2c78bf57c
*/
$wgStructuredChangeFiltersEnableExperimentalViews = false;
-/**
- * Whether to allow users to use the experimental live update feature in the new RecentChanges UI
- *
- * Temporary variable during development and will be removed.
- */
-$wgStructuredChangeFiltersEnableLiveUpdate = false;
-
/**
* Whether to enable RCFilters app on Special:Watchlist
*
'wgStructuredChangeFiltersEnableExperimentalViews',
$experimentalStructuredChangeFilters
);
- $out->addJsConfigVars(
- 'wgStructuredChangeFiltersEnableLiveUpdate',
- $this->getConfig()->get( 'StructuredChangeFiltersEnableLiveUpdate' )
- );
$out->addJsConfigVars(
'wgRCFiltersChangeTags',
$this->buildChangeTagList()
},
featureFlags: {
liveUpdate: mw.config.get( 'wgStructuredChangeFiltersLiveUpdateSupported' ) &&
- ( mw.config.get( 'wgStructuredChangeFiltersEnableLiveUpdate' ) || new mw.Uri().query.liveupdate )
+ ( mw.user.options.get( 'rcenhancedfilters' ) || new mw.Uri().query.liveupdate )
}
};
}( mediaWiki ) );