Page MenuHomePhabricator

Visiting a collection triggers an API request on every page load
Closed, ResolvedPublic

Description

When I visit http://localhost:8888/w/index.php/Special:Gather/by/Jdlrobson/89 ext.gather.special/init.js fires an API request. This shouldn't happen. It also make some bad assumptions about the URL - I'm seeing API requests to 'http://localhost:8888/w/api.php?action=query&format=json&list=lists&lstids=index%2Ephp&lstprop=label%7Cdescription%7Cpublic%7Cimage%7Ccount%7Cowner'

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson moved this task to In Analysis on the Gather Sprint Forward board.
Jdlrobson added a subscriber: Jdlrobson.

Change 206168 had a related patch set uploaded (by Jdlrobson):
Fix flag button, stop unnecessary API request

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

Change 206168 merged by jenkins-bot:
Fix flag button, stop unnecessary API request

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