Last modified: 2011-03-12 13:14:45 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12354 - Default search results to include namespace "Author"
Default search results to include namespace "Author"
Status: CLOSED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikisource.org/wiki/Special...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-19 17:00 UTC by John Mark Vandenberg
Modified: 2011-03-12 13:14 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2007-12-19 17:00:01 UTC
[[s:Special:Search/all:Shakespeare]] and [[s:Special:Search/all:John Milton]] produce the right fuzzy results, however [[s:Special:Search/Shakespeare]] and [[s:Special:Search/John Milton]] return undesirable results.

The search box should include at least the Author namespace in order to return suitable author pages, and should possibly include all namespaces in order to increase the relevance of author pages in the search results.

The user should be able to enter Shakespeare in the search field, press Go, and be taken to the first result of [[s:Special:Search/all:Shakespeare]], which is [[s:Author:William Shakespeare]].

Apparently this defined by $wgNamespacesToBeSearchedDefault .
Comment 1 John Mark Vandenberg 2007-12-19 17:09:10 UTC
Discussion of this has stemmed out of [[s:WS:S#Abatement of the 'Author' Code]] and this change has been proposed at [[s:WS:S#Default search to include Authors]].
Comment 2 JeLuF 2007-12-20 20:27:17 UTC
Please decide within your community whether you want to have just the author namespace added to wgNamespacesToBeSearchedDefault  or wether you want to add all (including talk??) namespaces. 
Comment 3 John Mark Vandenberg 2007-12-21 00:59:12 UTC
The community wants the default search results to include Author pages.

I mentioned "all" as a possible technical detail to ensure the desired results appear at the top, however I have done some further testing, and including other namespaces doesnt appear to improve the ranking of Author pages, so please consider that option discarded.
Comment 4 JeLuF 2007-12-26 19:05:07 UTC
Done.

Changed to:

'enwikisource' => array( 
-1 => 0, 
0 => 1, 1 => 0,  
2 => 0, 3 => 0, 
4 => 0, 5 => 0, 
6 => 0, 7 => 0, 
8 => 0, 9 => 0, 
10 => 0, 11 => 0, 
12 => 0, 13 => 0, 
102 => 1 ),
Comment 5 Antoine "hashar" Musso (WMF) 2011-03-12 13:14:45 UTC
Marking old verified bugs as closed

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links