Jump to content

Help:Converting Graphs

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by GalStar (talk | contribs) at 17:55, 2 July 2025 (Minor changes). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Due to security issues, the Graph Extension is no longer usable across most mediawiki sites. The replacement is the Chart Extension. In the wake of this change, all graphs using the graph extension now look like this:

As of July 2025, 14,604 pages use the graph extension (these are enumerated here Category:Pages using the Graph extension). However due to limitations of the chart extension, not all of them can be ported over. Notably, page view statistics (which are present on many talk pages), and airport data cannot be ported.

Method 1: GraphBot

Simply change the template name from Template:Graph:Chart or whatever is being used to Template:PortGraph. Additionally it is required that the name parameter is present, and there is an optional title parameter. After making this change, the page is added to GraphBot's queue, and will be processed and converted shortly.

Method 2: graphDataImport

First activate the user script on commons and then copy/paste the graph data into the modal while creating the tabular page with the appropriate name (i.e. Internet Usage.tab) this will generate both the chart and tab file after clicking the buttons named "Convert to .tab" and "Convert to .chart".