Page MenuHomePhabricator

MediaWiki:Pageinfo-header graphs not displaying on ruwiki, "unknown error"
Open, Needs TriagePublic

Event Timeline

MBH created this task.Mon, Sep 9, 7:59 PM
Restricted Application added a project: Analytics. · View Herald TranscriptMon, Sep 9, 7:59 PM
Restricted Application added subscribers: Base, Aklapper. · View Herald Transcript
SerDIDG added a subscriber: SerDIDG.Mon, Sep 9, 9:01 PM
MusikAnimal added a subscriber: MusikAnimal.

I cannot explain why this broke, maybe a change to how that interface message is parsed? It is odd that nothing in Pageinfo-header is showing up. I did a quick test on test.wikipedia.org, and Pageinfo-header is at least showing up (I did not try adding the graphs and such).

MediaWiki:Pageinfo-footer is the more common place for external links. You might try using that instead, just to see if it works.

At any rate, I'm quite certain this has nothing to do with the Pageviews-API, Tool-Pageviews, PageViewInfo, or the Graphs extension. Filing this under MediaWiki-Interface for now.

MusikAnimal renamed this task from Pageview graphs doesn't work on ruwiki to MediaWiki:Pageinfo-header not displaying on ruwiki.Tue, Sep 10, 2:19 AM
Aklapper renamed this task from MediaWiki:Pageinfo-header not displaying on ruwiki to MediaWiki:Pageinfo-header graphs not displaying on ruwiki, "unknown error".Tue, Sep 10, 5:22 AM
Vort added a subscriber: Vort.Tue, Sep 10, 7:50 AM

@MusikAnimal what external links are you talking about? Problem is not in external links.
And Pageinfo-header is showing (look at "За последние 30 дней" string).
Bug is just in displaying of charts. This image fails to load:
https://ru.wikipedia.org/api/rest_v1/page/graph/png/Москва/0/b22a95b9d24f05183cbb9bfab90772bb58c13a8c.png
(error: {"type":"https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error","method":"get","uri":"/ru.wikipedia.org/v1/page/graph/png/%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B0/0/b22a95b9d24f05183cbb9bfab90772bb58c13a8c.png"})
While this one is fine:
https://ru.wikipedia.org/api/rest_v1/page/graph/png/Участник%3AVort%2FЧерновик/0/b22a95b9d24f05183cbb9bfab90772bb58c13a8c.png

SerDIDG added a comment.EditedTue, Sep 10, 11:49 PM

I think this is some kind of caching issue. Because here https://ru.wikipedia.org/wiki/MediaWiki:Pageinfo-header, before i done my test edit, charts was broken too. Another question, why on some namespaces charts are drawn in img tag, while on other namespaces in canvas? Example of canvas - https://ru.wikipedia.org/w/index.php?title=Участник:Serhio_Magpie/Черновик&oldid=102097993.

Another examples of broken charts in eswiki:
https://es.wikipedia.org/wiki/Discusión:Novela_rosa
https://es.wikipedia.org/wiki/Discusión:Rosalía_de_Castro
https://es.wikipedia.org/wiki/Discusión:George_Michael
And again, after editing or purging the cache they appear normally.

@MusikAnimal what external links are you talking about? Problem is not in external links.
And Pageinfo-header is showing (look at "За последние 30 дней" string).
Bug is just in displaying of charts. This image fails to load:
https://ru.wikipedia.org/api/rest_v1/page/graph/png/Москва/0/b22a95b9d24f05183cbb9bfab90772bb58c13a8c.png

Sorry, I meant the everything in Pageinfo-header (which includes some external links at the bottom). When I go to https://ru.wikipedia.org/w/index.php?title=TAM_(электросвязь)&action=info for instance I don't see any of the content from https://ru.wikipedia.org/wiki/MediaWiki:Pageinfo-header.

But anyway, sounds like something indeed is wrong with the graphs, specifically? I think in that case this should be tagged with Graphs. It might also have something to do with the RESTBase-API. I'm just fairly certain that the Pageviews-API is not the culprit.