Last modified: 2010-05-15 16:03:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T18051, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16051 - "srredirects" option to list=search doesn't appear to do anything
"srredirects" option to list=search doesn't appear to do anything
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.13.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-20 16:52 UTC by Russell Blau
Modified: 2010-05-15 16:03 UTC (History)
4 users (show)

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


Attachments

Description Russell Blau 2008-10-20 16:52:41 UTC
Compare http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=Bokurano&srwhat=text&srlimit=100&srredirects= and http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=Bokurano&srwhat=text&srlimit=100

Both queries return the same list of pages.  (I got the search string by using [[Special:RandomRedirect]] to find a word that does appear in at least one redirect page.)

It's not clear to me, at least, why the srredirects= option is considered useful anyway, since normally redirect pages are not expected to contain any text other than a link to their target page.
Comment 1 Brion Vibber 2008-10-20 20:03:40 UTC
The parameter may not be getting passed back to MWSearch properly, or it may not be applicable there.
Comment 2 Robert Stojnic 2008-10-20 20:09:40 UTC
Listing/unlisting redirects is not applicable for MWSearch, and is probably just ignored. (when a redirect to a certain title matches it will be highlighted on a search page in parenthesis after the title)

Comment 3 Roan Kattouw 2008-10-21 15:46:32 UTC
(In reply to comment #2)
> Listing/unlisting redirects is not applicable for MWSearch, and is probably
> just ignored. (when a redirect to a certain title matches it will be
> highlighted on a search page in parenthesis after the title)
> 

Marking as INVALID, based on this comment and the assumption that it means that MWSearch doesn't return redirect pages. Other search engines may still return redirects, of course.

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


Navigation
Links