Talk:Pageviews Analysis
Pageviews Analysis – Documentation • Feedback forum • Issue tracker • GitHub • translatewiki.net • #wikimedia-cloudconnect
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:
|
||
Bug when accessing multiple pages in dates one of them didn't exist
I hit a bug while accidentally attempting to use the tool for articles that were not created yet in the period defined in the "Dates" field. In particular, I tried to access the stats for article Rui Rocha throughout 2021, while the page was only created in 2022.
If I enter a single page, I get an error saying "Rui Rocha: Error querying Pageviews API - Not Found". This is not really user-friendly (an error like "Page Rui Rocha did not exist in the specified period" would be better), but it's at least minimally informative and not too scary.
But if I enter multiple pages including the one that did not exist in the specified period, I get the message "Fatal error: TypeError: i is undefined" along with a red pop-up saying "Fatal error: Please refresh the page to try again or report this issue".
IMO both issues should be handled more gracefully, but the second one in particular appears to be missing a guard in the code. --Waldyrious (talk) 19:32, 5 February 2024 (UTC)
- I will get this fixed. Thanks for reporting and providing detailed steps to reproduce the issue! :) MusikAnimal (WMF) (talk) 16:20, 14 February 2024 (UTC)
- Restoring this thread which is being archived due to age, but hasn't (AFAICT) been resolved yet. --Waldyrious (talk) 14:43, 18 April 2024 (UTC)
- Apologies. I will tend to this when time allows. MusikAnimal (WMF) (talk) 19:32, 24 May 2024 (UTC)
pageviews.wmcloud.org Issuance restrictions
I suggest introducing the possibility of limiting the length of the response to the request. It often happens that I need only the top 50, and thousands of rows are loaded. The browser hangs. Thank you. Dgho (talk) 14:31, 5 November 2024 (UTC)
- I'm not sure which tool (i.e. Topviews, Massviews) you're referring to, but they have to process all results from the API if we want it sorted by pageviews. Let me know if I'm misunderstand you. Best, MusikAnimal (WMF) (talk) 04:56, 24 December 2024 (UTC)
- Yeah, I understand. It's just that petscan.wmcloud.org has such a setting. Dgho (talk) 10:33, 24 December 2024 (UTC)
Massviews Analysis using incategory, not deepcategory
Is there a way to make Massviews Analysis only scan articles directly in a category? In most cases deepcategory may be more useful but sometimes a lot of off-topic articles are included if articles in subcategory are included. For example, when using en:Category:Environmental non-fiction books a lot of climate change novels show up because of some miscategorization and other category branches are very large where it would be more useful to go through one category at a time. Enabling users to specify depth or to exclude a number of subcategories would also be very useful.
If that's currently not possible, could you please add this incategory scan functionality? Prototyperspective (talk) 12:12, 6 December 2024 (UTC)
- Apparently it's already possible by unchecking "Include all subcategories" when going back to the start page by clicking on "Do another query". I think it would be good if this checkbox was also included in the result page because I used to go to a result page to then change the query and it's also helpful to rerun a query without the subcategories. Specifying the depth and categories to exclude would also be useful. Like on Commons, there is a lot of miscategorization that causes issues such as the Non-fiction books category branch including mostly articles about people and a few films at the top. Prototyperspective (talk) 12:20, 6 December 2024 (UTC)
Please allow pageviews for deleted pages
When a page is moved to a new title and we don't need redirect, we cannot see the pageview statistics for the old title. For example, on w:hu:Magyar Péter (politikus) we would also like to view the statistics for w:hu:Magyar Péter (jogász). Bean49 (talk) 15:33, 7 December 2024 (UTC)
- @Bean49 Usually the "include redirects" option does the job. You can change the tool to always include redirects in your "Settings". Hope this helps, MusikAnimal (WMF) (talk) 05:01, 24 December 2024 (UTC)
Bot views? 1 audio download = 1 play?
This scan suggests one of the files has been played almost 50 000 times within just a few days which seems quite implausible. What's the cause of this? Are bot views maybe not properly excluded?
Moreover, I usually download spoken Wikipedia audios to then load them in my podcast player since there is no proper audio player on Commons itself and the Commons app. Hence, I wondered whether only downloading a file is included in the view counts (I guess as 1 view/play as there doesn't seem to be a separate Downloads stat). Prototyperspective (talk) 12:42, 11 December 2024 (UTC)