Page MenuHomePhabricator

Share siteinfo request for multiple instances of suggestion widget
Closed, ResolvedPublic

Description

https://www.mediawiki.org/wiki/Special:ComparePages requests the URL https://www.mediawiki.org/w/api.php?action=query&format=json&meta=siteinfo&siprop=interwikimap four times on loading.

Expected behavior: The multiple instances of the suggestion widget should share one siteinfo request.

Event Timeline

Fomafix raised the priority of this task from to Needs Triage.
Fomafix updated the task description. (Show Details)
Fomafix added a subscriber: Fomafix.

Change 266750 had a related patch set uploaded (by Gerrit Patch Uploader):
mw.widgets.TitleWidget.js: Share interwikiPrefixes between multiple instances

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

Fomafix set Security to None.

Change 266750 merged by jenkins-bot:
mw.widgets.TitleWidget.js: Share interwikiPrefixes between multiple instances

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