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

pageview problem

[edit]

Since 15th of january 2025 the pageviews of Isabelle de Charrière go down with lot of languages. Even below zero! What has changed with these strange results? Boss-well63 (talk) 15:43, 20 January 2025 (UTC)Reply

problem with siteviews & pageview_complete total counts

[edit]

I have been looking at the pageview files this weekend, and found a strange inconsistency in the pageview_complete data. (I have only tested "user", not "automated", and all numbers below are enwiki only)

For the monthly summary files from January 2022 up to June 2024, if I extract the enwiki lines and sum them, I get a result identical to the figures on the siteviews web service, eg 7,781,530,443 for both sources in December 2023.

However, from July 2024 onwards, the counts are different. For example, August 2024 has 7,588,961,893 on siteviews, and 7,565,367,414 in the count I extract from the dump. It is a relatively small discrepancy, but the web interface ones are always slightly larger.

For the daily files, sampling just 10 October, I get the same value for 10/10/22 (244,072,934) and 10/10/23 (257,384,560), but for 10/10/24 the discrepancy shows up again - 244,769,209 in the dump, 246,269,094 on siteviews. So it looks like it's not just the monthly summaries.

Looking at the datestamps on the dumps, it seems that the files for July to December 2024 were reuploaded in January 2025 - presumably this was to fix an error, but I'm wondering if it has caused the two to get out of sync, and if so which is the "correct" one? Andrew Gray (talk) 17:48, 20 January 2025 (UTC)Reply

Still baffled by this but have logged it on phabricator - https://phabricator.wikimedia.org/T384636 Andrew Gray (talk) 18:07, 23 January 2025 (UTC)Reply
@Andrew Gray:
The statistics are in dump, unfiltered, i.e. RAW.
In the API are filtered or "censured".
Each pageview methodology has its pros and cons.
Look both: 2024 – Top pageviews statistics. Dušan Kreheľ (talk) 10:47, 25 January 2025 (UTC)Reply
@Dušan Kreheľ Hmm - I think any filtering would have the opposite effect? It would make the API-based statistics be smaller than the dumps, but they are reporting larger numbers. A bit mysterious! Andrew Gray (talk) 23:33, 25 January 2025 (UTC)Reply
@Andrew Gray: Another: dump is RAW, API is modified.
I don't analyzed your problem. Dušan Kreheľ (talk) 00:20, 26 January 2025 (UTC)Reply

Mediaviews

[edit]

Hey, in the mediaviews the project "en.wikipedia.org" is preselected. That does not make sense. Can you please change the preselection there to "commons.wikimedia.org"? WikiPate (talk) 15:08, 16 April 2025 (UTC)Reply

It uses whatever project you were querying against in the other tool. If you go to Mediaviews directly, it defaults to Commons. But I still agree, we should remove the auto-add-project for links pointing to Mediaviews. MusikAnimal (WMF) (talk) 23:12, 17 April 2025 (UTC)Reply

No encuentro la página

[edit]

Quiero saber las visitas del artículo de "Mario Secco" y no me aparecen 186.141.200.69 12:33, 23 April 2025 (UTC)Reply

You can see them here. Prototyperspective (talk) 18:33, 23 April 2025 (UTC)Reply
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Prototyperspective (talk) 18:34, 23 April 2025 (UTC)Reply

Missing data for some language versions

[edit]

I was using "Langviews" to make a list of films which had at least 10 language versions by the end of the year they were released. If I search for langviews for, e.g. "Onward" (2020 film), selecting time range 2020-01-01 - 2020-12-31 i can see the results for 42 language versions, despite the fact, according to Wikidata, by the end of 2020 there had been already 44 language versions. Ukrainian and Russian pageviews data are missing for that particular movie, in that particular time range. The same thing with "Tenet" (2020 film) but there're missing data for Romanian pageviews. Why Langviews doesn't work accurately? LeoXspm (talk) 15:49, 25 April 2025 (UTC)Reply

Pulling up those examples in the main Pageviews tool, we see it also gives no data (example). This a "Not found" error, which usually means no pageviews. If I include redirects, there are quite a few pageviews. Pageviews are associated with the title, not the page ID, so perhaps some page moves and/or history merges are at fault here. The Langviews tool unfortunately doesn't include redirects, though that's something I'd like to see added eventually. MusikAnimal (WMF) (talk) 04:41, 29 April 2025 (UTC)Reply