Page MenuHomePhabricator

404 for wikitech chart from rest_v1/page/graph/png
Open, LowestPublic

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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptThu, Oct 31, 11:50 AM

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 closed this task as Invalid.Tue, Nov 5, 11:24 AM
mobrovac added a subscriber: mobrovac.

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 reopened this task as Open.Wed, Nov 6, 12:15 PM
Addshore claimed this task.
Restricted Application added a project: User-Addshore. · View Herald TranscriptWed, Nov 6, 12:15 PM

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.Wed, Nov 6, 12:15 PM