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

updated from mediawiki
(sync from mw.org, removed hours, always use UTC days (hour=00), might help with phab:T133495)
(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}}}
| {{#ifexist: Module:Graph | {{#invoke:Graph|encodeTitleForPath|{{{2|{{ARTICLEPAGENAME}}}}}}} | {{urlencode:{{{2|{{ARTICLEPAGENAME}} }}}|PATH}} }}/daily
}}/{{#time: Ymd | -{{{1|30}}} days }}00/{{#time: Ymd }}00",
"format": {
3057

edycji