Szablon:Wykres oglądalności: Różnice pomiędzy wersjami

updated from mediawiki
(updated from mediawiki - fixes non-latin digits)
(updated from mediawiki)
// The graph uses PageViews API https://wikitech.wikimedia.org/wiki/Analytics/PageviewAPI
//
// NOTE: There is a URL-encoding limitation in MediaWiki that breaks page titles with quotes and a few more special symbols.
// To fix it, make sure there is a copy of Module:Graph present (copy it as is from de.wikipedia.org/wiki/Module:Graph)
 
"version": 2,
"url": "wikirest://wikimedia.org/api/rest_v1/metrics/pageviews/{{#ifeq: {{{2|}}} | _ | aggregate | per-article }}/{{trim|{{#ifeq: {{{3|{{SERVERNAME}}}}} | www.mediawiki.org | mediawiki.org | {{{3|{{SERVERNAME}}}}} }}}}/{{{platform|all-access}}}/user/{{#ifeq: {{{2|}}} | _
| {{{granularity | monthly}}}
| {{#ifexisturlencode: Module:Graph | {{#invoketitleparts:Graph|encodeTitleForPath| {{{2|{{ARTICLEPAGENAME}}}} }}} | {{urlencode:{{{2|{{ARTICLEPAGENAME}} }}}|PATH}} }}/daily
}}/{{formatnum:{{#time: Ymd | -{{{1|30}}} days }}|R}}00/{{formatnum:{{#time: Ymd }}|R}}00",
"format": {
3057

edycji