Jump to content

User:SPage (WMF)/Graph test

From mediawiki.org

C.f. Extension:Graph/Demo. If I just have a static JSON file for the graph tag like /Demo graph json, can I pull it in with transclusion?

Yes!

<graph>{{/Demo graph json}}</graph> works:


But the wiki doesn't know it's JSON, hmm I could try /Demo graph.json or File:Spage demo graph.json.