/**
  * Override supports to shut off updates to Cirrus via the SearchEngine infrastructure.  Page
  * updates and additions are chained on the end of the links update job.  Deletes are noticed
  * via the ArticleDeleteComplete hook.
  * @param string $feature feature name
  * @return bool is this feature supported?
  */
 public function supports($feature)
 {
     switch ($feature) {
         case 'search-update':
         case 'list-redirects':
             return false;
         default:
             return parent::supports($feature);
     }
 }
Пример #2
0
	public function supports( $feature ) {
		switch ( $feature ) {
		case 'title-suffix-filter':
			return true;
		default:
			return parent::supports( $feature );
		}
	}