Talk:Pageviews Analysis

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Pageviews Analysis – DocumentationFeedback forumIssue trackerGitHubtranslatewiki.net#wikimedia-cloudsconnect

Welcome to the Pageviews Analysis feedback forum

This is the forum to provide feature requests, bug reports, and general feedback for the Pageviews Analysis suite of tools.

Some key notes when making a post:

Shortcut:
WT:PAGEVIEWS

Pageviews bug report[edit]

Pageviews is not working properly. mellebga —The preceding unsigned comment was added by Mellebga (talk)

@Mellebga: I'm going to need more information. What exactly isn't working? Can you give me a link? What browser and operating system are you using? MusikAnimal (WMF) (talk) 14:51, 19 June 2018 (UTC)
Verwenden Sie Deutsch, wenn Sie bevorzugen :) MusikAnimal (WMF) (talk) 15:40, 19 June 2018 (UTC)
You can see the problem when you try to show the pageviews (German=Abrufstatistik) for the German WP-contribution for Rizin. mellebga —The preceding unsigned comment was added by Mellebga (talk)
@Mellebga: (Entschuldigung für das schlechte Deutsch) Für mich geht das. Was genau ist falsch? Siehst du einen Fehler? Was sagt es? Siehst du das Problem für jede Seite oder nur für Rizin? Welchen Browser und welches Betriebssystem benutzt du? Beispielsweise, "Firefox, Windows 10". Danke!

Nicht verwandt, unterschreiben Sie Ihren Kommentar mit ~~~~. Sehen de:Hilfe:Signatur#Unterschreiben für weitere Informationen. MusikAnimal (WMF) (talk) 17:49, 19 June 2018 (UTC)

Pageviews Analysis has not been drawing any graphs for the last few days. Here is one example of a query which won't render Larsnooden (talk) 07:14, 20 June 2018 (UTC)

@Larsnooden and Mellebga: From the bug report below it seems this was an issue with Internet Explorer. Are you all using IE, too? If so it should be fixed now. Please confirm :) Moving forward, it would be very helpful to say what browser (e.g. Chrome, Internet Explorer) and operating system (e.g. Windows, MacOS) you're using when reporting bugs. This is true for all software on the internet, not just Pageviews Analysis. Anyway sorry it took so long to fix the bug! Kind regards, MusikAnimal (WMF) (talk) 17:29, 20 June 2018 (UTC)

Hey. Hey. Hey. Let's keep it polite and avoid the accusations. ;) No, I do not use or condone use of MSIE or MS Edge. I am seeing this problem in Falkon/Qupzilla 1.8.9, Chromium 66.0.3359.117, and Firefox ESR 52.8.1esr on Devuan GNU/Linux 2.0 (ascii) amd64 for the last few days. Larsnooden (talk) 17:42, 20 June 2018 (UTC)
@Larsnooden: Apologies, I did not mean to insult anyone! Promise :) I am really confused now, though. I was sure the issue was that some browsers (only IE, as far as I know) don't support the Object.values JavaScript function, which was used in some new functionality added 2 days ago. I just added a polyfill for it and I can see that the tool now works in IE. Chromium and Firefox should already support this, though, so I am a bit confused how you encountered the issue... Could you try clearing your cache, and see if it is working? If you're still seeing this problem, could you follow the instructions at w:WP:JSERROR and let me know what errors are in the console? Thank you! MusikAnimal (WMF) (talk) 17:53, 20 June 2018 (UTC)
No worries. :) Today the graph renders fine in Qupzilla but still fails in Chromium and Firefox. Here are the errors from the console in Chromium, sorry for the layout Larsnooden (talk) 05:54, 21 June 2018 (UTC):
Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

