https://bugzilla.wikimedia.org/show_bug.cgi?id=61151

Moriel Schottlender <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]
          Component|General                     |MediaWiki integration
           Assignee|[email protected]            |[email protected]

--- Comment #2 from Moriel Schottlender <[email protected]> ---
After a bit of testing and fiddling around, there seems to be an issue with the
API call itself and its response. 

The API returns a list of matches by complete words, and it seems that it
considers the suffix as a word as well.

So, in my local wiki I have an image "image of space.jpg". 

API calls:

&gsrsearch=space.jpg --> 1 match
&gsrsearch=space --> 0 matches
&gsrsearch=image --> 1 matches
&gsrsearch=from --> 0 matches
&gsrsearch=image+from --> 1 match
&gsrsearch=image+from+space --> 0 matches

I am not sure if this is because of the specific query we use to search images
or if this is an artefact of the API itself. 

I'm conducting further research.

Robert, if you have time to test this, try to see if you get the image you are
looking for when typing "HighLevelDesign.png" or "WOM". Are you getting the
local image on those searches?

-- 
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

Reply via email to