Searched For: $wgNamespacesToBeSearchedDefault
or code readability and because they unnecessarily bloat the size of InitialiseSettings.php.
PDF file will show in the search results as it should.
The same process fails when you set $wgNamespacesToBeSearchedDefault
* add $wgNamespacesToBeSearchedDefault[NS_FILE]=true; in LocalSettingsphp
* try the … stica 6.1.3 (ea8d452) 07:24, 23. Mai 2022
n ]], we would request to allow the following NS: main (0), Template (10) and Modulo (828).
91%BD%E5%90%8D%E7%A9%BA%E9%97%B4%E5%A2%9E%E5%8A%A0Portal%E5%91%BD%E5%90%8D%E7%A9%BA%E9%97%B4
**Severity**: enhancement
**See Also**:
https://bugzilla.wikimedia.org/show_bug.cgi?id=44320
I have several wikis for which I declare $wgNamespacesToBeSearchedDefault as follows:
```
$wgNamespacesToBeSearchedDefault = array(
NS_MAIN => true,
NS_TA … 34.0 (ff037a9)
Git branch: REL1_34
PHP: 7.3.11
We would like to edit the configuration file "$wgNamespacesToBeSearchedDefault" at EO wiktionary. Change needed:
remove all … eeded.
https://www.mediawiki.org/wiki/Manual:$wgNamespacesToBeSearchedDefault
r, even though I added the following setting after the inclusion of Semantic MediaWiki
```
$wgNamespacesToBeSearchedDefault = [
NS_MAIN => true,
];
```
t … | special page "Search" ]] (public example)
st enable it.
--------------------------
**Version**: unspecified
**Severity**: enhancement
ki/ВікіНовини:Майдан#Enabling_Category-NS_in_wgNamespacesToBeSearchedDefault
llowing changes for Ukrainian Wikisource:
1) Add namespaces Автор and Індекс to $wgNamespacesToBeSearchedDefault
2) Add namespaces Автор, Індекс a … .BE.D1.80.D1.96.D0.B2_.D1.96.D0.BC.D0.B5.D0.BD
**Author:** `peter`
**Description:**
Please alter $wgNamespacesToBeSearchedDefault to exclude file and category namespaces—def … i/Wikivoyage:Travellers%27_pub#Search_defaults
lt on Portuguese Wikipedia.
I think it is only necessary to add something like 102 => 1 to $wgNamespacesToBeSearchedDefault.
--------------------------
**Version**: uns … r_a_casa%22_no_dom%C3%ADnio_anexo_(19set2011)
fically assigned entry in the array.
The next statement in DefaultSettings.php relating to $wgNamespacesToBeSearchedDefault has a
similar problem.
I think this stems f … a.wikimedia.org/wiki/Help:Link#Subpage_feature
ese Wikisource ($wgNamespacesWithSubpages) ;
* Add the custom namespace "Autor:" (102) into $wgNamespacesToBeSearchedDefault .
Best regards,
[[:m:User:555]]
----------- …
**Version**: unspecified
**Severity**: normal
Please add the namesspaces Seite: and Index: to $wgNamespacesToBeSearchedDefault for de.ws. Thanks.
------------------------- … riptorium&oldid=337347#Standardsuche_erweitern
p and project
--------------------------
**Version**: unspecified
**Severity**: enhancement
pacesToBeSearchedDefault
Bug: T358456
Change-Id: I97d9eb7a325e5472715f503e5ea3d0bac81697e7
pacesToBeSearchedDefault
Bug: T341708
Change-Id: Ibde9206d8f894e25b3cb6451639b4789246cb3d0
explain how to do this.
Bug: T337328
Change-Id: I8905478275063b14ab08472112136af28bafdd80
kijunior(106) are added.
Bug: T308373
Change-Id: Idc68c49f173249face03bd312c1750b038af1e76
Portal namespace (100)
Bug: T308393
Change-Id: Ia67aadc4768d3a33fd232ebb0c9cd3fb3a914c09
Update $wgNamespacesToBeSearchedDefault for Wikimania 2022
Bug: T295267
Change-Id: I854322a2c94f5eb2ade493bf104dc0c3d6df6ce2
Update $wgNamespacesToBeSearchedDefault for wikimania
Add namespace for 2021, remove … Id: I3fb8349fe59d3c1ce0778cbcfadf4208cc318609
ck up, let's try again.
Bug: T230797
Change-Id: I34006292b0a9e2eb935d8021b0f6f2f191737746
ert: T230847 occured...
Bug: T230797
Change-Id: I8a262af94496192e960c7e0909200bc3f4c868d9
remove unneeded entries
Bug: T230797
Change-Id: Ica385667afa831ba1d54e1894b99a56b6d8b10cd
acesToBeSearchedDefault
Bug: T219448
Change-Id: I80b67a7747368b78950ea4a1b14bdaecec163836
acesToBeSearchedDefault
Bug: T219455
Change-Id: I80b67a7747368b78950ea4a1b14bdaecec163836
acesToBeSearchedDefault
Bug: T219448
Change-Id: I80b67a7747368b78950ea4a1b14bdaecec163836
110 => Reconstruction:
Bug: T205198
Change-Id: I7ead987a97b22b366638936260843eb92bcd13bf
110 => Reconstruction:
Bug: T205198
Change-Id: I7ead987a97b22b366638936260843eb92bcd13bf
110 => Reconstruction:
Bug: T205198
Change-Id: I7ead987a97b22b366638936260843eb92bcd13bf
110 => Reconstruction:
Bug: T205198
Change-Id: I7ead987a97b22b366638936260843eb92bcd13bf
Default on frwiktionary
Bug: T205198
Change-Id: I7ead987a97b22b366638936260843eb92bcd13bf
ug: T191458
Bug: T194250
Bug: T195321
Change-Id: I5a531d8021f12c027d73b7744a7e3516c0961c71
S to wgNamespacesToBeSearchedDefault
Change-Id: I25d598a011fcb05c53605e25210f0381be038d22
ug: T191457
Bug: T194248
Bug: T195321
Change-Id: Idcd8d56063c1dfb9714bfddfe00da4141ab0ab64
hedDefault
Bug: T191457
Bug: T194248
Change-Id: Idcd8d56063c1dfb9714bfddfe00da4141ab0ab64
ug: T191458
Bug: T194250
Bug: T195321
Change-Id: I5a531d8021f12c027d73b7744a7e3516c0961c71
hedDefault
Bug: T191457
Bug: T194248
Change-Id: Idcd8d56063c1dfb9714bfddfe00da4141ab0ab64
hedDefault
Bug: T191458
Bug: T194250
Change-Id: I5a531d8021f12c027d73b7744a7e3516c0961c71
S to wgNamespacesToBeSearchedDefault
Change-Id: I25d598a011fcb05c53605e25210f0381be038d22
ug: T176906
Bug: T176908
Bug: T176907
Change-Id: Id806fae5d3bd4166be4bdeae58274d294e13f063
ug: T176906
Bug: T176908
Bug: T176907
Change-Id: Id806fae5d3bd4166be4bdeae58274d294e13f063
ug: T176906
Bug: T176908
Bug: T176907
Change-Id: Id806fae5d3bd4166be4bdeae58274d294e13f063
ug: T176906
Bug: T176908
Bug: T176907
Change-Id: Id806fae5d3bd4166be4bdeae58274d294e13f063
efault for enwikisource
Bug: T167511
Change-Id: I8b3e1defd13b297f3bb81cfc1b63c334a722e329
efault for enwikisource
Bug: T167511
Change-Id: I8b3e1defd13b297f3bb81cfc1b63c334a722e329
102, 104 respectively).
Bug: T114932
Change-Id: I518e1834c28a33de632adbce2bda0e93cfa7ebb9
102, 104 respectively).
Bug: T114932
Change-Id: I518e1834c28a33de632adbce2bda0e93cfa7ebb9
on is in the Phab task.
Bug: T114932
Change-Id: I518e1834c28a33de632adbce2bda0e93cfa7ebb9
Change enwikinews $wgNamespacesToBeSearchedDefault
Set Category to true and remove the current … d: If6bafe6a6c876cc4a89d24c675407ef6cf5dc3d7
Change enwikinews $wgNamespacesToBeSearchedDefault
Set Category to true and remove the current … d: If6bafe6a6c876cc4a89d24c675407ef6cf5dc3d7
Remove $wgNamespacesToBeSearchedDefault
Per Iec31628b6
Change-Id: I57b54a311b2b35718dce9131ce9d3499feda3ba8
Add Grants namespace to $wgNamespacesToBeSearchedDefault
This patch adds the Grants namespace on Meta-Wiki (200)
to $wgNamespacesToBeSearchedDefault per request. See
bug for URL with on-wiki con … d: I48f6cbba83b2beed1346fbf11a8ac337c81b31a2
Add Grants namespace to $wgNamespacesToBeSearchedDefault
This patch adds the Grants namespace on Meta-Wiki (200)
to $wgNamespacesToBeSearchedDefault per request. See
bug for URL with on-wiki con … d: I48f6cbba83b2beed1346fbf11a8ac337c81b31a2
and community consensus.
Bug: 49335
Change-Id: I94320b193b8c542f378058442d38ced34f009d13
and community consensus.
Bug: 49335
Change-Id: I94320b193b8c542f378058442d38ced34f009d13
nd 7 KB removed from total file size
Change-Id: I239a7f4f6fa53efa4d156212fd72f7357ff0d2e8
nd 7 KB removed from total file size
Change-Id: I239a7f4f6fa53efa4d156212fd72f7357ff0d2e8
nd 7 KB removed from total file size
Change-Id: I239a7f4f6fa53efa4d156212fd72f7357ff0d2e8
s of wgNamespacesToBeSearchedDefault
Change-Id: I3aab15a87aa0f470d27ef0c2268ee832e0cda691
* Bringing back $wgNamespacesWithSubpages and $wgNamespacesToBeSearchedDefault,
only used for the initial bootstrapping of namespaces
Use $wgNamespacesToBeSearchedDefault when no settings specified.
- Disabling memcached and switching to `CACHE_NONE` throughout does not help.
- Adding `$wgNamespacesToBeSearchedDefault[NS_FILE] = true` to LocalSettings does not help
// if searching on many always default to main
$ns = NS_MAIN;
}
This should respect $wgNamespacesToBeSearchedDefault
stallations other than Wikidata?
* Which parts if any are Wikidata-specific? Should they be?
ot include them in the sitemap response even if they are requested through query parameters.
ningul numerical keys, such as $wgNamespacesWithSubpages,
> // $wgNamespaceProtection, $wgNamespacesToBeSearchedDefault, etc.
> $out[] = $value;
> } elseif … n rest of the values also shifted by 1 place.
ages, as the subpage count and the link to Special:PrefixIndex in the page info are missing.
$wgNamespacesToBeSearchedDefault defines which namespaces are searched by defa … e "content pages" tab. That's misleading.
In $wgNamespacesToBeSearchedDefault I define content namespaces (text) and other … entNamespaces
* Add a new tab "Default" > Use $wgNamespacesToBeSearchedDefault
her by the server-folk or the wiki's Sysops.
I envisage a $wgSearchNamespaces to deprecate $wgNamespacesToBeSearchedDefault and $wgNamespacesToBeSearchedHelp in favour o … //bugzilla.wikimedia.org/show_bug.cgi?id=61053
arch=&fulltext=Ricerca&profile=translation&redirs=1
**See Also**:
{T24774}
{T30660}
{T23988}
ck namespaces and then hit the search button there which submits different form
- [ ] ...?
te.
**Benefits** (why should this be implemented?):
Make users not confused when searching.
scussion:
https://ms.wikisource.org/wiki/Wikisumber:Kedai_Kopi#Usul_ruang_nama_senarai_edisi
tps://integration.wikimedia.org/ci/job/mediawiki-quibble-apitests-vendor-php74/36609/console
ug. It is suspected the patch https://gerrit.wikimedia.org/r/508933 ({T151903}) causes this.
added to the default search on Punjabi wikipedia
** Portal
** Author
** Index
** Translation
, "Appendix:Cities in India by population"). It is in namespace 104, but that's included in $wgNamespacesToBeSearchedDefault.
However, if I [search for the page's exact … happens whether I'm logged in or logged out.
a: or Help: pages.
Thus, it may make sense to move Property: namespace to content index.
ry to transclude {{mediawikiwiki::Help:Navigation}} on a page called Help:Navigation
* Set `$wgNamespacesToBeSearchedDefault[NS_HELP] = true;`
* Initialize the search ind … earch for the transcluded content on the wiki.
some hook is found to add the tab again on Wikimedia projects, I think we must add Help to $wgNamespacesToBeSearchedDefault on all wikis: results from it will mostly be … space_in_default_search
**See Also**:
{T74196}
d all entity schemas (about 400 results), because all entity schemas have "E" in the title.
s of MediaWiki here.
While it is possible to set namespace to be searched by default with `$wgNamespacesToBeSearchedDefault` it is not possible to set a default for the … /includes/specials/SpecialSearch.php#L206-L257
es will take a little longer (weeks at minimum between informing, consensus, and responding)
EC%B6%94%EA%B0%80%EC%97%90_%EA%B4%80%EB%A0%A8%ED%95%9C_%EC%9D%98%EA%B2%AC_%EC%A1%B0%EC%82%AC
rence is controlled by:
- `$wgDefaultUserOptions`
- The current wiki's content language
- `$wgNamespacesToBeSearchedDefault`
- `$wgDefaultSkin`
- The `UserGetDefaultOpti … be `false` if the user has enabled auto-enrol?
=prev&oldid=131564443#Настройки_поиска_по_умолчанию_на_вики
the titles are long and seemingly random string characters? (It does not appear to respect $wgNamespacesToBeSearchedDefault settings). Our users tend to find these confu … tand you mentioned that CommentStreams forces $wgNamespacesToBeSearchedDefault to be enabled for the comment namespace so th … ch results might not be desirable).
Thanks!
Per discussion, please set $wgNamespacesToBeSearchedDefault as detailed in [[oldwikisource:User:Nemo_bis/ … #Search_Index_and_Author_namespaces_by_default
e issue** (include links if applicable):
* Configure additional NS to be searched, ex:
```
$wgNamespacesToBeSearchedDefault[NS_MODULE] = true;
$wgNamespacesToBeSearchedDefault[NS_MODULE_TALK] = true;
```
* Use keyword sea … [] ) {
return null;
}
```
**Severity**: enhancement
**See Also**:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50561
namespace
**Open questions:**
* Any potential unwanted side-effects we should be aware of?
If we decide to do it, namespace for Lexemes should be added to `$wgContentNamespaces` or `$wgNamespacesToBeSearchedDefault` for wikidata. This is recommended to do befo … required to move the data to different index.
, itself
Corresponding 2021 tasks for these items are
* T284235
* T284793
* T287197
Thanks
iki/Q4994250
except for EnWikibooks, at https://en.wikibooks.org/wiki/Help:Pages#Namespaces
alStatsAddExtra()`); it would be useful to also have it in the API, e.g. in `meta=siteinfo`.