CINXE.COM
Massviews Analysis – URL Structure
<!DOCTYPE html> <html> <head> <script type="text/javascript"> //<![CDATA[ i18nLang = "en"; i18nRtl = ""; appPath = "https://pageviews.wmcloud.org"; currentApp = "massviews"; //]]> </script> <meta charset="utf-8"> <meta content="yes" name="apple-mobile-web-app-capable"> <meta content="black-translucent" name="apple-mobile-web-app-status-bar-style"> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" name="viewport"> <link rel="shortcut icon" sizes="16x16 32x32 48x48 96x96" href="/images/favicon.ico?v=3"> <script src="/massviews/application-b87b693d9d.js"></script> <script src="/ad_block_test.js"></script> <link href="/massviews/application-7286d337f9.css" rel="stylesheet"> <script type="text/javascript"> //<![CDATA[ // language selector $(document).ready(function() { $('.lang-link').on('click', function(e) { e.preventDefault(); var expiryGMT = moment().add(30, 'days').toDate().toGMTString(); document.cookie = 'TsIntuition_userlang=' + $(e.target).data('lang') + '; expires=' + expiryGMT + '; path=/'; var expiryUnix = Math.floor(Date.now() / 1000) + (30 * 24 * 60 * 60); document.cookie = 'TsIntuition_expiry=' + expiryUnix + '; expires=' + expiryGMT + '; path=/'; location.reload(); }); }); //]]> </script> <title> Massviews Analysis – URL Structure </title> </head> <body class=""> <nav class="top-nav navbar"> <button class="navbar-toggle collapsed pull-left" data-toggle="collapse" data-target=".interapp-navigation" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div class="pull-right nav-buttons"> <div class="btn-group dropdown help-btn-group"> <button class="btn btn-default btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="glyphicon glyphicon-question-sign"></span> Help <span class="caret"></span> </button> <ul class="dropdown-menu dropdown-menu-right"> <li> <a href="/massviews/faq"> FAQ </a> </li> <li> <a href="/massviews/url_structure"> URL Structure </a> </li> <li> <a href="https://meta.wikimedia.org/wiki/Pageviews_Analysis"> Documentation </a> </li> <li class="divider" role="separator"></li> <li> <a href="https://meta.wikimedia.org/wiki/Talk:Pageviews_Analysis"> Report an issue </a> </li> </ul> </div> <div class="btn-group dropdown lang-group"> <button class="btn btn-default btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <path d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path> </svg> English <span class="caret"></span> </button> <ul class="dropdown-menu dropdown-menu-right"> <li> <a href="https://translatewiki.net/w/i.php?title=Special:MessageGroupStats&group=out-pageviews"> Help translate </a> </li> <li class="divider" role="separator"></li> <li> <a class="lang-link" href="#" data-lang="sms"></a> </li> <li> <a class="lang-link" href="#" data-lang="af">Afrikaans</a> </li> <li> <a class="lang-link" href="#" data-lang="az">Azərbaycanca</a> </li> <li> <a class="lang-link" href="#" data-lang="id">Bahasa Indonesia</a> </li> <li> <a class="lang-link" href="#" data-lang="ms">Bahasa Melayu</a> </li> <li> <a class="lang-link" href="#" data-lang="ban">Basa Bali</a> </li> <li> <a class="lang-link" href="#" data-lang="bs">Bosanski</a> </li> <li> <a class="lang-link" href="#" data-lang="br">Brezhoneg</a> </li> <li> <a class="lang-link" href="#" data-lang="ca">Català</a> </li> <li> <a class="lang-link" href="#" data-lang="cy">Cymraeg</a> </li> <li> <a class="lang-link" href="#" data-lang="da">Dansk</a> </li> <li> <a class="lang-link" href="#" data-lang="de">Deutsch</a> </li> <li> <a class="lang-link" href="#" data-lang="en">English</a> </li> <li> <a class="lang-link" href="#" data-lang="es">Español</a> </li> <li> <a class="lang-link" href="#" data-lang="eo">Esperanto</a> </li> <li> <a class="lang-link" href="#" data-lang="eu">Euskara</a> </li> <li> <a class="lang-link" href="#" data-lang="fr">Français</a> </li> <li> <a class="lang-link" href="#" data-lang="gl">Galego</a> </li> <li> <a class="lang-link" href="#" data-lang="hr">Hrvatski</a> </li> <li> <a class="lang-link" href="#" data-lang="ia">Interlingua</a> </li> <li> <a class="lang-link" href="#" data-lang="it">Italiano</a> </li> <li> <a class="lang-link" href="#" data-lang="sw">Kiswahili</a> </li> <li> <a class="lang-link" href="#" data-lang="ku-latn">Kurdî (latînî)</a> </li> <li> <a class="lang-link" href="#" data-lang="lv">Latviešu</a> </li> <li> <a class="lang-link" href="#" data-lang="lt">Lietuvių</a> </li> <li> <a class="lang-link" href="#" data-lang="lmo">Lumbaart</a> </li> <li> <a class="lang-link" href="#" data-lang="lb">Lëtzebuergesch</a> </li> <li> <a class="lang-link" href="#" data-lang="hu">Magyar</a> </li> <li> <a class="lang-link" href="#" data-lang="fit">Meänkieli</a> </li> <li> <a class="lang-link" href="#" data-lang="mi">Māori</a> </li> <li> <a class="lang-link" href="#" data-lang="nl">Nederlands</a> </li> <li> <a class="lang-link" href="#" data-lang="nb">Norsk bokmål</a> </li> <li> <a class="lang-link" href="#" data-lang="oc">Occitan</a> </li> <li> <a class="lang-link" href="#" data-lang="uz">Oʻzbekcha/ўзбекча</a> </li> <li> <a class="lang-link" href="#" data-lang="pcd">Picard</a> </li> <li> <a class="lang-link" href="#" data-lang="pl">Polski</a> </li> <li> <a class="lang-link" href="#" data-lang="pt">Português</a> </li> <li> <a class="lang-link" href="#" data-lang="pt-br">Português do Brasil</a> </li> <li> <a class="lang-link" href="#" data-lang="ksh">Ripoarisch</a> </li> <li> <a class="lang-link" href="#" data-lang="ro">Română</a> </li> <li> <a class="lang-link" href="#" data-lang="sk">Slovenčina</a> </li> <li> <a class="lang-link" href="#" data-lang="sl">Slovenščina</a> </li> <li> <a class="lang-link" href="#" data-lang="sh">Srpskohrvatski / српскохрватски</a> </li> <li> <a class="lang-link" href="#" data-lang="fi">Suomi</a> </li> <li> <a class="lang-link" href="#" data-lang="sv">Svenska</a> </li> <li> <a class="lang-link" href="#" data-lang="kab">Taqbaylit</a> </li> <li> <a class="lang-link" href="#" data-lang="vi">Tiếng Việt</a> </li> <li> <a class="lang-link" href="#" data-lang="tr">Türkçe</a> </li> <li> <a class="lang-link" href="#" data-lang="diq">Zazaki</a> </li> <li> <a class="lang-link" href="#" data-lang="ang">Ænglisc</a> </li> <li> <a class="lang-link" href="#" data-lang="cs">čeština</a> </li> <li> <a class="lang-link" href="#" data-lang="el">Ελληνικά</a> </li> <li> <a class="lang-link" href="#" data-lang="ba">башҡортса</a> </li> <li> <a class="lang-link" href="#" data-lang="be">беларуская</a> </li> <li> <a class="lang-link" href="#" data-lang="be-tarask">беларуская (тарашкевіца)</a> </li> <li> <a class="lang-link" href="#" data-lang="bg">български</a> </li> <li> <a class="lang-link" href="#" data-lang="mk">македонски</a> </li> <li> <a class="lang-link" href="#" data-lang="mn">монгол</a> </li> <li> <a class="lang-link" href="#" data-lang="ce">нохчийн</a> </li> <li> <a class="lang-link" href="#" data-lang="ru">русский</a> </li> <li> <a class="lang-link" href="#" data-lang="sr-ec">српски (ћирилица)</a> </li> <li> <a class="lang-link" href="#" data-lang="tt-cyrl">татарча</a> </li> <li> <a class="lang-link" href="#" data-lang="tg-cyrl">тоҷикӣ</a> </li> <li> <a class="lang-link" href="#" data-lang="uk">українська</a> </li> <li> <a class="lang-link" href="#" data-lang="kk-cyrl">қазақша (кирил)</a> </li> <li> <a class="lang-link" href="#" data-lang="hy">Հայերեն</a> </li> <li> <a class="lang-link" href="#" data-lang="yi">ייִדיש</a> </li> <li> <a class="lang-link" href="#" data-lang="he">עברית</a> </li> <li> <a class="lang-link" href="#" data-lang="ur">اردو</a> </li> <li> <a class="lang-link" href="#" data-lang="ar">العربية</a> </li> <li> <a class="lang-link" href="#" data-lang="azb">تۆرکجه</a> </li> <li> <a class="lang-link" href="#" data-lang="bgn">روچ کپتین بلوچی</a> </li> <li> <a class="lang-link" href="#" data-lang="skr-arab">سرائیکی</a> </li> <li> <a class="lang-link" href="#" data-lang="sd">سنڌي</a> </li> <li> <a class="lang-link" href="#" data-lang="fa">فارسی</a> </li> <li> <a class="lang-link" href="#" data-lang="pnb">پنجابی</a> </li> <li> <a class="lang-link" href="#" data-lang="ps">پښتو</a> </li> <li> <a class="lang-link" href="#" data-lang="ckb">کوردی</a> </li> <li> <a class="lang-link" href="#" data-lang="ne">नेपाली</a> </li> <li> <a class="lang-link" href="#" data-lang="hi">हिन्दी</a> </li> <li> <a class="lang-link" href="#" data-lang="as">অসমীয়া</a> </li> <li> <a class="lang-link" href="#" data-lang="bn">বাংলা</a> </li> <li> <a class="lang-link" href="#" data-lang="mni">মেইতেই লোন্</a> </li> <li> <a class="lang-link" href="#" data-lang="ta">தமிழ்</a> </li> <li> <a class="lang-link" href="#" data-lang="te">తెలుగు</a> </li> <li> <a class="lang-link" href="#" data-lang="ml">മലയാളം</a> </li> <li> <a class="lang-link" href="#" data-lang="th">ไทย</a> </li> <li> <a class="lang-link" href="#" data-lang="mnw">ဘာသာ မန်</a> </li> <li> <a class="lang-link" href="#" data-lang="my">မြန်မာဘာသာ</a> </li> <li> <a class="lang-link" href="#" data-lang="ka">ქართული</a> </li> <li> <a class="lang-link" href="#" data-lang="ti">ትግርኛ</a> </li> <li> <a class="lang-link" href="#" data-lang="km">ភាសាខ្មែរ</a> </li> <li> <a class="lang-link" href="#" data-lang="zh-hans">中文(简体)</a> </li> <li> <a class="lang-link" href="#" data-lang="zh-hant">中文(繁體)</a> </li> <li> <a class="lang-link" href="#" data-lang="ja">日本語</a> </li> <li> <a class="lang-link" href="#" data-lang="yue">粵語</a> </li> <li> <a class="lang-link" href="#" data-lang="ko">한국어</a> </li> </ul> </div> </div> <div class="navbar-collapse collapse interapp-navigation"> <a class="home-link pull-left" href="/"></a> <ol class="interapp-links nav navbar-nav navbar-left"> <li class="interapp-links--entry" role="presentation"> <a class="interapp-link interapp-link--pageviews" href="/pageviews"> Pageviews </a> </li> <li class="interapp-links--entry" role="presentation"> <a class="interapp-link interapp-link--langviews" href="/langviews"> Langviews </a> </li> <li class="interapp-links--entry" role="presentation"> <a class="interapp-link interapp-link--topviews" href="/topviews"> Topviews </a> </li> <li class="interapp-links--entry" role="presentation"> <a class="interapp-link interapp-link--siteviews" href="/siteviews"> Siteviews </a> </li> <li class="interapp-links--entry active" role="presentation"> <a class="interapp-link interapp-link--massviews" href="/massviews"> Massviews </a> </li> <li class="interapp-links--entry" role="presentation"> <a class="interapp-link interapp-link--redirectviews" href="/redirectviews"> Redirect Views </a> </li> <li class="interapp-links--entry" role="presentation"> <a class="interapp-link interapp-link--userviews" href="/userviews"> Userviews </a> </li> <li class="interapp-links--entry" role="presentation"> <a class="interapp-link interapp-link--mediaviews" href="/mediaviews"> Mediaviews </a> </li> <li class="interapp-links--more dropdown hidden"> <a class="interapp-link dropdown-toggle" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> More <span class="caret"></span> </a> <ul class="dropdown-menu"></ul> </li> </ol> </div> </nav> <div class="container"> <header class="col-lg-12 text-center"> <h4> <strong> Massviews Analysis </strong> <small class="app-description"> URL Structure </small> </h4> </header> <main class="col-lg-10 col-lg-offset-1"> <div> Example URL for PagePile: <pre dir='ltr' class='url-structure-example'>https://pageviews.toolforge.org/massviews?source=pagepile&target=12345</pre> Example URL for a category: <pre dir='ltr' class='url-structure-example'>https://pageviews.toolforge.org/massviews?source=category&target=//en.wikipedia.org/wiki/Category:Folk_musicians_from_New_York</pre> To link to Massviews on a category page on your wiki, use: <pre dir='ltr' class='url-structure-example'>https://pageviews.toolforge.org/massviews?source=category&target={{urlencode:{{fullurl}}}}</pre> </div> <div> <h3> Parameters <small>Can be used in any order</small> </h3> <hr> <dl class="dl-horizontal"> <dt>source</dt> <dd> One of: <code>pagepile</code>, <code>category</code>, <code>wikilinks</code>, <code>subpages</code>, <code>transclusions</code>, <code>external-link</code>, <code>hashtag</code>, <code>quarry</code> </dd> <dt>target</dt> <dd> The Page Pile ID, or full URL to a category. If a question mark <code>?</code> is in the URL, it <strong>must be encoded</strong>. <br> For instance, <strong>do not use</strong>: <pre>https://en.wikipedia.org/w/index.php?title=Category:Folk_musicians_from_New_York</pre> Instead use: <pre>https%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DCategory%3AFolk_musicians_from_New_York</pre> Or you could simply use the shorter wiki URL: <pre>https://en.wikipedia.org/wiki/Category:Folk_musicians_from_New_York</pre> </dd> <dt>range</dt> <dd> A special range to use instead of exact <code>start</code> and <code>end</code> dates. May be one of the following: <ul class="special-ranges"> <li> <code>latest</code> (default) The last 20 days of data </li> <li> <code>latest-<i>N</i></code> where <i>N</i> is a number. For example <code>latest-30</code> will show the last 30 days of data </li> <li> <code>current</code> The latest available day </li> <li> <code>this-week</code> This week </li> <li> <code>last-week</code> Last week </li> <li> <code>this-month</code> This month </li> <li> <code>last-month</code> Last month </li> <li> <code>this-year</code> This year </li> <li> <code>last-year</code> Last year </li> <li> <code>all-time</code> All time </li> </ul> </dd> <dt>start</dt> <dd> Start date in the format <code>YYYY-MM-DD</code>.<br/>Omit this parameter and the <code>end</code> parameter to show the most recent data. </dd> <dt>end</dt> <dd> End date in the format <code>YYYY-MM-DD</code>, defaults to previous day. </dd> <dt>platform</dt> <dd> One of: <code>all-access</code> (default), <code>desktop</code>, <code>mobile-app</code>, <code>mobile-web</code></dd> <dt>agent</dt> <dd> One of <code>user</code> (human viewer, default), <code>spider</code> (search engine crawlers), <code>automated</code> (automated programs), or <code>all-agents</code> (all types)</dd> <dt>sort</dt> <dd> Which column to sort. One of: <code>title</code>, <code>views</code> </dd> <dt>direction</dt> <dd> The sort direction. <code>1</code> for descending, <code>-1</code> for ascending </dd> <dt>view</dt> <dd> <code>list</code> to view the data as a list, or <code>chart</code> to view the data as a chart </dd> <dt>subcategories</dt> <dd> Sets the "Include all subcategories" option when using categories as the source. Use <code>1</code> to enable, or <code>0</code> to disable (default). </dd> <dt>subjectpage</dt> <dd> Sets the "<a href='/massviews/faq#category_subject_toggle'>Use subject page instead of talk page</a>" option when using categories as the source. Use <code>1</code> to enable, or <code>0</code> to disable (default). </dd> <dt>project</dt> <dd> A valid <a href='https://meta.wikimedia.org/w/api.php?action=sitematrix&formatversion=2'>project</a> for the pages of Quarry results. </dd> <dt>mutevalidations</dt> <dd> Set to <code>true</code> to disable warnings from being shown when validating the form. Defaults will still be applied to invalid input as they would normally.</dd> </dl> </div> <div class="col-lg-12 text-center tm"> <a href="/massviews"> Return to Massviews Analysis </a> </div> </main> <div id="ad_blocker_notice" style="display:none"> <div class="alert alert-danger alert-dismissable"> <button class="close" type="button" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true"> × </span> </button> <div class="text-center"> <strong>It looks like you're using an ad blocker!</strong> <br> Pageviews Analysis does not show any ads, but your ad blocker may prevent some metrics from being shown because they contain the word 'pageview'. <br> If the tool is not working properly, please disable the ad blocker for <b>pageviews.toolforge.org</b> </div> </div> </div> <div class="spacer"></div> <footer> <hr> <span> Brought to you by <a href='https://en.wikipedia.org/wiki/User:MusikAnimal'>MusikAnimal</a>, <a href='https://en.wikipedia.org/wiki/User:Kaldari'>Kaldari</a>, and <a href='https://en.wikipedia.org/wiki/User:Mforns_(WMF)'>Marcel Ruiz Forns</a>. </span> <div> <span class="nowrap"> Hosted with <span class='heart'>♥</span> on <a href='https://wikitech.wikimedia.org/wiki/Portal:Tool_Labs'>Toolforge</a>. </span> <span class="nowrap"> Translations powered by <a href='https://translatewiki.net/'>translatewiki.net</a>, <a href='https://github.com/wikimedia/jquery.i18n'>jQuery.i18n</a> and <a href='https://intuition.toolforge.org#tab-about'>Intuition</a>. </span> </div> <div> <a href="/massviews/faq">FAQ</a> · <a href="/massviews/url_structure">URL Structure</a> · <a href="https://github.com/MusikAnimal/pageviews">View source</a> · <a href="https://meta.wikimedia.org/wiki/Talk:Pageviews_Analysis">Report an issue</a> </div> </footer> <script type="text/javascript"> //<![CDATA[ if ( !window.noAdBlockers ) { var noticeContent = document.getElementById('ad_blocker_notice'); document.querySelector('.site-header').innerHTML = noticeContent.innerHTML + document.querySelector('.site-header').innerHTML; } //]]> </script> </div> </body> </html>