Page MenuHomePhabricator

Search overlay makes unnecessary requests for watch star status
Closed, ResolvedPublic


When logged in on English Wikipedia perform a search for "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" that doesn't match any results

An API request for:

is made. This is completely unnecessary.

It would be good if whilst fixing this bug we also created WatchApi that extends Api and removed a lot of the legacy code here...

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:00 AM
bzimport set Reference to bz63317.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card

Change 124281 had a related patch set uploaded by Theopolisme:
Search: Prevent unneeded API requests when there aren't any titles

Change 124281 merged by jenkins-bot:
Search: Prevent unneeded API request when there aren't any titles