Page MenuHomePhabricator

Filter changes trigger multiple API calls
Closed, ResolvedPublic

Description

Changing a filter triggers 2 API calls.
While the first one is canceled immediately, still, it has submitted a useless request to the server.
1 action resulting in multiple code trajectories (where one ends up canceling out the other) might also indicate inconsistencies. It might be totally fine, but it's worth looking into.

Acceptance criteria

  • Changing a filter only triggers 1 API request

Event Timeline

Change 667124 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@master] Only execute 1 API call when filters change

https://gerrit.wikimedia.org/r/667124

Change 667124 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Only execute 1 API call when filters change

https://gerrit.wikimedia.org/r/667124

Etonkovidova added a subscriber: Etonkovidova.

Checked commons wmf.34.