Talk:Pageviews Analysis/Archives/2017/3

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Archive This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.

Top 100 most visited articles (Massview)

Hello! Are there any possiblites to create a ranking, for example of the top 100 most visited articles in a category. Because my browser has not enough random access memory to list all the articles and then it crashes. I'm using Chrome 59.0 and Windows 10 --ChemPro (talk) 10:19, 13 July 2017 (UTC)

Sorry to hear that! Indeed, this suite of apps currently operates entirely on the clientside, meaning the more pages you process, the more strain and resources your computer needs to allot. Which category are you referring to? Is it breaking for all categories?
The long-term solution is to move some of the processing to the backend, which should fix your issue. You can follow phab:T157830 for updates. Best, MusikAnimal (WMF) (talk) 03:09, 27 July 2017 (UTC)

Hint

Yes check.svg Resolved.

https://tools.wmflabs.org/pageviews/?project=de.wikipedia.org&platform=all-access&agent=user&start=2016-07&end=2017-06&pages=Rhum_agricole would have to be "90 per month" not "per day". -- 188.109.0.201 08:23, 25 July 2017 (UTC)

Fixed! Thanks for the report, MusikAnimal (WMF) (talk) 03:06, 27 July 2017 (UTC)

Bug with apostrophe in Massviews

Yes check.svg Resolved.

There is a problem with decoding/encoding (maybe?) in the source of Massviews Analysis. You can't use a category with apostrophe as a source. You can avoid this problem if you escape apostrophe with a backslash. For example, ca:Category:Gastronomia de l'Empordà.--KRLS (talk) 08:18, 26 July 2017 (UTC)

@KRLS: This has been fixed! [1] Thank you for the report MusikAnimal (WMF) (talk) 03:04, 27 July 2017 (UTC)

Topviews bug report

The page could not be loaded. Thanks. —The preceding unsigned comment was added by 77.138.61.134 (talk)

Could you provide a link, and also your browser and operating system (e.g. Chrome 59 on Windows 10)? I tried several different projects and the tool worked correctly MusikAnimal (WMF) (talk) 02:41, 27 July 2017 (UTC)

Userviews Analysis stops at the penultimate entry

Looking for my own creations this tool does its job – in most cases. But with colleagues from de.wiktionary.org (for instance Elleff Groom) it stops at the last-but-one entry. Greetings, Peter Gröbner (talk) 08:38, 11 August 2017 (UTC)

Tracked at phab:T173118. I hope to get to this soon! MusikAnimal (WMF) (talk) 17:39, 11 August 2017 (UTC)
Thanks a lot, Peter Gröbner (talk) 06:36, 12 August 2017 (UTC)

Does not work on Wikipidia ina Jumiekan Patwa

Hello! It seems there is no statistic associated with Wikipedia in Jamaican Patois https://jam.wikipedia.org/wiki/Roubaix (https://tools.wmflabs.org/langviews/?project=en.wikipedia.org&platform=all-access&agent=user&range=latest-20&sort=views&direction=1&view=list&page=Roubaix); is there anything to add or to do (I think about wikidata https://www.wikidata.org/wiki/Q34001)? Thank you! Trauenbaum (talk) 20:11, 22 August 2017 (UTC)

Bug report

Hello,

About Pageviews, for a month, I can not see the graphs of statistics. Whatever the type of graph: line, bar, radar

Here is a link : https://tools.wmflabs.org/pageviews/?project=fr.wikipedia.org&platform=all-access&agent=user&range=latest-60&pages=Paris

I have the same configuration on my PC for 3 years: windows 8 + IE 11 (version 11.0.9600.18763). On my second computer, everything works correctly.

Why ?

2A01:CB14:1E0:9900:CA5:8E5F:D4A0:4FA7 09:40, 24 August 2017 (UTC)

Same on en.wikipedia, any page since weeks, under Win7+FirefoxESR52.3.0+UblockOrigin+Noscript w/tools.wmflabs.org whitelisted. Comes up with "Fatal error: Operation timed out. Please refresh the page to try again or report this issue" after 30s. -85.240.218.205 23:08, 27 August 2017 (UTC)
I tried it on Windows 8.1 + IE 11 and Windows 7 + Firefox 52 and it worked fine for me. 2A01:CB14, could you tell me what happens? Do you get the same "Fatal error" that 85.240.218.205 is getting?
85.240.218.205, does it work if you turn off uBlock and NoScript? Does it work on another browser or computer?
Also, if you could both follow these instructions and let me know if you got any JavaScript errors, that would help. Right now I can only guess what went wrong. I don't think it is your browser, at least. MusikAnimal (WMF) (talk) 19:42, 29 August 2017 (UTC)
@MusikAnimal (WMF): I have never seen this remark "Fatal error", nor any other. Description: The graph is reduced to a blue line on the zero line. On vertical-intercept, there's just the line 1 above and strangely the line -1 below. Down the dates are correctly displayed. If I add items in the search bar, then 19 points appear on the blue line of the graph, or 29 points if I choose the option 30 days.... Using Wikipedia:Reporting JavaScript errors, I see sometimes in Console (in French) : script 438 L’objet ne gère pas la propriété ou la méthode « isNaN » Fichier : application.js, ligne : 17, colonne : 25740. 2A01:CB14:1E0:9900:2112:4A52:F7BB:D5ED 09:42, 30 August 2017 (UTC)
@MusikAnimal (WMF): All back to normal now, w/o any action from my side. FYI, the "report this issue" part linked to this here talk page, so I guess it came from wmflabs. -85.240.218.205
@MusikAnimal (WMF): it worked a few hours and then again a blue line..... 2A01:CB14:1E0:9900:6D96:9F6E:B592:6703 08:56, 2 September 2017 (UTC)

