Line 1: |
Line 1: |
− | <languages/>
| |
| __TOC__ | | __TOC__ |
| | | |
Line 7: |
Line 6: |
| | | |
| | | |
− | Graphs use [<tvar|url1>http://vega.github.io/vega/</> Vega grammar] ([<tvar|url2>https://github.com/vega/vega/wiki</> documentation]) as underlying technology. | + | Graphs use [<tvar|url1>http://vega.github.io/vega/ Vega grammar] ([<tvar|url2>https://github.com/vega/vega/wiki documentation]) as underlying technology. |
| | | |
| | | |
− | Vega team is working on [<tvar|url>http://vega.github.io/</> other tools] to make Graphs easier to use. | + | Vega team is working on [<tvar|url>http://vega.github.io/ other tools] to make Graphs easier to use. |
| | | |
| | | |
− | For interactive graphs [<tvar|url>https://github.com/vega/vega/wiki/Tutorial</> this tutorial] will explain building graphs step by step. | + | For interactive graphs [<tvar|url>https://github.com/vega/vega/wiki/Tutorial this tutorial] will explain building graphs step by step. |
| | | |
| | | |
− | For other graph ideas, see [<tvar|url>http://vega.github.io/vega-editor/?spec=bar</> Vega examples]. | + | For other graph ideas, see [<tvar|url>http://vega.github.io/vega-editor/?spec=bar Vega examples]. |
| | | |
| == Graph templates == | | == Graph templates == |
Line 73: |
Line 72: |
| | | |
| | | |
− | See <tvar|1>{{ll|Template:Graph:PageViews}}</>. | + | See {{ll|Template:Graph:PageViews}}. |
| | | |
| | | |
Line 79: |
Line 78: |
| <pre> | | <pre> |
| {{Template:Graph:PageViews}} | | {{Template:Graph:PageViews}} |
− | {{Template:Graph:PageViews|30|Main Page|en.wikipedia.org}}
| |
| </pre> | | </pre> |
| {{Template:Graph:PageViews}} | | {{Template:Graph:PageViews}} |
− | {{Template:Graph:PageViews|30|Main Page|en.wikipedia.org}}
| + | |
| | | |
| | | |
Line 88: |
Line 86: |
| ''' Current page and en.wikipedia main page for the last 30 days - per type''' | | ''' Current page and en.wikipedia main page for the last 30 days - per type''' |
| {{Extension:Graph/Demo/Pageviews2|mediawiki|{{FULLPAGENAME}}|30}} | | {{Extension:Graph/Demo/Pageviews2|mediawiki|{{FULLPAGENAME}}|30}} |
− | {{Extension:Graph/Demo/Pageviews2|en.wikipedia|Main Page|30}}
| |
− |
| |
| | | |
| == Using MediaWiki API == | | == Using MediaWiki API == |
Line 97: |
Line 93: |
| | | |
| | | |
− | See <tvar|1>{{template|Graph:PageHistory}}</>. | + | See {{template|Graph:PageHistory}}. |
| | | |
| {| | | {| |
| ! Current Page | | ! Current Page |
− | ! [[wikipedia:Albert Einstein|Albert Einstein]] from en.wikipedia.org
| |
| |- | | |- |
| | {{ Graph:PageHistory | width=500 | height=300 }} | | | {{ Graph:PageHistory | width=500 | height=300 }} |
− | | {{ Graph:PageHistory | Albert Einstein | wiki=en.wikipedia.org | width=500 | height=300 }}
| |
| |} | | |} |
| | | |
Line 112: |
Line 106: |
| | | |
| | | |
− | See [[<tvar|1>Special:MyLanguage/Extension:Graph/Demo/CategoryPie</>|graph source code]]. | + | See [[Special:MyLanguage/Extension:Graph/Demo/CategoryPie|graph source code]]. |
| | | |
| {| | | {| |
| ! [[:Category:Extensions by category|Category:'''Extensions by category''']]. | | ! [[:Category:Extensions by category|Category:'''Extensions by category''']]. |
− | ! [[:en:Category:People|Category:'''People''']] from en.wikipedia.org
| |
| |- | | |- |
| | {{Extension:Graph/Demo/CategoryPie|Extensions by category}} | | | {{Extension:Graph/Demo/CategoryPie|Extensions by category}} |
− | | {{Extension:Graph/Demo/CategoryPie|People|en.wikipedia.org}}
| |
| |} | | |} |
− |
| |
| | | |
| == Using Wikidata Query Service API == | | == Using Wikidata Query Service API == |
Line 286: |
Line 277: |
| | | |
| | | |
− | This transcludes the page <tvar|1>[[Extension:Graph/Demo/Map]]</>. | + | This transcludes the page [[Extension:Graph/Demo/Map]]. |
| | | |
| | | |
Line 457: |
Line 448: |
| | | |
| | | |
− | [[Category:Extension:Graph{{#translation:}}|Demo]] | + | [[Category:Extension:Graph|Demo]] |