Page MenuHomePhabricator

Add Vega 4 support to MediaWiki
Open, Needs TriagePublic

Description

Handle new Vega 3.0+ graphs. Note that Vega 3.0+ should be loadable in parallel with Vega 2.0, thus it should be possible to have both versions at the same time.

P.S. Now I'm developing with Vega 4.3 because Vega 5 uses async methods in its code and that may lead to incompatible.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 12 2019, 1:38 AM
Yurik added a subscriber: Yurik.May 12 2019, 1:43 AM

@Xiaoyanghaitao if you want to target Vega 5.4.0 initially, you might as well put that version in the subject (or you could just say "latest production version")

Yurik added a subscriber: domoritz.May 12 2019, 1:44 AM

Change 509613 had a related patch set uploaded (by Xiaoyanghaitao; owner: Xiaoyanghaitao):
[mediawiki/extensions/Graph@master] 1. add Vega5 min js to lib/ 2. copy the graph2.js to initialize a graph3.js 3. modify extension.json and package.json 4. ParserTag.php: change version related sections to deal with Vega3+ and VegaLite

https://gerrit.wikimedia.org/r/509613

Xiaoyanghaitao renamed this task from Add Vega 3.0+ support to MediaWiki to Add Vega 5 support to MediaWiki.May 12 2019, 2:44 AM
Xiaoyanghaitao updated the task description. (Show Details)
Xiaoyanghaitao renamed this task from Add Vega 5 support to MediaWiki to Add Vega 4 support to MediaWiki.May 15 2019, 10:19 AM
Xiaoyanghaitao updated the task description. (Show Details)

Vega is already 5.4.0, isn't it?
Besides, graph are no longer working in wikipedias ...

Besides, graph are no longer working in wikipedias ...

If there is some bug somewhere, then please follow https://www.mediawiki.org/wiki/How_to_report_a_bug and provide clear steps to reproduce in a separate task. Thanks.