Does not work on (French?) WIktionary

Hi, it ssems that this tool does not work on the French Wiktionary (maybe also on the other Wiktionay project as well). For example, I try to use for the page eau, but nothing appears (https://tools.wmflabs.org/pageviews/?project=fr.wiktionary.org&platform=all-access&agent=user&range=latest-20&pages=eau). In the same time, it works here for the page from fr.wikipedia.org. Could you fix this tool in order it works also for the Wiktionary projects? Thanks in advance. Pamputt (talk) 13:50, 2 September 2017 (UTC)

@Pamputt: The link works for me. Could you please share what browser and operating system you're using (such as Chrome 52 on Windows 10)? Also, if you don't mind, please follow the steps at en:w:Wikipedia:Reporting JavaScript errors on how to report JavaScript errors. Thanks MusikAnimal (WMF) (talk) 18:53, 6 September 2017 (UTC)
@MusikAnimal (WMF): hmmm, actually I found what was wrong here. I use Firefox 52.3.0 on Mageia Linux 6 64-bits. The problem came from I use an extension that blocked fr.wiktionary.org. If I allow it, it works well. Sorry for the noise. Pamputt (talk) 19:02, 6 September 2017 (UTC)
No problem! Glad you figured it out MusikAnimal (WMF) (talk) 00:00, 7 September 2017 (UTC)

Pageviews bug report

This is a very minor issue but thought I'd let you know anyway. I viewed Pageviews analysis on an article I created 10 days ago - the 'daily average' figure isn't really correct because it's taking into account the currently visible range (the last 20 days). This would normally be correct but perhaps the tool could take into account if it's a new article and ignore any days previous to its creation date? —The preceding unsigned comment was added by 82.69.87.21 (talk) 14:00, 16 September 2017‎ (UTC)

Supporting multiple languages in Pageviews

Is there a possibility that instead of Pageviews showing one language at a time only, we can use a union of multiple languages? For example, if I want to check the views on the pages in all Indic language wikis combined? )(So in languages, I would add "hi.wikipedia.org,bn.wikipedia.org"

I think it should be relatively not that major to implement. So is it possible?

Cheers, Soni (talk) 06:32, 7 September 2017 (UTC)

@Soni: It's a little more complicated than it seems, mainly from a UI perspective. I can't promise this will happen anytime soon :( However I wanted to make sure you were aware of Langviews. This tool takes a single page and collects the pageviews for the same page across all sister projects. Does that fulfill your needs? MusikAnimal (WMF) (talk) 02:19, 9 September 2017 (UTC)
  • @MusikAnimal (WMF):, yes I am aware of Langviews. But Langviews allows us to analyse a page across different languages, it also does not do so for multiple pages. A sample testcase for what I would like would be "Rajnikanth" vs "Amitabh Bachchan" in Indic languages. Both are pages that will have multiple languages contributing to the overall number of pageviews, and we can compare the two pages properly (in non English languages) only by summing the different languages.
As for the UI perspective, my suggestion was for a cleaner approach for a basic version. If I ask for comparing "Page1" and "Page2" across "en,hi,ar,ml" languages, then just display a similar graph to current one. One graph for a sum of pageviews across all these languages. That will be relatively easy to implement, without requiring UI additions, I believe. Soni (talk) 21:43, 13 September 2017 (UTC)
The issue for me is what to put in the little boxes that are shown in the "Pages" list. You could do "en:Page1", "fr:Page2", which makes it clear which languages we're working with, but not which projects (Wikipedia vs Wikivoyage, etc.). We'd have to have "w:en:Page1", etc., which looks confusing. Additionally, the way the app is built is to update immediately as soon as you change the value of the project input field. Here we'd need to pause and wait for them enter the page before updating, since the pages that are already shown may be for different projects. Also the search won't know which project to autocomplete for when you add/remove pages from the list. Not sure if that makes sense... anyhoo I'll put this on the back burner, but again no promises this will happen soon :/ I've created phab:T175930. Best MusikAnimal (WMF) (talk) 15:57, 14 September 2017 (UTC)

Passing variables by _GET and giving values out of a "human" range. Example: pass to "latest" 250000.

Hi. Taken for example a link like https://tools.wmflabs.org/pageviews/?project=it.wikipedia.org&platform=all-access&agent=user&range=latest-20&pages=Dog%7CCat If you pass a value to "latest" var, out of tolerance for analyisis, eg "250000", page slows terribly down until it breaks showing blank body. Variables on the server-side should be filtered. On the contrary, imho system risks performance issues.

We can enforce that the "latest" value not exceed the max range (since July 1, 2015). I'll look into this MusikAnimal (WMF) (talk) 14:47, 25 September 2017 (UTC)

Error question

Hi there - wondering if anyone can help me. When I did a query for subpages using massviews, I got the following message for several of the pages: "Error querying Pageviews API - Not found." Here is the permalink for the query. We recently moved pages from a namespace to the article namespace. I'm wondering if that might have something to do with the error. Thanks! --EGalvez (WMF) (talk) 17:46, 26 September 2017 (UTC)

@EGalvez (WMF): It looks like maybe you need to update the page to link to the new locations and not to the redirects. This is because redirects are not followed. E.g. instead of linking to Talk:Learning and Evaluation/Learning modules/1Edits link to Talk:Learning and Evaluation/Archive/Learning modules. Note that pageviews are also counted for the redirects themselves. Here you're not getting any numbers probably because the data hasn't populated yet, or not one has actually viewed those redirects yet. There's some more info in the FAQ. Hope this helps! MusikAnimal (WMF) (talk) 21:13, 26 September 2017 (UTC)
@MusikAnimal (WMF): Thanks for that info - that answers my question! --EGalvez (WMF) (talk) 18:31, 29 September 2017 (UTC)