Page MenuHomePhabricator

ApiQuery iwurl conflicts with prop=iwlinks iwurl
Open, LowestPublic


Consider, for example, the following queries. These unexpectedly return different results. The first produces a warning and gives interwiki results, while the other two produce a warning and an error, giving no results at all. In all of these cases, both the warning and the error are inappropriate if we consider that the iwurl parameter was targeted towards ApiQuery.|Albert%20Einstein&prop=iwlinks&iwprop=url

This is definitely an edge (corner?) case, but conceivably, a bot might be provided an arbitrary list of titles such as the above and then try to run this type of query on them. Given that iwlinks' iwurl parameter is already deprecated, perhaps it would be best to remove it sooner rather than later.

Event Timeline

RobinHood70 raised the priority of this task from to Lowest.
RobinHood70 updated the task description. (Show Details)
RobinHood70 subscribed.

I don't see a problem with doing this. Looking through feature usage logs over the past month, it appears there are only two things hitting this:

The first should be easy enough to fix. For the second, someone could drop an email to the address on the contact page of that site.