Szablon:Wykres oglądalności: Różnice pomiędzy wersjami
[wersja przejrzana] | [wersja przejrzana] |
Usunięta treść Dodana treść
copied from mediawiki (please don't delete the documentation->dokumentacja - this way we can keep all these templates in sync by copy/pasting them without any issues |
sync from mw.org, removed hours, always use UTC days (hour=00), might help with phab:T133495 |
||
Linia 16:
{
"name": "pageviews",
"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}}}
| {{urlencode:{{{2|{{ARTICLEPAGENAME}} }}}|PATH}}/daily
}}/{{#time:
"format": {
"type": "json",
|