... so it can be used by ORES to know if it's
enabled on a specific page without duplicating
the checks of global variables, user preferences,
and request parameters.
Bug: T174725
Change-Id: I1cb402559edb242b40a77f509480560f0636264d
*
* @return bool
*/
- protected function isStructuredFilterUiEnabled() {
+ public function isStructuredFilterUiEnabled() {
return $this->getUser()->getOption( 'rcenhancedfilters' );
}
}
}
- protected function isStructuredFilterUiEnabled() {
+ public function isStructuredFilterUiEnabled() {
return parent::isStructuredFilterUiEnabled()
&& ( $this->getConfig()->get( 'StructuredChangeFiltersOnWatchlist' )
|| $this->getRequest()->getBool( 'rcfilters' ) );