Last modified: 2011-08-29 22:20:43 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 T31748, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29748 - Add prefix support to ApiQuerySearch (keywords/namespaces)
Add prefix support to ApiQuerySearch (keywords/namespaces)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.17.x
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-06 23:15 UTC by Derk-Jan Hartman
Modified: 2011-08-29 22:20 UTC (History)
6 users (show)

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


Attachments
add two transforms applied in special:search to apiquerysearch (536 bytes, patch)
2011-07-06 23:15 UTC, Derk-Jan Hartman
Details

Description Derk-Jan Hartman 2011-07-06 23:15:19 UTC
Created attachment 8754 [details]
add two transforms applied in special:search to apiquerysearch

Compare

http://en.wikipedia.org/w/index.php?title=Special:Search&search=prefix:Wikipedia+talk:WikiProject+Spam&fulltext=Search

http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=prefix:Wikipedia+talk:WikiProject+Spam&srwhat=text&srnamespace=5

The latter API doesn't find anything, while the GUI finds all the prefixed files.
Cause not really known. No Lucene backend to test with.

Might be due to implementation diff between specials/SpecialSearch.php and api/ApiQuerySearch.php See also diff
Comment 1 Brion Vibber 2011-07-07 00:43:35 UTC
Comment on attachment 8754 [details]
add two transforms applied in special:search to apiquerysearch

marking patch as patch to make it viewable inline
Comment 2 Sam Reed (reedy) 2011-07-26 15:11:27 UTC
r93191

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


Navigation
Links