Page MenuHomePhabricator

Popups not working on sysop-it.wikipedia because REST endpoint is returning a 500
Closed, ResolvedPublic


On the newly created, popups aren't working. If you hover on a link to make the popup appear, it will contain the text

There was an issue displaying this preview

And by looking at the browser console, I see a 500 error for the url

Where PAGETITLE is the title of an existing page. By examining the request, I see that the actual response is

{"type":"","title":"Site info fetch failed.","method":"get","detail":"SiteInfo is unavailable for","uri":"/"}

I'm leaving it up to sysadmins to decide what to do. Configuring the REST endpoint would be good, but OTOH, we don't really need popups, so disabling them is also fine. Whatever is easier/quicker to do will work. Thanks!

Event Timeline

The easiest thing would be to set wmgUsePopups to false :-). I tried to see what happens when I use similar URL at private wikis I have access to, and throws:

{"type":"","title":"Not found.","method":"get","uri":"/"}

Change 661788 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] sysop_itwiki: Set wmgUsePopups to false

Change 661788 merged by jenkins-bot:
[operations/mediawiki-config@master] sysop_itwiki: Set wmgUsePopups to false

Mentioned in SAL (#wikimedia-operations) [2021-02-04T19:35:39Z] <urbanecm@deploy1001> Synchronized wmf-config/InitialiseSettings.php: 968ae8b69d7f743f0e589ba3568de36bc462c7d6: sysop_itwiki: Set wmgUsePopups to false (T259480) (duration: 01m 06s)

Urbanecm claimed this task.