https://bugzilla.wikimedia.org/show_bug.cgi?id=29748
Web browser: ---
Bug #: 29748
Summary: API search prefix support
Product: MediaWiki
Version: 1.17
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Created attachment 8754
--> https://bugzilla.wikimedia.org/attachment.cgi?id=8754
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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l