Page MenuHomePhabricator

404 for wikitech chart from rest_v1/page/graph/png
Closed, ResolvedPublic

Description

Page in question https://wikitech.wikimedia.org/wiki/WMDE/Wikidata/Growth#Edit_rate

Edit creating chart: https://wikitech.wikimedia.org/w/index.php?title=WMDE/Wikidata/Growth&diff=1843411&oldid=1843409

Chart request in question: https://wikitech.wikimedia.org/api/rest_v1/page/graph/png/WMDE%2FWikidata%2FGrowth/0/0c21ebed7ef8ca0ae7d2c179366f2a4d2d0ded7d.png

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/rest_v1/page/graph/png/WMDE/Wikidata/Growth/0/0c21ebed7ef8ca0ae7d2c179366f2a4d2d0ded7d.png was not found on this server.</p>
</body></html>

Event Timeline

wikitech.wikimedia.org is not a "normal" Wikimedia wiki. It is hosted outside of the main Wikimedia wiki cluster and has its database in a non-standard place as well. Because of this, most services have to be custom configured to work with wikitech. It is not surprising to me that there is no Graphoid service setup there.

mobrovac subscribed.

As @bd808 points out, wikitech is a special wiki, and because of its set-up outside the main WM cluster, RESTBase is not available for it. Hence, any wikitech.wikimedia.org/api/rest_v1/-prefixed URL will 404.

As @bd808 points out, wikitech is a special wiki, and because of its set-up outside the main WM cluster, RESTBase is not available for it. Hence, any wikitech.wikimedia.org/api/rest_v1/-prefixed URL will 404.

Can we turn the features off then that require restbase? or remove the config? or something?

Can we turn the features off then that require restbase? or remove the config? or something?

The graph extension should auto-detect this scenario, but it apparently doesn't. I'd advise filing a task for it.

Addshore claimed this task.

Going to reopen and assign myself then so I can create the correct ticket when I find the time

Addshore triaged this task as Lowest priority.Nov 6 2019, 12:15 PM

visual editor throws 404 errors now when editing in wikitech, for the same reason I think.

see https://usercontent.irccloud-cdn.com/file/ujy1Mj5l/Parsoid%2FRestBase%20404

visual editor throws 404 errors now when editing in wikitech, for the same reason I think.

see https://usercontent.irccloud-cdn.com/file/ujy1Mj5l/Parsoid%2FRestBase%20404

That is a regression. I wonder if this has something to do with the switch to the php parsoid? Probably worth a separate bug in any case.

Addshore moved this task from Unsorted 💣 to Watching 👀 on the User-Addshore board.
TheDJ claimed this task.
TheDJ subscribed.

Graphoid is gone, so this is no longer an issue.