Steps to replicate the issue (include links if applicable):
- When I click the 'Permanent link' button at the top right of the chart/graph in Wikimedia Statistics to copy a link to that page,
What happens?:
it will give a date range that is too broad (2 months instead of one by adding an extra month on to the end) leading to:
- displaying a different month other than the one displayed at time of copying
or
- error message that says 'loading' but it never loads
or
- no noticeable error for some charts that are of a long enough time series (though no noticeable benefit either)
What should have happened instead?:
- it should give a date range in the link that is exactly for the month displayed
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Extra month added at end
https://stats.wikimedia.org/#/en.wikinews.org/reading/total-page-views/normal|bar|2020-04-01~2026-11-01|agent~user|monthly
should be
https://stats.wikimedia.org/#/en.wikinews.org/reading/total-page-views/normal|bar|2020-04-01~2026-10-01|agent~user|monthly
Extra month at end but displays a month early (August instead of September)
https://stats.wikimedia.org/#/en.wikinews.org/reading/page-views-by-country/normal|table|2026-09-01~2026-11-01|(access)~desktop*mobile-app*mobile-web|monthly
should be
https://stats.wikimedia.org/#/en.wikinews.org/reading/page-views-by-country/normal|table|2026-09-01~2026-10-01|(access)~desktop*mobile-app*mobile-web|monthly