Jump to content

Talk:Pageviews Analysis

Add topic
From Meta, a Wikimedia project coordination wiki
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

Bug when accessing multiple pages in dates one of them didn't exist

[edit]

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)Reply

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)Reply
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)Reply
Apologies. I will tend to this when time allows. MusikAnimal (WMF) (talk) 19:32, 24 May 2024 (UTC)Reply
DoNotArchiveUntil 19:31, 24 May 2025 (UTC)Reply

[bug report] Page views for some pages are obviously incorrect

[edit]

For example, the number of edits of this page(俄罗斯入侵乌克兰) are more than 500 times in the last year, but displayed only 1 Edits on Pageviews Analysis.

Suteru (talk) 01:59, 8 May 2024 (UTC)Reply

oh, I've known why is it. when I search "俄羅斯入侵烏克蘭" for traditional Chinese, the numbers are all right. it's separately counted. Suteru (talk) 06:53, 8 May 2024 (UTC)Reply

mobile percent on pageviews without going through topviews

[edit]

currently theres no way to have a breakdown between mobile views vs desktop views on the "pageviews" tool. it would be nice to both have the option to specify in the options menu to split query between mobile and desktop, as well as having them individually. it would be nice to also have it split further (i.e. browser type) but im unsure if thats outside of the scope the data has Bejuazun (talk) 05:58, 26 May 2024 (UTC)Reply

Top most viewed Wikipedias

[edit]

How can I get a list of top most viewed Wikipedias for the last month? Perohanych (talk) 12:18, 3 July 2024 (UTC)Reply

@Perohanych: Is it a one-time request or should it be done more than once? Dušan Kreheľ (talk) 12:45, 6 July 2024 (UTC)Reply
@Dušan Kreheľ: It could be great to get the list every month, or at least once a year. I use it for the Ukrainian Wikipedia monthly newsletter WikiGerald, see, for example uk:Вікіпедія:Віківісник/2024-06 --Perohanych (talk) 12:24, 7 July 2024 (UTC)Reply
@Dušan Kreheľ: I would also appreciate it if a one-time current list is made. --Perohanych (talk) 09:13, 10 July 2024 (UTC)Reply
@Perohanych: The month 2024-06: https://paste42.de/112278.txt (Source: https://wikimedia.org/api/rest_v1/) Dušan Kreheľ (talk) 04:17, 11 July 2024 (UTC)Reply
@Dušan Kreheľ Thank you very much! A great present for my birthday! :) --Perohanych (talk) 05:30, 11 July 2024 (UTC)Reply

Most viewed articles of a category with >20 000 articles

[edit]

Hello, Is it possible to get the most viewed articles of a category (especially from https://fr.wikipedia.org/wiki/Cat%C3%A9gorie:Portail:Politique_fran%C3%A7aise/Articles_li%C3%A9s) composed of more than 20.000 articles? Alternatively, if this is easier to do, would it be possible to see the 20.000 most viewed articles of the category? Thanks in advance! Prfjulien (talk) 12:31, 14 July 2024 (UTC)Reply

The time interval? Dušan Kreheľ (talk) 21:19, 14 July 2024 (UTC)Reply
During the last 30 days would be perfect! Prfjulien (talk) 07:54, 15 July 2024 (UTC)Reply
Even better would be all time (or at least in the last two years)... Prfjulien (talk) 08:04, 15 July 2024 (UTC)Reply
@Prfjulien: https://drive.google.com/file/d/1mDum1Ps_Z3ATaI7Xa82RBtaVJ-lGrQfj/ https://drive.google.com/file/d/1tbpc8fp-p47v4QNy_lBYrmbvr3qPkDn5/ Dušan Kreheľ (talk) 22:03, 15 July 2024 (UTC), --Dušan Kreheľ (talk) 08:03, 17 July 2024 (UTC)Reply
@Dušan Kreheľ: I want to see, that file is private though. Bluerasberry (talk) 17:31, 16 July 2024 (UTC)Reply
@Bluerasberry: I re-upload the new version (big error – another sorted as in the commentary): https://drive.google.com/file/d/1tbpc8fp-p47v4QNy_lBYrmbvr3qPkDn5/view?usp=drive_link (The file is public). Dušan Kreheľ (talk) 19:00, 16 July 2024 (UTC)Reply