**Setup and configuration**
- MediaWiki | 1.29.2 (3869ac0) 08:59, 15 November 2017
- PHP | 5.6.30-0+deb8u1 (apache2handler)
- MariaDB | 10.0.33-MariaDB-1~jessie
- Semantic MediaWiki | 3.0.0-alpha (e48a508) 01:18, 15 November 2017
**Issue**
Semantic MediaWiki standardly includes the "Concept" and "Property" namespaces as namespaces to be searched by default ([[ https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/88783002b5fdf11e6046bdbaa2888f747634372d/src/NamespaceManager.php#L242-L249 | NamespaceManager.php ]]). There are however cases where you would like to remove these two namespaces from the to be searched by default array. However, even though I added the following setting after the inclusion of Semantic MediaWiki
```
$wgNamespacesToBeSearchedDefault = [
NS_MAIN => true,
];
```
the standard search is still also enabled for namespaces "Concept" and "Property" for anonymous users. This setting is however respected for logged in users.
Originally reported for [[ https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/2837 | Semantic MediaWiki on GitHub ]].
**Steps to reproduce**
Use the "advanced" profile on [[ https://sandbox.semantic-mediawiki.org/w/index.php?title=Sp%C3%A9cial:Recherche&profile=advanced&search=&fulltext=1 | special page "Search" ]] (public example)