Page MenuHomePhabricator

Implement basic parser tag/function
Closed, ResolvedPublic3 Estimated Story Points

Description

Build a basic implementation of a <chart> tag or {{#chart:}} parser function (based on the outcome of T368350).

  • Accepts a chart type, parameters and data using the syntax decided in T368350
  • Fetches the data (if needed)
  • Shells out to the CLI script (see T369681), passing it the chart type, parameters and resolved data
  • Renders the resulting SVG on the page

Event Timeline

LGoto triaged this task as High priority.Jul 15 2024, 5:56 PM
LGoto set the point value for this task to 3.
LGoto moved this task from Needs Triage to Sprint 2 on the Charts board.
LGoto edited projects, added Charts (Sprint 2); removed Charts.
LGoto moved this task from Incoming to Blocked on the Charts (Sprint 2) board.

Change #1054672 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/extensions/Chart@master] Set up skeleton for parser function

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

Change #1054672 merged by jenkins-bot:

[mediawiki/extensions/Chart@master] Set up skeleton for parser function

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

Change #1058257 had a related patch set uploaded (by Bvibber; author: Bvibber):

[mediawiki/extensions/Chart@master] Provisional JsonConfig and ParserFunction

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

Change #1058257 merged by jenkins-bot:

[mediawiki/extensions/Chart@master] Provisional JsonConfig and ParserFunction

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

Change #1059173 had a related patch set uploaded (by Catrope; author: Catrope):

[mediawiki/extensions/Chart@master] ParserFunction: Track dependencies

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

Change #1059173 merged by jenkins-bot:

[mediawiki/extensions/Chart@master] ParserFunction: Track dependencies

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