Massviews Analysis URL Structure

Example URL for PagePile:
https://pageviews.toolforge.org/massviews?source=pagepile&target=12345
Example URL for a category:
https://pageviews.toolforge.org/massviews?source=category&target=//en.wikipedia.org/wiki/Category:Folk_musicians_from_New_York
To link to Massviews on a category page on your wiki, use:
https://pageviews.toolforge.org/massviews?source=category&target={{urlencode:{{fullurl}}}}

Parameters Can be used in any order


source
One of: pagepile, category, wikilinks, subpages, transclusions, external-link, hashtag, quarry
target
The Page Pile ID, or full URL to a category. If a question mark ? is in the URL, it must be encoded.
For instance, do not use:
https://en.wikipedia.org/w/index.php?title=Category:Folk_musicians_from_New_York
Instead use:
https%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DCategory%3AFolk_musicians_from_New_York
Or you could simply use the shorter wiki URL:
https://en.wikipedia.org/wiki/Category:Folk_musicians_from_New_York
range
A special range to use instead of exact start and end dates. May be one of the following:
  • latest (default) The last 20 days of data
  • latest-N where N is a number. For example latest-30 will show the last 30 days of data
  • current The latest available day
  • this-week This week
  • last-week Last week
  • this-month This month
  • last-month Last month
  • this-year This year
  • last-year Last year
  • all-time All time
start
Start date in the format YYYY-MM-DD.
Omit this parameter and the end parameter to show the most recent data.
end
End date in the format YYYY-MM-DD, defaults to previous day.
platform
One of: all-access (default), desktop, mobile-app, mobile-web
agent
One of user (human viewer, default), spider (search engine crawlers), automated (automated programs), or all-agents (all types)
sort
Which column to sort. One of: title, views
direction
The sort direction. 1 for descending, -1 for ascending
view
list to view the data as a list, or chart to view the data as a chart
subcategories
Sets the "Include all subcategories" option when using categories as the source. Use 1 to enable, or 0 to disable (default).
subjectpage
Sets the "Use subject page instead of talk page" option when using categories as the source. Use 1 to enable, or 0 to disable (default).
project
A valid project for the pages of Quarry results.
mutevalidations
Set to true to disable warnings from being shown when validating the form. Defaults will still be applied to invalid input as they would normally.