application.js:15 Uncaught TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at Object.<anonymous> (application.js:15) at Object.<anonymous> (application.js:2) at u (application.js:2) at Object.fireWith [as resolveWith] (application.js:2) at Object.o.(/pageviews/anonymous function) [as resolve] (https://tools.wmflabs.org/pageviews/application.js:2:5190) at Object.<anonymous> (application.js:16) at u (application.js:2) at Object.fireWith [as rejectWith] (application.js:2) at Object.<anonymous> (application.js:2) at u (application.js:2) at Object.fireWith [as rejectWith] (application.js:2) at i (application.js:3) at HTMLScriptElement.i (application.js:3) at HTMLScriptElement.dispatch (application.js:2) at HTMLScriptElement.m.handle (application.js:2)

@Larsnooden: Thanks! The ERR_BLOCKED_BY_CLIENT sounds like maybe an ad/tracking blocker (such as PrivacyBadger) is blocking the requests. Can you confirm you don't have such an extension turned on? The only requests are to Wikimedia APIs, for the record. Also, you can confirm that in Chromium and Firefox the cache has been cleared? I assume so, because the web inspector should do it for you. If it still isn't working, I have one last favor to ask of you... Try again using our staging application, and let me know what errors you see in the JavaScript console there. The staging app is identical to production except the errors will be more informative. Unfortunately the backtrace you provided above didn't tell me much (not your fault). Thank you so much for helping me debug this issue! MusikAnimal (WMF) (talk) 15:32, 21 June 2018 (UTC)
Thanks. Looking at the staging application in Chromium, it seems that scripts are chained rather than having all the script infested domains listed up front. Has that changed? Once I whitelist all the domains, an activity which now takes several steps, things render again but I did not used to have to do that. Would it be possible to have the page list all the script+domains all at once? Larsnooden (talk) 19:43, 21 June 2018 (UTC)
@Larsnooden: (Sorry for all the pings) I'm not sure I follow. The staging app should be identical to production, only the source code is not minified. The APIs used and the order in which they are used should be the same it has been for quite some time. We wouldn't be able to list all the domains used anyway, because you can change the project at any time which means an API request to a different domain. I recommend whitelisting Pageviews Analysis as a whole. You will (eventually) be able to safely to whitelist all of tools.wmflabs.org, because they will block requests to non-Wikimedia domains (phab:T130748). At any rate, are you able to confirm that with the proper domains whitelisted, the tool works properly in production? That's all I want to hear :) Many thanks again for your help on this. MusikAnimal (WMF) (talk) 19:53, 21 June 2018 (UTC)
Thanks for the patience. In Firefox, even with both domains (wmflabs.org and wikipedia.org) whitelisted, the graph is not rendered. Cat: Error querying Pageviews API - Unknown Dog: Error querying Pageviews API - Unknown Larsnooden (talk) 20:13, 21 June 2018 (UTC)
@Larsnooden: Rats :( I should mention wikimedia.org must also be whitelisted, as that's where the pageviews API is hosted. Could you try disabling privacy badger (or whatever you use) entirely, to see if that's the culprit? Or if you don't mind, try using the staging application again and follow the same directions at w:WP:JSERROR? A blocked request would be indicated by, but not limited to, the ERR_BLOCKED_BY_CLIENT error. I asked another Linux user and they said all was fine in Chromium and Firefox. MusikAnimal (WMF) (talk) 15:46, 22 June 2018 (UTC)
Staging renders properly in Firefox when wikimedia.org is also whitelisted. However, it did not used to show up initially in the choices. However, in Chromium it seems to render whether or not wikimedia.org is actually whitelisted.  ???? Larsnooden (talk) 17:47, 22 June 2018 (UTC)

pageviews not visibal[edit]

Hello, we try hard to get theses pageviews here:


But since two days we get the information: please refresh view or send a report. So we do herewith. The links we are using frequently are these four:

https://tools.wmflabs.org/pageviews/?project=de.wikipedia.org&platform=all-access&agent=user&range=latest-20&pages=Ferri_Abolhassan https://tools.wmflabs.org/pageviews/?project=en.wikipedia.org&platform=all-access&agent=user&range=latest-20&pages=Ferri_Abolhassan https://tools.wmflabs.org/pageviews/?project=de.wikipedia.org&platform=all-access&agent=user&range=latest-20&pages=Timotheus_Höttges https://tools.wmflabs.org/pageviews/?project=en.wikipedia.org&platform=all-access&agent=user&range=latest-20&pages=Timotheus_Höttges

Please give us an advice how to achieve these pageviews. We are using the Internet Explorer and Win365.--80.146.191.149 12:10, 20 June 2018 (UTC)

BR Martin 80.146.191.149 12:10, 20 June 2018 (UTC)

Hello Martin, is the tool working for you now? You may need to clear your cache. MusikAnimal (WMF) (talk) 22:44, 20 June 2018 (UTC)

Aufrufzahlen nicht sichtbar[edit]

Link: https://tools.wmflabs.org/pageviews/?project=de.wikipedia.org&platform=all-access&agent=user&range=latest-90&pages=Konservative_Revolution

Problem: linke Legende nicht sichtbar. 87.139.22.202 06:15, 27 June 2018 (UTC)

Siteviews bug report[edit]

Skinshot.png

Siteviews is not working. Browser = UC Browser, platform = Android. -দিব্য দত্ত (talk) 19:45, 4 July 2018 (UTC)

@দিব্য দত্ত: I tried it in UC Browser on my Android phone and it worked. Is it still broken for you? What if you try a different browser? MusikAnimal (WMF) (talk) 22:47, 5 July 2018 (UTC)

Pageviews bug report[edit]

Unable to view Bante (with accent) results.Kdammers (talk) 13:42, 11 July 2018 (UTC)

@Kdammers: Could you please provide a link? Did you see an error? If so, what did it say? Also, what browser and operating system are you using (example: Chrome 67 on Windows 10)? MusikAnimal (WMF) (talk) 19:09, 11 July 2018 (UTC)

Czech lang[edit]

Hi, I translated Pagewiews Analysis on translatewiki.net to Czech Please add translations! Please ping me! --Patriccck (talk) 15:32, 16 July 2018 (UTC)

Hey, sorry about the long wait! I've deployed the translations :) Regards MusikAnimal (WMF) (talk) 19:15, 17 July 2018 (UTC)