$this->active = 'all';
elseif( $this->namespaces === SearchEngine::defaultNamespaces() )
$this->active = 'default';
- elseif( $this->namespaces === SearchEngine::defaultAndProjectNamespaces() )
- $this->active = 'withproject';
elseif( $this->namespaces === SearchEngine::projectNamespaces() )
$this->active = 'project';
else
$out .= $this->makeSearchLink( $imageTextForm, array( NS_IMAGE ) , $m, $tt );
}
$out .= $sep;
-
+
+ /*
$m = wfMsg( 'searchprofile-articles-and-proj' );
$tt = wfMsg( 'searchprofile-project-tooltip',
implode( ', ', SearchEngine::namespacesAsText( SearchEngine::defaultAndProjectNamespaces() ) ) );
$out .= $this->makeSearchLink( $bareterm, SearchEngine::defaultAndProjectNamespaces(), $m, $tt );
}
$out .= $sep;
+ */
$m = wfMsg( 'searchprofile-project' );
$tt = wfMsg( 'searchprofile-project-tooltip',
'searchmenu-prefix' => '[[Special:PrefixIndex/$1|Browse pages with this prefix]]',
'searchmenu-help' => '[[{{MediaWiki:Searchhelp-url}}|{{int:help}}]]?', # do not translate or duplicate this message to other languages
'searchprofile-articles' => 'Content pages',
-'searchprofile-articles-and-proj' => 'Content pages & Project',
-'searchprofile-project' => 'Project',
+'searchprofile-articles-and-proj' => 'Content & project pages',
+'searchprofile-project' => 'Project pages',
'searchprofile-images' => 'Files',
'searchprofile-everything' => 'Everything',
'searchprofile-advanced' => 'Advanced',